%define name seahorse-plugins %define version 2.30.1 %define release %mkrel 1 %define epiphany 2.26 %define build_epiphany 0 Name: %{name} Summary: Plugins and utilities for encryption in GNOME Version: %{version} Release: %{release} License: GPLv2+ and GFDL Group: Graphical desktop/GNOME URL: http://seahorse.sourceforge.net/ Source: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 #gw from Fedora, start seahorse-agent from xinit Source1: seahorse-agent.sh BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: libseahorse-devel BuildRequires: libgpgme-devel BuildRequires: libgnome-keyring-devel BuildRequires: evolution-data-server-devel BuildRequires: gnome-panel-devel BuildRequires: gedit-devel BuildRequires: libnautilus-devel BuildRequires: gnome-doc-utils BuildRequires: intltool BuildRequires: gnome-common Requires: seahorse >= 2.23.5 Requires(post): scrollkeeper shared-mime-info Requires(postun):scrollkeeper shared-mime-info %description Seahorse is a GNOME2 frontend for the GNU Privacy Guard ecryption tool. It can be used for file encryption and decryption and for digitally signing files and for verifying those signatures. Key management options are also included. %if %build_epiphany %package -n seahorse-epiphany Group: Networking/WWW Summary: Seahorse GnuPG plugin for Epiphany Requires: %name = %version Requires: epiphany >= %epiphany BuildRequires: epiphany-devel >= %epiphany %description -n seahorse-epiphany Seahorse is a GNOME2 frontend for the GNU Privacy Guard ecryption tool. It can be used for file encryption and decryption and for digitally signing files and for verifying those signatures. This package integrates Seahorse with the Epiphany web browser. %endif %prep %setup -q %build export CPPFLAGS="$CPPFLAGS -DLIBCRYPTUI_API_SUBJECT_TO_CHANGE" %configure2_5x --enable-fast-install --disable-update-mime-database %make %install rm -rf $RPM_BUILD_ROOT seahorse*.lang GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std _ENABLE_SK=false rm -f %buildroot%_libdir/{gedit-2/plugins/libseahorse-pgp.a,nautilus/extensions-2.0/*.a} %{find_lang} %name --with-gnome %{find_lang} seahorse-applet --with-gnome cat seahorse-applet.lang >> %name.lang for omf in %buildroot%_datadir/omf/*/*[-_]??.omf;do echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%buildroot!!)" >> %name.lang done # gw conflict with seahorse rm -f %buildroot%_datadir/icons/hicolor/48x48/apps/seahorse.png rm -f %buildroot%_datadir/icons/hicolor/48x48/apps/seahorse-preferences.png mkdir -p $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/ install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/seahorse-agent.sh %post %if %mdkversion < 200900 %{update_menus} %endif %define schemas seahorse-plugins seahorse-gedit %if %mdkversion < 200900 %post_install_gconf_schemas %schemas %update_desktop_database %update_icon_cache hicolor %update_scrollkeeper %update_mime_database %endif %preun %preun_uninstall_gconf_schemas %schemas %if %mdkversion < 200900 %postun %{clean_menus} %clean_desktop_database %clean_icon_cache hicolor %clean_scrollkeeper %clean_mime_database %endif %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root,0755) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %_sysconfdir/X11/xinit.d/seahorse-agent.sh %{_sysconfdir}/gconf/schemas/seahorse-plugins.schemas %{_sysconfdir}/gconf/schemas/seahorse-gedit.schemas %_bindir/seahorse-agent %_bindir/seahorse-preferences %_bindir/seahorse-tool %_libdir/bonobo/servers/GNOME_SeahorseApplet.server %_libdir/gedit-2/plugins/libseahorse-pgp.* %_libdir/gedit-2/plugins/seahorse-pgp.gedit-plugin %_libdir/nautilus/extensions-2.0/libnautilus-seahorse.* %_libexecdir/seahorse/seahorse-applet %_datadir/applications/seahorse-pgp* %_datadir/gnome-2.0/ui/GNOME_SeahorseApplet.xml %_datadir/mime/packages/seahorse.xml %_datadir/%name %_mandir/man1/* %_datadir/pixmaps/* %dir %{_datadir}/omf/seahorse-plugins/ %dir %{_datadir}/omf/seahorse-applet/ %{_datadir}/omf/seahorse-applet/seahorse-applet-C.omf %{_datadir}/omf/seahorse-plugins/seahorse-plugins-C.omf %_datadir/icons/hicolor/*/apps/* %if %build_epiphany %files -n seahorse-epiphany %defattr(-,root,root,0755) %_libdir/epiphany/%epiphany/extensions/* %endif %changelog * Tue Apr 27 2010 Götz Waschk <waschk@mandriva.org> 2.30.1-1mdv2010.1 + Revision: 539453 - update to new version 2.30.1 * Wed Mar 31 2010 Götz Waschk <waschk@mandriva.org> 2.30.0-1mdv2010.1 + Revision: 530216 - update to new version 2.30.0 * Mon Feb 22 2010 Götz Waschk <waschk@mandriva.org> 2.29.91-1mdv2010.1 + Revision: 509424 - update to new version 2.29.91 * Tue Feb 09 2010 Götz Waschk <waschk@mandriva.org> 2.29.90-1mdv2010.1 + Revision: 502601 - new version - update build deps * Wed Dec 09 2009 Götz Waschk <waschk@mandriva.org> 2.29.3-1mdv2010.1 + Revision: 475385 - update to new version 2.29.3 * Thu Oct 22 2009 Frederic Crozat <fcrozat@mandriva.com> 2.28.1-1mdv2010.0 + Revision: 458669 - Release 2.28.1 * Wed Sep 23 2009 Götz Waschk <waschk@mandriva.org> 2.28.0-1mdv2010.0 + Revision: 447692 - update to new version 2.28.0 - disable epiphany extension, webkit builds are currently not supported * Mon May 11 2009 Götz Waschk <waschk@mandriva.org> 2.27.1-1mdv2010.0 + Revision: 374168 - new version * Tue Apr 14 2009 Götz Waschk <waschk@mandriva.org> 2.26.1-1mdv2009.1 + Revision: 366934 - update to new version 2.26.1 * Tue Mar 31 2009 Götz Waschk <waschk@mandriva.org> 2.26.0-2mdv2009.1 + Revision: 363055 - fix omf file list * Mon Mar 16 2009 Götz Waschk <waschk@mandriva.org> 2.26.0-1mdv2009.1 + Revision: 356260 - update to new version 2.26.0 * Mon Mar 16 2009 Götz Waschk <waschk@mandriva.org> 2.25.92-2mdv2009.1 + Revision: 355639 - update for new epiphany * Tue Mar 03 2009 Götz Waschk <waschk@mandriva.org> 2.25.92-1mdv2009.1 + Revision: 348066 - new version - drop patch * Tue Feb 03 2009 Götz Waschk <waschk@mandriva.org> 2.25.90-1mdv2009.1 + Revision: 337021 - new version * Sat Jan 24 2009 Götz Waschk <waschk@mandriva.org> 2.25.3-2mdv2009.1 + Revision: 333255 - patch for new epiphany * Sat Dec 20 2008 Götz Waschk <waschk@mandriva.org> 2.25.3-1mdv2009.1 + Revision: 316405 - new version * Tue Nov 25 2008 Götz Waschk <waschk@mandriva.org> 2.25.1-3mdv2009.1 + Revision: 306597 - rebuild - update agent script (bug #31482) * Tue Nov 04 2008 Götz Waschk <waschk@mandriva.org> 2.25.1-1mdv2009.1 + Revision: 299927 - update to new version 2.25.1 * Sun Oct 19 2008 Götz Waschk <waschk@mandriva.org> 2.24.1-1mdv2009.1 + Revision: 295221 - new version - update file list * Tue Sep 23 2008 Götz Waschk <waschk@mandriva.org> 2.24.0-3mdv2009.0 + Revision: 287377 - rebuild for broken build system - new epiphany * Sun Sep 21 2008 Götz Waschk <waschk@mandriva.org> 2.24.0-1mdv2009.0 + Revision: 286290 - new version * Mon Sep 08 2008 Götz Waschk <waschk@mandriva.org> 2.23.92-1mdv2009.0 + Revision: 282461 - new version * Thu Sep 04 2008 Götz Waschk <waschk@mandriva.org> 2.23.91-2mdv2009.0 + Revision: 280407 - autostart seahorse-agent * Wed Sep 03 2008 Götz Waschk <waschk@mandriva.org> 2.23.91-1mdv2009.0 + Revision: 279833 - new version - drop patches * Wed Aug 20 2008 Götz Waschk <waschk@mandriva.org> 2.23.6-2mdv2009.0 + Revision: 274139 - resolve conflict with seahorse * Wed Aug 13 2008 Götz Waschk <waschk@mandriva.org> 2.23.6-1mdv2009.0 + Revision: 271319 - import seahorse-plugins