222 lines
7.6 KiB
Python
222 lines
7.6 KiB
Python
#
|
|
# spec file for package seahorse (Version 1.0.1)
|
|
#
|
|
# Copyright (c) 2007 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: gnome-doc-utils-devel gnome-themes gpg gpgme-devel intltool libglade2-devel libgnomeprintui-devel libgpg-error-devel libsoup-devel libwnck-devel mDNSResponder-devel nautilus-devel openldap2 openldap2-devel openssh perl-XML-Parser update-desktop-files
|
|
License: GNU General Public License (GPL)
|
|
Group: System/GUI/GNOME
|
|
Autoreqprov: on
|
|
PreReq: gconf2
|
|
Version: 1.0.1
|
|
Release: 18
|
|
Summary: GNOME2 interface for gnupg
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/seahorse/%{name}-%{version}.tar.bz2
|
|
Patch2: %{name}-gpgme-version.patch
|
|
Patch3: abuild.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>
|
|
|
|
%prep
|
|
%setup
|
|
%patch2
|
|
%patch3 -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
|
|
( 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
|
|
%suse_update_desktop_file %{name}-pgp-preferences 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
|
|
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.*a
|
|
%find_lang %{name}
|
|
%find_gconf_schemas
|
|
cat %{name}.schemas_list %{name}.lang >%{name}.lst
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%post
|
|
%run_ldconfig
|
|
if test -x usr/bin/update-mime-database ; then
|
|
usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null
|
|
fi
|
|
|
|
%postun
|
|
%run_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 COPYING ChangeLog NEWS README
|
|
%defattr (-, root, root)
|
|
%{_prefix}/bin/*
|
|
%dir %{_libdir}/seahorse
|
|
%{_libdir}/*.so*
|
|
%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.so
|
|
%{_libdir}/seahorse/*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/control-center-2.0
|
|
%{_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 devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_includedir}/libcryptui
|
|
%{_includedir}/libcryptui/*.h
|
|
|
|
%changelog
|
|
* 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.
|
|
* Mon Apr 09 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
|
|
* Sat Jan 14 2006 - kukuk@suse.de
|
|
- Add gpgme-devel to nfb
|
|
* Fri Jan 06 2006 - gekker@suse.de
|
|
- Initial import into autobuild, version 0.8 (#131375)
|