2007-01-15 23:36:33 +00:00
#
2011-02-02 00:50:08 +00:00
# spec file for package seahorse
2007-01-15 23:36:33 +00:00
#
2012-01-17 15:54:18 +00:00
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-15 23:36:33 +00:00
#
2008-08-16 00:43:09 +00: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-15 23:36:33 +00:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-03-21 09:11:02 +00:00
2007-01-15 23:36:33 +00:00
Name : seahorse
2012-11-14 15:45:29 +00:00
Version : 3.6.3
2011-12-21 05:03:14 +00:00
Release : 0
2011-04-26 13:43:53 +00:00
Summary : GNOME interface for gnupg
2011-12-21 05:03:14 +00:00
License : GPL-2.0+
Group : Productivity/Security
2011-09-19 08:53:05 +00:00
Url : http://projects.gnome.org/seahorse/
2012-09-25 20:37:32 +00:00
Source : http://download.gnome.org/sources/seahorse/3.6/%{name} -%{version} .tar.xz
2013-02-20 08:32:50 +00: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 21:51:14 +00:00
BuildRequires : fdupes
BuildRequires : gpg2
BuildRequires : gpgme-devel
BuildRequires : intltool
BuildRequires : openldap2-devel
BuildRequires : openssh
2009-03-12 14:30:19 +00:00
BuildRequires : translation-update-upstream
2009-02-12 21:51:14 +00:00
BuildRequires : update-desktop-files
2012-09-21 19:26:23 +00:00
BuildRequires : yelp-tools
2011-07-25 22:12:19 +00:00
BuildRequires : pkgconfig(avahi-client)
BuildRequires : pkgconfig(avahi-glib)
2012-02-08 12:20:09 +00:00
BuildRequires : pkgconfig(gck-1) >= 3.3.4
BuildRequires : pkgconfig(gcr-3) >= 3.3.4
2011-07-25 22:12:19 +00:00
BuildRequires : pkgconfig(gio-2.0)
BuildRequires : pkgconfig(gtk+-3.0)
2012-09-07 15:25:59 +00:00
BuildRequires : pkgconfig(libsecret-unstable) >= 0.5
2011-07-25 22:12:19 +00:00
BuildRequires : pkgconfig(libsoup-2.4)
2011-02-13 21:19:56 +00:00
Recommends: %{name} -lang
2011-07-25 22:12:19 +00:00
Obsoletes : %{name} -devel < %{version}
2011-10-17 14:14:25 +00:00
# We dropped seahorse-plugins in 12.1
Obsoletes : seahorse-plugins <= 2.30.1.git.20110502
2007-01-15 23:36:33 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2011-09-02 16:12:12 +00:00
%glib2_gsettings_schema_requires
2007-04-02 00:11:42 +00:00
2007-01-15 23:36:33 +00:00
%description
2011-04-26 13:43:53 +00:00
Seahorse is a GNOME interface for gnupg. It uses gpgme as the backend.
2007-01-15 23:36:33 +00:00
2007-08-09 19:21:06 +00:00
%lang_package
2007-01-15 23:36:33 +00:00
%prep
2011-05-27 14:49:11 +00:00
%setup -q
2009-03-12 14:30:19 +00:00
translation-update-upstream
2013-02-20 08:32:50 +00:00
%patch0 -p1
2007-01-15 23:36:33 +00:00
%build
2011-07-25 22:12:19 +00:00
%configure \
2011-09-02 16:12:12 +00:00
--disable-scrollkeeper
2011-04-26 13:43:53 +00:00
make %{?jobs:-j%jobs} V=1
2007-01-15 23:36:33 +00:00
%install
2009-02-08 02:45:28 +00:00
%makeinstall
2009-12-24 15:26:55 +00:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-02-08 02:45:28 +00:00
%{__rm} -f %{buildroot} %{_libdir} /*.*a
2012-09-07 15:25:59 +00:00
%suse_update_desktop_file %{name}
2011-02-13 21:19:56 +00:00
%find_lang %{name} %{?no_lang_C}
2007-08-09 19:21:06 +00:00
%fdupes $RPM_BUILD_ROOT
2007-02-05 00:23:54 +00:00
2007-01-15 23:36:33 +00:00
%post
2011-09-02 16:12:12 +00:00
%glib2_gsettings_schema_post
2011-02-13 21:19:56 +00:00
%desktop_database_post
%icon_theme_cache_post
2007-01-15 23:36:33 +00:00
%postun
2011-09-02 16:12:12 +00:00
%glib2_gsettings_schema_postun
2011-02-13 21:19:56 +00:00
%desktop_database_postun
%icon_theme_cache_postun
2007-01-15 23:36:33 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
2011-09-02 16:12:12 +00:00
%files
2007-01-15 23:36:33 +00:00
%defattr (-,root,root)
2009-05-20 20:55:37 +00:00
%doc AUTHORS ChangeLog ChangeLog.pre-auto NEWS README
2012-09-21 19:26:23 +00:00
%doc %{_datadir} /help/C/%{name} /
2011-07-25 22:12:19 +00:00
%{_bindir} /seahorse
%{_libdir} /seahorse/
%{_datadir} /applications/seahorse.desktop
2011-09-02 16:12:12 +00: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-25 22:12:19 +00:00
%{_datadir} /icons/hicolor/*/*/seahorse.png
%{_datadir} /icons/hicolor/*/*/seahorse-preferences.png
%{_datadir} /seahorse/
%{_mandir} /man1/seahorse.1.*
2007-01-15 23:36:33 +00:00
2007-08-09 19:21:06 +00:00
%files lang -f %{name}.lang
2007-04-02 00:11:42 +00:00
%changelog