Package init

This commit is contained in:
lyn1001 2020-06-19 17:06:41 +08:00
parent ef41f00431
commit 4ce7fd0427
3 changed files with 58 additions and 0 deletions

BIN
seahorse-3.30.1.1.tar.xz Normal file

Binary file not shown.

54
seahorse.spec Normal file
View File

@ -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 <liyanan032@huawei.com> - 3.30.1.1-2
- Package init

4
seahorse.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: Seahorse
tag_prefix: ^
seperator: .