seahorse/seahorse.spec

75 lines
2.9 KiB
RPMSpec
Raw Normal View History

2020-06-19 17:18:53 +08:00
Name: seahorse
2023-08-25 14:42:40 +08:00
Version: 43.0
Release: 1
2020-06-19 17:06:41 +08:00
Summary: A GNOME application for managing encryption keys
License: GPLv2+ and LGPLv2+
URL: https://wiki.gnome.org/Apps/Seahorse
2023-08-25 14:42:40 +08:00
Source: https://download.gnome.org/sources/%{name}/43/%{name}-%{version}.tar.xz
# https://github.com/GNOME/seahorse/commit/9260c74779be3d7a378db0671af862ffa3573d42
Patch0: Allow-building-with-GnuPG-2.4.x.patch
2020-06-19 17:06:41 +08:00
BuildRequires: pkgconfig(avahi-client) pkgconfig(avahi-glib) pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gck-1) pkgconfig(gcr-3) pkgconfig(gtk+-3.0)
2023-08-25 14:42:40 +08:00
BuildRequires: pkgconfig(libsecret-unstable) pkgconfig(libsoup-3.0) desktop-file-utils gettext
2020-06-19 17:06:41 +08:00
BuildRequires: gpgme-devel >= 1.0 gnupg2 itstool libSM-devel meson openldap-devel
BuildRequires: openssh-clients vala /usr/bin/appstream-util
2022-04-08 10:10:41 +08:00
BuildRequires: pkgconfig(libhandy-1) pkgconfig(pwquality) docbook-style-xsl
2023-08-25 14:42:40 +08:00
BuildRequires: /usr/bin/xsltproc
2020-06-19 17:06:41 +08:00
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
2022-04-08 10:10:41 +08:00
%meson -Dmanpage=true
2020-06-19 17:06:41 +08:00
%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
2022-04-08 10:10:41 +08:00
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.seahorse.Application.desktop
2020-06-19 17:06:41 +08:00
%files -f seahorse.lang
%license COPYING*
2023-08-25 14:42:40 +08:00
%doc NEWS README.md
2020-06-19 17:06:41 +08:00
%{_bindir}/*
%{_libexecdir}/seahorse/
%{_datadir}/applications/*.desktop
2022-04-08 10:10:41 +08:00
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.seahorse.Application.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.seahorse.Application-symbolic.svg
2020-06-19 17:06:41 +08:00
%{_datadir}/dbus-1/services/org.gnome.seahorse.Application.service
%{_datadir}/{glib-2.0/schemas/*.gschema.xml,metainfo/*.appdata.xml}
2022-04-08 10:10:41 +08:00
%dir %{_datadir}/gnome-shell/
%dir %{_datadir}/gnome-shell/search-providers/
2020-06-19 17:06:41 +08:00
%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini
%{_datadir}/seahorse/
%{_mandir}/man1/*.1*
%changelog
2023-08-25 14:42:40 +08:00
* Fri Aug 25 2023 yaoxin <yao_xin001@hoperun.com> - 43.0-1
- Update to 43.0
* Thu Jul 20 2023 yaoxin <yao_xin001@hoperun.com> - 41.0-2
- Fix build error caused by gnupg2 update to 2.4.3
2022-04-08 10:10:41 +08:00
* Fri Apr 8 2022 yaoxin <yaoxin30@huawei.com> - 41.0-1
- Resolve compilation failures
* Wed Jul 29 2020 lingsheng <lingsheng@huawei.com> - 3.30.1.1-3
- fix build fail: gkr use 0 on empty flags
2020-06-19 17:06:41 +08:00
* Wed May 13 2020 yanan li <liyanan032@huawei.com> - 3.30.1.1-2
- Package init