seahorse/seahorse.spec

314 lines
11 KiB
RPMSpec

#
# spec file for package seahorse (Version 2.21.92)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: seahorse
BuildRequires: fdupes gnome-doc-utils-devel gnome-themes gnome-vfs2-devel gpg2 gpgme-devel intltool libavahi-glib-devel libglade2-devel libgnomeprintui-devel libgpg-error-devel libsoup-devel libwnck-devel nautilus-devel openldap2-devel openssh perl-XML-Parser update-desktop-files
License: GPL v2 or later
Group: System/GUI/GNOME
AutoReqProv: on
PreReq: gconf2
Version: 2.21.92
Release: 1
Requires: %{name}-lang = %{version}
Summary: GNOME2 interface for gnupg
Source: ftp://ftp.gnome.org/pub/gnome/sources/seahorse/%{name}-%{version}.tar.bz2
# Patch0: %{name}-gpgme-version.patch
Patch0: seahorse-strncat.patch
Patch1: seahorse-xsltproc-nonet.patch
Url: http://seahorse.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
Seahorse is a gnome2 interface for gnupg. It uses gpgme as the backend.
Authors:
--------
Jacob Perkins <jap1@users.sourceforge.net>
Jose Carlos Garcia Sogo <jsogo@users.sourceforge.net>
Jean Schurger <jk24@users.sourceforge.net>
Nate Nielsen <nielsen@memberwebs.com>
Adam Schreiber <sadam@clemson.edu>
%package devel
Summary: GNOME2 interface for gnupg
Group: System/GUI/GNOME
Requires: %{name} = %{version}-%{release}
Requires: gconf2-devel
%description devel
Seahorse is a gnome2 interface for gnupg. It uses gpgme as the backend.
Authors:
--------
Jacob Perkins <jap1@users.sourceforge.net>
Jose Carlos Garcia Sogo <jsogo@users.sourceforge.net>
Jean Schurger <jk24@users.sourceforge.net>
Nate Nielsen <nielsen@memberwebs.com>
Adam Schreiber <sadam@clemson.edu>
%lang_package
%prep
%setup
%patch0
%patch1 -p1
%build
%{?suse_update_config:%{suse_update_config -f}}
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -DWITH_SSH"
%configure \
--with-ssh \
--disable-gedit
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make -i install DESTDIR=$RPM_BUILD_ROOT
# remove the stuff we don't want...
rm -rf $RPM_BUILD_ROOT/var/%_lib/scrollkeeper
# ...everywhere.
rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib*.*a
rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.*a
( cd ${RPM_BUILD_ROOT}/%{_datadir}/mime/ && rm -rf XMLnamespaces globs mime application magic )
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%suse_update_desktop_file %{name} Security -G "Passwords and Encryption Keys" -N "Seahorse"
%suse_update_desktop_file %{name}-pgp-preferences Security
%suse_update_desktop_file %{name}-pgp-signature Security
%suse_update_desktop_file %{name}-pgp-keys Security
%suse_update_desktop_file %{name}-pgp-encrypted Security
# Hack to work around check for installed icons in .desktop files
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/pixmaps
cp %{_prefix}/share/icons/HighContrastLargePrint/48x48/mimetypes/gnome-mime-application-pgp-keys.png \
$RPM_BUILD_ROOT%{_prefix}/share/pixmaps/gnome-mime-application-pgp-keys.png
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%post
/sbin/ldconfig
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null
fi
%postun
/sbin/ldconfig
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README
%defattr (-, root, root)
%{_prefix}/bin/*
%dir %{_libdir}/seahorse
%{_libdir}/*.so*
%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.so
%{_libdir}/seahorse/*
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.gnome.seahorse.service
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/man/man1/*.1.gz
%dir %{_datadir}/omf/seahorse
%{_datadir}/omf/seahorse/*.omf
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/*.svg
%dir %{_datadir}/pixmaps/seahorse
%dir %{_datadir}/pixmaps/seahorse/22x22
%dir %{_datadir}/pixmaps/seahorse/48x48
%dir %{_datadir}/pixmaps/seahorse/scalable
%{_datadir}/pixmaps/seahorse/*/*.png
%{_datadir}/pixmaps/seahorse/*/*.svg
%{_datadir}/seahorse
%{_datadir}/mime/packages/seahorse.xml
%files lang -f %{name}.lang
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/libcryptui
%{_includedir}/libcryptui/*.h
%changelog
* Wed Mar 05 2008 maw@suse.de
- Update to version 2.21.92:
+ Documentation updates
+ Translation fixes.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.91:
+ Adapt to new Epiphany API.
* Tue Jan 29 2008 maw@suse.de
- Update to version 2.21.90:
+ Remove options that screw with gpg.conf on seahorse-agent
startup, since this was unsafe and naive
+ Update libsoup optional dependency to depend on 2.4.x
+ Add icon for the gedit plugin
+ Don't add extra dot to encrypted or compressed files
+ Fix build problems with nautilus 2.21.x and later
+ Install nautilus extension to correct directory
+ Support better dropping of text keys onto main window.
* Thu Jan 10 2008 maw@suse.de
- Update to 2.21.4:
+ Remove ssh proxy since gnome-keyring now has a proper ssh agent
+ Don't hardcode epiphany extensions directories
+ Improved gnome-keyring integration
+ UI and HIG improvements
+ Disable automatic key uploading/retrieval by default
+ Minor fixes
- Remove seahorse-desktop.patch because it has been upstreamed
- Actually remove seahorse-gpgme-version.patch
- Add seahorse-strncat.patch and seahorse-xsltproc-nonet.patch.
* Fri Dec 14 2007 jpr@suse.de
- Update to 2.20.1
* Fix selection of archive names when encrypting.
* Now works with Gedit 2.20
* Other UI and code fixes
- Remove upstreamed patch seahourse-abuild-warnings.patch
- Annotate seahourse-desktop.patch
* Wed Dec 05 2007 maw@suse.de
- Don't require openldap2 to build.
* Wed Nov 21 2007 maw@suse.de
- Rename abuild.patch to seahorse-abuild-warnings.patch
- That patch now fixes more questionable code.
* Thu Oct 11 2007 sbrabec@suse.cz
- Use correct binding specific avahi package instead of
mDNSResponder.
* Wed Sep 19 2007 maw@suse.de
- Respin abuild.patch based on feedback from a seahorse maintainer
(thanks, Adam)
- Run %%suse_update_desktop_file against more .desktop files.
* Tue Sep 18 2007 maw@suse.de
- Update to version 2.20.0:
+ The large version bump is due to the seahorse project
synchronizing its version numbers with those of much of the
rest of the GNOME project
+ Hide the agent tray icon by default
+ Can now change gnome keyring master password
+ Added option to disable auto-retrieval of keys from key
servers
+ Give more detail for imported keys
+ Display gnome-keyring items properly
+ Progress windows show up in the window list now
+ Wrap text in the encryption applet properly
+ Now builds with GPG 2.0
+ Can now select archive extensions properly when encrypting
files
+ Fix problem with internationalized expiration dates on PGP
keys
+ Select a proper key size for SSH DSA keys
+ Allow SSH keys to be uploaded to machines listening on
non-standard ports
+ Can now import SSH keys that were generated elsewhere
+ Dialog and HIG fixes
+ Fix build problems
+ Fix crashers and problematic assertions
+ Updated translations
- Respin abuild.patch
- Remove seahorse-gpg-version.patch, which has been upstreamed.
* Wed Sep 05 2007 maw@suse.de
- Correct a .desktop file (#272535).
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Sat Jun 23 2007 maw@suse.de
- s/gpg/gpg2/ in the buildreq
- Add seahorse-gpg-version.patch to allow builds when only gpg2
is installed.
* Wed Jun 06 2007 ro@suse.de
- added gpg to buildreq
* Mon Apr 16 2007 maw@suse.de
- Create a -devel subpackage (#262572).
* Wed Apr 11 2007 maw@suse.de
- Update to version 1.0.1
- Many fixes:
* Fix a crash when deleting keys.
* Require GTK+ 2.10 without which 1.0 didn't build
* Use /tmp directory for agent sockets, so that seahorse
works for people with home directories on NFS/AFS
* Fixed importing of private keys from ssh-keygen
* Fixed checks for memory locking
* Epiphany plugin now builds with Epiphany 2.18 [Adam Schreiber]
* Set a default icon for all seahorse windows.
* Now able to use ports other than 22 when sending an SSH
key to another computer.
* Internationalization fixes [Bjoern Voigt]
* Handle openssh's authorized_keys file more cleanly
* Handle spaces in a search text when searching an LDAP server
* Help now works in 'Search Results' window [Adam Schreiber]
* Other minor fixes
- Updated translations for the ar, bg, ca, da, dz, el, es, et, fi,
fr, it, gu, ja, lt, mk, nb, pt, pt_BR, sv, and th locales.
* Tue Apr 10 2007 maw@suse.de
- Add abuild.patch, to silence some warnings.
* Tue Apr 10 2007 maw@suse.de
- Add openssh as an additional build requirement.
* Tue Apr 10 2007 maw@suse.de
- Update to version 1.0
- Remove seahorse-uninited.patch which no longer appears to apply
- Many fixes for bugzilla.gnome.org incl. #415808, #408774, #414078,
[#411834], #408786, #410193, #408774, #406337, #408335, #375062,
[#404386], #402856, #391666, #396009, #393218, #393366, #391699,
[#391700], #363350, #387402, #357323, #349286, #336146, #354432,
[#388318], #338730, #387293, #376729, #384781, #324674, #354245,
[#358697], #362711, #382330, #374257, #377938, #376098, #376707,
[#376098], #369536, #369616, #371636, #371666, #372099, #369874,
[#363282], #351969, #368748, #366749, #355378, #364081, #361897,
[#356794], #355380, #356302, #357317, #356550, #355386, #355378,
[#355833], #355420, #355305, #353494, #354332, #354251, #354245,
[#351935], #353595, #352808, #351836, #352868, #352364, #352332,
[#345990], #352087, #351862, #351862, #351874, #351980, #351859,
[#351850], #351833, #350206, #338287, #347872, #156306, #347869,
[#349080], #348770, #347868, #339237, #339237, #341987, #347459,
[#346418], #346038, #346040, #341986, #341986, #341986, #338743,
and #342005
- No longer try to rename certain localizations
- Buildrequire gnome-doc-utils-devel
* Mon Apr 02 2007 ro@suse.de
- updated gconf scriptlets
* Mon Feb 05 2007 ro@suse.de
- GNOME moved to /usr
* Thu Dec 07 2006 sbrabec@suse.cz
- Fixed MIME database path in scriptlets (#225666).
- Use correct PreReq.
- Do not touch obsolete run-scrollkeeper-update.
* Mon Dec 04 2006 jhargadon@suse.de
- removed ownership of /opt/gnome/share/mime (#225667)
* Mon Sep 04 2006 ro@suse.de
- fix build (find icon file)
* Tue Jul 18 2006 nadvornik@suse.cz
- fixed check for minimal gpgme version
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006 kukuk@suse.de
- Add gpgme-devel to nfb
* Sat Jan 07 2006 gekker@suse.de
- Initial import into autobuild, version 0.8 (#131375)