Compare commits
No commits in common. "master" and "1.3.2" have entirely different histories.
@ -1,3 +0,0 @@
|
|||||||
the .tito/packages directory contains metadata files
|
|
||||||
named after their packages. Each file has the latest tagged
|
|
||||||
version and the project's relative directory.
|
|
@ -1 +0,0 @@
|
|||||||
1.3.2-1 ./
|
|
@ -1,5 +0,0 @@
|
|||||||
[buildconfig]
|
|
||||||
builder = tito.builder.Builder
|
|
||||||
tagger = tito.tagger.VersionTagger
|
|
||||||
changelog_do_not_remove_cherrypick = 0
|
|
||||||
changelog_format = %s (%ae)
|
|
@ -157,14 +157,14 @@ class SearchPassService(dbus.service.Object):
|
|||||||
path = path_join(dir_path, filename)[:-4]
|
path = path_join(dir_path, filename)[:-4]
|
||||||
password_list.append(path)
|
password_list.append(path)
|
||||||
|
|
||||||
results = list(sorted(filter(lambda p: p.startswith(name), password_list)))[:5]
|
results = list(filter(lambda p: p.startswith(name), password_list))[:5]
|
||||||
|
|
||||||
remaining = 5 - len(results)
|
remaining = 5 - len(results)
|
||||||
|
|
||||||
if remaining > 0:
|
if remaining > 0:
|
||||||
containing_results = list(
|
containing_results = list(filter(lambda p: name in p, password_list))[
|
||||||
sorted(filter(lambda p: name in p, password_list))
|
:remaining
|
||||||
)[:remaining]
|
]
|
||||||
|
|
||||||
results.extend(containing_results)
|
results.extend(containing_results)
|
||||||
|
|
||||||
|
@ -1,23 +1,25 @@
|
|||||||
Name: gnome-pass-search-provider
|
Name: gnome-pass-search-provider
|
||||||
Version: 1.3.3
|
Version: 1.3.2
|
||||||
Release: %autorelease
|
Release: 1
|
||||||
Summary: Gnome Shell search provider for zx2c4/pass
|
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Url: https://git.dm1sh.ru/dm1sh/%{name}
|
Summary: Gnome Shell search provider for zx2c4/pass
|
||||||
Source0: https://git.dm1sh.ru/dm1sh/%{name}/archive/%{version}.tar.gz
|
Url: https://github.com/jle64/gnome-pass-search-provider
|
||||||
|
Source: https://github.com/jle64/%{name}/archive/master.tar.gz
|
||||||
Requires: gnome-shell
|
Requires: gnome-shell
|
||||||
Requires: (pass or gopass)
|
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
|
||||||
%autosetup -n %{name}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -27,13 +29,10 @@ 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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user