apply 2.21.3 patch from mdomsch and bug 355671

This commit is contained in:
Seth Vidal 2007-12-05 15:52:08 +00:00
parent 88ee5d7c37
commit 6b7a9e9499
3 changed files with 23 additions and 6 deletions

View File

@ -1 +1,2 @@
seahorse-1.0.1.tar.gz seahorse-1.0.1.tar.gz
seahorse-2.21.3.tar.gz

View File

@ -1,13 +1,13 @@
Name: seahorse Name: seahorse
Version: 1.0.1 Version: 2.21.3
Release: 9%{?dist} Release: 1%{?dist}
Summary: GNOME2 interface for gnupg Summary: GNOME2 interface for gnupg
Group: User Interface/Desktops Group: User Interface/Desktops
# seahorse is GPLv2+ # seahorse is GPLv2+
# libcryptui is LGPLv2+ # libcryptui is LGPLv2+
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://seahorse.sourceforge.net/ URL: http://seahorse.sourceforge.net/
Source: http://ftp.gnome.org/pub/GNOME/sources/seahorse/1.0/%{name}-%{version}.tar.gz Source: http://ftp.gnome.org/pub/GNOME/sources/seahorse/2.21/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -27,6 +27,9 @@ BuildRequires: perl-XML-Parser
BuildRequires: openssh-clients BuildRequires: openssh-clients
BuildRequires: gnome-doc-utils >= 0.3.2 BuildRequires: gnome-doc-utils >= 0.3.2
BuildRequires: gnome-keyring-devel BuildRequires: gnome-keyring-devel
BuildRequires: avahi-devel
BuildRequires: avahi-glib-devel
BuildRequires: chrpath
Requires(post): desktop-file-utils Requires(post): desktop-file-utils
Requires(post): GConf2 Requires(post): GConf2
Requires(post): scrollkeeper Requires(post): scrollkeeper
@ -48,7 +51,8 @@ sed -i "s/update-mime-database/#update-mime-database/g" plugins/nautilus/Makefil
%build %build
%configure --disable-scrollkeeper %configure --disable-scrollkeeper
make %{?_smp_mflags} make %{?_smp_mflags}
# cleanup permissions for files that go into debuginfo
find . -type f -name "*.c" -exec chmod a-x {} ';'
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -62,7 +66,14 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -rf ${RPM_BUILD_ROOT}/usr/include/libcryptui rm -rf ${RPM_BUILD_ROOT}/usr/include/libcryptui
rm -rf ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/cryptui-0.0.pc rm -rf ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/cryptui-0.0.pc
rm -rf ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig/cryptui-0.0.pc rm -rf ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig/cryptui-0.0.pc
rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcryptui.so
# Nuke rpath
for f in %{_bindir}/seahorse{,-preferences,-tool,-daemon,-agent} \
%{_libdir}/seahorse/seahorse-{ssh-askpass,applet} \
%{_libdir}/gedit-2/plugins/libseahorse-pgp.so; do
chrpath --delete $RPM_BUILD_ROOT${f}
done
rm -rf ${RPM_BUILD_ROOT}/var/scrollkeeper rm -rf ${RPM_BUILD_ROOT}/var/scrollkeeper
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
@ -128,7 +139,6 @@ fi
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/* %{_datadir}/%{name}/*
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/control-center-2.0/capplets/*.desktop
%dir %{_datadir}/gnome/help/%{name} %dir %{_datadir}/gnome/help/%{name}
%{_datadir}/gnome/help/%{name}/* %{_datadir}/gnome/help/%{name}/*
%{_datadir}/gnome/help/%{name}-applet/* %{_datadir}/gnome/help/%{name}-applet/*
@ -146,12 +156,17 @@ fi
%{_libdir}/libcryptui* %{_libdir}/libcryptui*
%{_libdir}/gedit-2/plugins/* %{_libdir}/gedit-2/plugins/*
%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.so %{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.so
%{_sysconfdir}/gconf/schemas/* %config(noreplace) %{_sysconfdir}/gconf/schemas/*
%{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server %{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
%{_datadir}/dbus-1/services/org.gnome.seahorse.service %{_datadir}/dbus-1/services/org.gnome.seahorse.service
%changelog %changelog
* Sat Dec 1 2007 Matt Domsch <mdomsch at fedoraproject.org> 2.21.3-1
- upgrade to 2.21.3
- enable avahi integration
- rpmlint cleanups: remove rpath, unneeded .so, tag config files
* Wed Aug 22 2007 Seth Vidal <skvidal at fedoraproject.org> * Wed Aug 22 2007 Seth Vidal <skvidal at fedoraproject.org>
- fix license tag - fix license tag
- rebuild for fun! - rebuild for fun!

View File

@ -1 +1,2 @@
50510a1fc0d5875788c070a26f55f8dd seahorse-1.0.1.tar.gz 50510a1fc0d5875788c070a26f55f8dd seahorse-1.0.1.tar.gz
005a968d5dc1c727abb34f92bd098561 seahorse-2.21.3.tar.gz