New specfile

This commit is contained in:
Dmitriy Shishkov 2023-11-13 04:17:17 +03:00
parent 375feac8a0
commit 34e297592a
Signed by: dm1sh
GPG Key ID: 027994B0AA357688

View File

@ -1,38 +1,35 @@
Name: gnome-pass-search-provider Name: gnome-pass-search-provider
Version: 1.3.2 Version: 1.3.2
Release: 1 Release: %autorelease
License: GPL-3.0+ Summary: Gnome Shell search provider for zx2c4/pass
Summary: Gnome Shell search provider for zx2c4/pass License: GPL-3.0+
Url: https://github.com/jle64/gnome-pass-search-provider Url: https://git.dm1sh.ru/dm1sh/%{name}
Source: https://github.com/jle64/%{name}/archive/master.tar.gz Source0: https://git.dm1sh.ru/dm1sh/%{name}/archive/%{name}-%{version}.tar.gz
Requires: gnome-shell Requires: gnome-shell
Requires: pass Requires: pass
Requires: python3-gobject Requires: python3-gobject
Requires: python3-dbus Requires: python3-dbus
Requires: python3-fuzzywuzzy Requires: python3-fuzzywuzzy
Requires: python3-Levenshtein Requires: python3-Levenshtein
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global debug_package %{nil}
%description %description
A Gnome Shell passwords search provider for zx2c4/pass (passwordstore.org) or compatibles and Bitwarden/Vaultwarden that sends passwords to clipboard (or GPaste). A Gnome Shell passwords search provider for zx2c4/pass (passwordstore.org) or compatibles and Bitwarden/Vaultwarden that sends passwords to clipboard (or GPaste).
%prep %prep
%setup -q -n %{name}-%{version} %autosetup
%build %build
%install %install
sed -i -e 's|DATADIR=|DATADIR=$RPM_BUILD_ROOT|' install.sh sed -i -e 's|DATADIR=|DATADIR=$RPM_BUILD_ROOT|' install.sh
sed -i -e 's|LIBDIR=|LIBDIR=$RPM_BUILD_ROOT|' install.sh sed -i -e 's|LIBDIR=|LIBDIR=$RPM_BUILD_ROOT|' install.sh
./install.sh ./install.sh
%files %files
%defattr(-,root,root,-)
%doc README.md %doc README.md
%license LICENSE
%{_prefix}/lib/gnome-pass-search-provider/gnome-pass-search-provider.py %{_prefix}/lib/gnome-pass-search-provider/gnome-pass-search-provider.py
%{_prefix}/lib/systemd/user/org.gnome.Pass.SearchProvider.service %{_prefix}/lib/systemd/user/org.gnome.Pass.SearchProvider.service
%{_prefix}/share/dbus-1/services/org.gnome.Pass.SearchProvider.service %{_prefix}/share/dbus-1/services/org.gnome.Pass.SearchProvider.service
%{_prefix}/share/applications/org.gnome.Pass.SearchProvider.desktop %{_prefix}/share/applications/org.gnome.Pass.SearchProvider.desktop
%{_prefix}/share/gnome-shell/search-providers/org.gnome.Pass.SearchProvider.ini %{_prefix}/share/gnome-shell/search-providers/org.gnome.Pass.SearchProvider.ini
%changelog
%autochangelog