diff --git a/seahorse-3.30.1.1.tar.xz b/seahorse-3.30.1.1.tar.xz new file mode 100644 index 0000000..ca2f5ef Binary files /dev/null and b/seahorse-3.30.1.1.tar.xz differ diff --git a/seahorse.spec b/seahorse.spec new file mode 100644 index 0000000..60fad7c --- /dev/null +++ b/seahorse.spec @@ -0,0 +1,54 @@ +Name: seahorse +Version: 3.30.1.1 +Release: 2 +Summary: A GNOME application for managing encryption keys +License: GPLv2+ and LGPLv2+ +URL: https://wiki.gnome.org/Apps/Seahorse +Source: https://download.gnome.org/sources/seahorse/3.30/seahorse-%{version}.tar.xz +BuildRequires: pkgconfig(avahi-client) pkgconfig(avahi-glib) pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gck-1) pkgconfig(gcr-3) pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libsecret-unstable) pkgconfig(libsoup-2.4) desktop-file-utils gettext +BuildRequires: gpgme-devel >= 1.0 gnupg2 itstool libSM-devel meson openldap-devel +BuildRequires: openssh-clients vala /usr/bin/appstream-util +Requires: pinentry-gui +Obsoletes: seahorse-devel < 3.1.4-2 +Obsoletes: seahorse-plugins < 2.91.6-0.8 +Obsoletes: seahorse < 3.1.4 +%description +Seahorse is a graphical interface for managing and using encryption keys. Currently it supports +PGP keys (using GPG/GPGME) and SSH keys. Its goal is to provide an easy to use Key Management Tool, +along with an easy to use interface for encryption operations. + +%prep +%autosetup -n seahorse-%{version} -p1 + +%build +%meson +%meson_build +find . -type f -name "*.c" -exec chmod a-x {} ';' + +%install +%meson_install +%find_lang seahorse --with-gnome --all-name + +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml +desktop-file-validate %{buildroot}/%{_datadir}/applications/seahorse.desktop + +%files -f seahorse.lang +%license COPYING* +%{_bindir}/* +%{_libexecdir}/seahorse/ +%{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/apps/{seahorse.png,seahorse-preferences.png} +%{_datadir}/icons/hicolor/symbolic/apps/seahorse-symbolic.svg +%{_datadir}/dbus-1/services/org.gnome.seahorse.Application.service +%{_datadir}/{glib-2.0/schemas/*.gschema.xml,metainfo/*.appdata.xml} +%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini +%{_datadir}/seahorse/ +%{_mandir}/man1/*.1* +%exclude %{_datadir}/icons/hicolor/icon-theme.cache + +%changelog +* Wed May 13 2020 yanan li - 3.30.1.1-2 +- Package init diff --git a/seahorse.yaml b/seahorse.yaml new file mode 100644 index 0000000..73f32b7 --- /dev/null +++ b/seahorse.yaml @@ -0,0 +1,4 @@ +version_control: gitlab.gnome +src_repo: Seahorse +tag_prefix: ^ +seperator: .