2007-01-16 00:36:33 +01:00
#
2011-02-02 01:50:08 +01:00
# spec file for package seahorse
2007-01-16 00:36:33 +01:00
#
2013-03-13 23:44:27 +01:00
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-16 00:36:33 +01:00
#
2008-08-16 02:43:09 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2007-01-16 00:36:33 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-03-21 10:11:02 +01:00
2007-01-16 00:36:33 +01:00
Name : seahorse
2013-04-19 11:32:21 +02:00
Version : 3.8.1
2011-12-21 06:03:14 +01:00
Release : 0
2011-04-26 15:43:53 +02:00
Summary : GNOME interface for gnupg
2011-12-21 06:03:14 +01:00
License : GPL-2.0+
Group : Productivity/Security
2011-09-19 10:53:05 +02:00
Url : http://projects.gnome.org/seahorse/
2013-03-25 17:24:20 +01:00
Source : http://download.gnome.org/sources/seahorse/3.8/%{name} -%{version} .tar.xz
2013-02-20 09:32:50 +01:00
# PATCH-FIX-OPENSUSE bnc#804181 bgo#659834 mike.catanzaro@gmail.com -- Remove help buttons that point to nowhere, submitted but not yet reviewed upstream
Patch0 : seahorse-remove-bad-help-buttons.patch
2009-02-12 22:51:14 +01:00
BuildRequires : fdupes
BuildRequires : gpg2
BuildRequires : gpgme-devel
BuildRequires : intltool
BuildRequires : openldap2-devel
BuildRequires : openssh
2009-03-12 15:30:19 +01:00
BuildRequires : translation-update-upstream
2009-02-12 22:51:14 +01:00
BuildRequires : update-desktop-files
2012-09-21 21:26:23 +02:00
BuildRequires : yelp-tools
2011-07-26 00:12:19 +02:00
BuildRequires : pkgconfig(avahi-client)
BuildRequires : pkgconfig(avahi-glib)
2012-02-08 13:20:09 +01:00
BuildRequires : pkgconfig(gck-1) >= 3.3.4
BuildRequires : pkgconfig(gcr-3) >= 3.3.4
2011-07-26 00:12:19 +02:00
BuildRequires : pkgconfig(gio-2.0)
BuildRequires : pkgconfig(gtk+-3.0)
2012-09-07 17:25:59 +02:00
BuildRequires : pkgconfig(libsecret-unstable) >= 0.5
2013-03-13 23:44:27 +01:00
BuildRequires : pkgconfig(libsoup-2.4) >= 2.24.0
2011-02-13 22:19:56 +01:00
Recommends: %{name} -lang
2011-07-26 00:12:19 +02:00
Obsoletes : %{name} -devel < %{version}
2011-10-17 16:14:25 +02:00
# We dropped seahorse-plugins in 12.1
Obsoletes : seahorse-plugins <= 2.30.1.git.20110502
2007-01-16 00:36:33 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2011-09-02 18:12:12 +02:00
%glib2_gsettings_schema_requires
2007-04-02 02:11:42 +02:00
2007-01-16 00:36:33 +01:00
%description
2011-04-26 15:43:53 +02:00
Seahorse is a GNOME interface for gnupg. It uses gpgme as the backend.
2007-01-16 00:36:33 +01:00
2007-08-09 21:21:06 +02:00
%lang_package
2007-01-16 00:36:33 +01:00
%prep
2011-05-27 16:49:11 +02:00
%setup -q
2009-03-12 15:30:19 +01:00
translation-update-upstream
2013-02-20 09:32:50 +01:00
%patch0 -p1
2007-01-16 00:36:33 +01:00
%build
2011-07-26 00:12:19 +02:00
%configure \
2011-09-02 18:12:12 +02:00
--disable-scrollkeeper
2011-04-26 15:43:53 +02:00
make %{?jobs:-j%jobs} V=1
2007-01-16 00:36:33 +01:00
%install
2009-02-08 03:45:28 +01:00
%makeinstall
2009-12-24 16:26:55 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-02-08 03:45:28 +01:00
%{__rm} -f %{buildroot} %{_libdir} /*.*a
2012-09-07 17:25:59 +02:00
%suse_update_desktop_file %{name}
2011-02-13 22:19:56 +01:00
%find_lang %{name} %{?no_lang_C}
2007-08-09 21:21:06 +02:00
%fdupes $RPM_BUILD_ROOT
2007-02-05 01:23:54 +01:00
2007-01-16 00:36:33 +01:00
%post
2011-09-02 18:12:12 +02:00
%glib2_gsettings_schema_post
2011-02-13 22:19:56 +01:00
%desktop_database_post
%icon_theme_cache_post
2007-01-16 00:36:33 +01:00
%postun
2011-09-02 18:12:12 +02:00
%glib2_gsettings_schema_postun
2011-02-13 22:19:56 +01:00
%desktop_database_postun
%icon_theme_cache_postun
2007-01-16 00:36:33 +01:00
%clean
rm -rf $RPM_BUILD_ROOT
2011-09-02 18:12:12 +02:00
%files
2007-01-16 00:36:33 +01:00
%defattr (-,root,root)
2009-05-20 22:55:37 +02:00
%doc AUTHORS ChangeLog ChangeLog.pre-auto NEWS README
2012-09-21 21:26:23 +02:00
%doc %{_datadir} /help/C/%{name} /
2011-07-26 00:12:19 +02:00
%{_bindir} /seahorse
%{_libdir} /seahorse/
%{_datadir} /applications/seahorse.desktop
2011-09-02 18:12:12 +02:00
%{_datadir} /GConf/gsettings/org.gnome.seahorse.convert
%{_datadir} /GConf/gsettings/org.gnome.seahorse.manager.convert
%{_datadir} /glib-2.0/schemas/org.gnome.seahorse.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.seahorse.manager.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.seahorse.window.gschema.xml
2011-07-26 00:12:19 +02:00
%{_datadir} /icons/hicolor/*/*/seahorse.png
%{_datadir} /icons/hicolor/*/*/seahorse-preferences.png
%{_datadir} /seahorse/
%{_mandir} /man1/seahorse.1.*
2007-01-16 00:36:33 +01:00
2007-08-09 21:21:06 +02:00
%files lang -f %{name}.lang
2007-04-02 02:11:42 +02:00
%changelog