pcompton 64b5157
Name: 		seahorse
92df620
Version: 	2.22.2
18400d8
Release:        1%{?dist}
Seth Vidal efff9e5
Summary:	GNOME2 interface for gnupg
pcompton 64b5157
Group: 		User Interface/Desktops
Seth Vidal 7686923
# seahorse is GPLv2+
Seth Vidal 7686923
# libcryptui is LGPLv2+
Seth Vidal 7686923
License:        GPLv2+ and LGPLv2+
Seth Vidal efff9e5
URL:            http://seahorse.sourceforge.net/
cbb0cd9
Source:         http://ftp.gnome.org/pub/GNOME/sources/seahorse/2.22/%{name}-%{version}.tar.bz2
Seth Vidal 77414ad
Source1:	seahorse-agent.sh
pcompton 64b5157
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
pcompton 64b5157
pcompton 64b5157
BuildRequires:  desktop-file-utils
Seth Vidal efff9e5
BuildRequires:  gedit-devel
pcompton 64b5157
BuildRequires:  gettext
pcompton 64b5157
BuildRequires:  gpgme-devel >= 1.0
Seth Vidal efff9e5
BuildRequires:  gnupg
Seth Vidal efff9e5
BuildRequires:  libgnome-devel
Seth Vidal efff9e5
BuildRequires:  libgnomeui-devel
pcompton 64b5157
BuildRequires:  scrollkeeper
94659bb
BuildRequires:  nautilus-devel
Seth Vidal a1595e0
BuildRequires:  libsoup-devel
Seth Vidal efff9e5
BuildRequires:  openldap-devel
Seth Vidal efff9e5
BuildRequires:  gnome-panel-devel
Seth Vidal efff9e5
BuildRequires:  libnotify-devel
Seth Vidal efff9e5
BuildRequires:  perl-XML-Parser
Seth Vidal d57f27d
BuildRequires:  openssh-clients
Seth Vidal d57f27d
BuildRequires:  gnome-doc-utils >= 0.3.2
Seth Vidal d57f27d
BuildRequires:  gnome-keyring-devel
Seth Vidal 6b7a9e9
BuildRequires:  avahi-devel
Seth Vidal 6b7a9e9
BuildRequires:  avahi-glib-devel
Seth Vidal 6b7a9e9
BuildRequires:  chrpath
Seth Vidal efff9e5
Requires(post): desktop-file-utils
pcompton 64b5157
Requires(post): GConf2
pcompton 64b5157
Requires(post): scrollkeeper
Seth Vidal efff9e5
Requires(post): shared-mime-info
Seth Vidal efff9e5
Requires(postun): desktop-file-utils
pcompton 64b5157
Requires(postun): scrollkeeper
Seth Vidal efff9e5
Requires(postun): shared-mime-info
cvsextras 480e3ba
cvsextras 480e3ba
%description
Seth Vidal efff9e5
Seahorse is a gnome2 interface for gnupg.
Seth Vidal efff9e5
It uses gpgme as the backend.
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%prep
cvsextras 480e3ba
%setup -q
Seth Vidal efff9e5
sed -i "s/update-mime-database/#update-mime-database/g" plugins/nautilus/Makefile.in
Seth Vidal efff9e5
sed -i "s/update-mime-database/#update-mime-database/g" plugins/nautilus/Makefile.am
cvsextras 480e3ba
cvsextras 480e3ba
%build
Seth Vidal efff9e5
%configure --disable-scrollkeeper
cvsextras 480e3ba
make %{?_smp_mflags}
Seth Vidal 6b7a9e9
# cleanup permissions for files that go into debuginfo
Seth Vidal 6b7a9e9
find . -type f -name "*.c" -exec chmod a-x {} ';'
cvsextras 480e3ba
cvsextras 480e3ba
%install
cvsextras 480e3ba
rm -rf ${RPM_BUILD_ROOT}
Seth Vidal efff9e5
Seth Vidal efff9e5
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
b54c3be
make install DESTDIR=$RPM_BUILD_ROOT
Seth Vidal 77414ad
mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/
Seth Vidal 77414ad
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/seahorse-agent.sh
Seth Vidal 77414ad
Seth Vidal 77414ad
Seth Vidal efff9e5
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
Seth Vidal efff9e5
%find_lang seahorse
Seth Vidal efff9e5
Seth Vidal efff9e5
# get rid of the cryptui-devel stuff until we figure out whast do with it later
Seth Vidal efff9e5
rm -rf ${RPM_BUILD_ROOT}/usr/include/libcryptui
Seth Vidal efff9e5
rm -rf ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/cryptui-0.0.pc
Seth Vidal d57f27d
rm -rf ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig/cryptui-0.0.pc
Seth Vidal 6b7a9e9
rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libcryptui.so
Seth Vidal efff9e5
Seth Vidal 6b7a9e9
# Nuke rpath
Seth Vidal 6b7a9e9
for f in %{_bindir}/seahorse{,-preferences,-tool,-daemon,-agent} \
Seth Vidal 6b7a9e9
         %{_libdir}/seahorse/seahorse-{ssh-askpass,applet} \
Seth Vidal 6b7a9e9
         %{_libdir}/gedit-2/plugins/libseahorse-pgp.so; do
Seth Vidal 6b7a9e9
	 chrpath --delete $RPM_BUILD_ROOT${f}
Seth Vidal 6b7a9e9
done
cvsextras 480e3ba
cvsextras 480e3ba
rm -rf ${RPM_BUILD_ROOT}/var/scrollkeeper
cvsextras 480e3ba
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
cvsextras 480e3ba
desktop-file-install --vendor fedora --delete-original  \
pcompton 64b5157
  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications   	\
Seth Vidal efff9e5
  --add-category X-Fedora                               \
pcompton 64b5157
  ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse-pgp-encrypted.desktop
pcompton 64b5157
pcompton 64b5157
desktop-file-install --vendor fedora --delete-original  \
512bc38
  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications       \
Seth Vidal efff9e5
  --add-category X-Fedora                               \
pcompton 64b5157
  ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse-pgp-signature.desktop
pcompton 64b5157
pcompton 64b5157
desktop-file-install --vendor fedora --delete-original  \
pcompton 64b5157
  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications       \
pcompton 64b5157
  --add-category GNOME                                  \
cvsextras 480e3ba
  --add-category Utility                                \
Seth Vidal efff9e5
  --add-category X-Fedora                               \
pcompton 64b5157
  ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse.desktop
pcompton 64b5157
Seth Vidal efff9e5
# nuke the icon cache
Seth Vidal efff9e5
rm -f ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/icon-theme.cache
cvsextras 480e3ba
cvsextras 480e3ba
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
Seth Vidal efff9e5
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%clean
cvsextras 480e3ba
rm -rf ${RPM_BUILD_ROOT}
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%post
pcompton 64b5157
/sbin/ldconfig
cvsextras 480e3ba
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
Seth Vidal efff9e5
gconftool-2 \
Seth Vidal efff9e5
     --makefile-install-rule \
Seth Vidal efff9e5
     %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
Seth Vidal efff9e5
scrollkeeper-update -q ||:
Seth Vidal efff9e5
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal efff9e5
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal efff9e5
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal efff9e5
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal efff9e5
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal e694ef2
fi
cvsextras 480e3ba
cvsextras 480e3ba
Seth Vidal efff9e5
cvsextras 480e3ba
%postun
pcompton 64b5157
/sbin/ldconfig
cvsextras ab71f17
scrollkeeper-update -q ||:
Seth Vidal efff9e5
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal efff9e5
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal efff9e5
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal efff9e5
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal efff9e5
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal efff9e5
fi
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%files -f %{name}.lang
cvsextras 480e3ba
%defattr(-,root,root,-)
cvsextras 480e3ba
%doc AUTHORS COPYING NEWS README TODO
cvsextras 480e3ba
%{_bindir}/*
Seth Vidal 77414ad
%{_sysconfdir}/X11/xinit/xinitrc.d/seahorse-agent.sh
Seth Vidal efff9e5
%dir %{_datadir}/%{name}
Seth Vidal efff9e5
%{_datadir}/%{name}/*
pcompton 64b5157
%{_datadir}/applications/*.desktop
Seth Vidal efff9e5
%dir %{_datadir}/gnome/help/%{name}
Seth Vidal efff9e5
%{_datadir}/gnome/help/%{name}/*
Seth Vidal efff9e5
%{_datadir}/gnome/help/%{name}-applet/*
pcompton 64b5157
%{_datadir}/mime/packages/*
Seth Vidal efff9e5
%{_datadir}/icons/*
Seth Vidal efff9e5
%dir %{_datadir}/omf/%{name}
Seth Vidal efff9e5
%{_datadir}/omf/%{name}/*
Seth Vidal efff9e5
%dir %{_datadir}/omf/%{name}-applet
Seth Vidal efff9e5
%{_datadir}/omf/%{name}-applet/*
cvsextras 480e3ba
%{_datadir}/pixmaps/*
Seth Vidal efff9e5
%{_mandir}/man1/*.gz
Seth Vidal efff9e5
%dir %{_libdir}/seahorse
Seth Vidal efff9e5
%{_libdir}/seahorse/*
Seth Vidal efff9e5
%{_datadir}/gnome-2.0/ui/GNOME_SeahorseApplet.xml
Seth Vidal efff9e5
%{_libdir}/libcryptui*
Seth Vidal 7837026
%{_libdir}/gedit-2/plugins/*
b54c3be
%{_libdir}/nautilus/extensions-2.0/libnautilus-seahorse.so
Seth Vidal 6b7a9e9
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
Seth Vidal efff9e5
%{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
Seth Vidal efff9e5
%{_datadir}/dbus-1/services/org.gnome.seahorse.service
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%changelog
92df620
* Wed May 28 2008 Matthias Clasen <mclasen@redhat.com> 2.22.2-1
92df620
- Update to 2.22.2
92df620
ddb45fe
* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
ddb45fe
- Update to 2.22.1
ddb45fe
cbb0cd9
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
cbb0cd9
- Update to 2.22.0
cbb0cd9
18400d8
* Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
18400d8
- Update to 2.21.92
18400d8
762bb36
* Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.90-2
762bb36
- Rebuild
762bb36
Seth Vidal 75f7f2e
* Tue Jan 29 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.90-1
Seth Vidal 75f7f2e
- 2.21.90
Seth Vidal 75f7f2e
- rebuild for new libsoup
Seth Vidal 75f7f2e
Seth Vidal 75f7f2e
Seth Vidal 77414ad
* Mon Jan  7 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-2
Seth Vidal 77414ad
- drop in seahorse-agent.sh to xinit - closes bug 427466 but will mean
Seth Vidal 77414ad
  that seahorse agent will start if it is installed - even on kde or xfce
Seth Vidal 77414ad
  desktops :(
Seth Vidal 77414ad
Seth Vidal 9330434
* Thu Jan  3 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-1
Seth Vidal 9330434
- upgrade to 2.21.4
Seth Vidal 9330434
Seth Vidal 9330434
Seth Vidal 6b7a9e9
* Sat Dec  1 2007 Matt Domsch <mdomsch at fedoraproject.org> 2.21.3-1
Seth Vidal 6b7a9e9
- upgrade to 2.21.3
Seth Vidal 6b7a9e9
- enable avahi integration
Seth Vidal 6b7a9e9
- rpmlint cleanups: remove rpath, unneeded .so, tag config files
Seth Vidal 6b7a9e9
Seth Vidal d4673ad
* Wed Aug 22 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal d4673ad
- fix license tag
Seth Vidal d4673ad
- rebuild for fun!
Seth Vidal d4673ad
Seth Vidal 1c65ba6
* Fri Jul 20 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal 1c65ba6
- disable gedit plugin in rawhide, for now :(
Seth Vidal 1c65ba6
Seth Vidal efff9e5
* Tue Jun 26 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal efff9e5
- update to 1.0.1
Seth Vidal 7dc003e
Seth Vidal 765b683
* Sun Aug 13 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 765b683
- re-enable gedit
Seth Vidal 765b683
- update to 0.8.1
Seth Vidal 765b683
Seth Vidal 28c676f
* Tue Mar  7 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 28c676f
- added openldap-devel buildreq to hopefully close bug # 184124
Seth Vidal 28c676f
Seth Vidal 58be84e
* Thu Feb 23 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 58be84e
- Patch from John Thacker for rh bug #182694 
Seth Vidal 58be84e
Seth Vidal 58be84e
Seth Vidal 51f83e2
* Mon Jan 16 2006 Seth Vidal <skvidal at linux.duke.edu> - 0.8-2
Seth Vidal 51f83e2
- added configure patch for it to build
Seth Vidal 51f83e2
- disable gedit plugins until seahorse gets fixed to work with gedit 2.13+
Seth Vidal 51f83e2
Seth Vidal 2100920
* Wed Oct 26 2005 Seth Vidal <skvidal@phy.duke.edu> - 0.8-1
Seth Vidal 2100920
- 0.8
Seth Vidal 2100920
Seth Vidal f31adf5
* Thu Jul 28 2005 Seth Vidal <skvidal@phy.duke.edu> - 0.7.9-1
Seth Vidal f31adf5
- 0.7.9
Seth Vidal f31adf5
94659bb
* Wed May 25 2005 Jeremy Katz <katzj@redhat.com> - 0.7.7-3
94659bb
- make sure all files are included
94659bb
- BR nautilus-devel
94659bb
efc14ba
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.7.7-2
efc14ba
- rebuild on all arches
efc14ba
Seth Vidal aeda9f3
* Thu May  5 2005 Seth Vidal <skvidal@phy.duke.edu> 0.7.7-1
Seth Vidal aeda9f3
- 0.7.7
Seth Vidal aeda9f3
Seth Vidal a2d4c77
* Tue Apr 19 2005 Seth Vidal <skvidal at phy.duke.edu> 0.7.6-4
Seth Vidal a2d4c77
- something innocuous to test on
Seth Vidal a2d4c77
Seth Vidal a2d4c77
60a651b
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
60a651b
- rebuilt
60a651b
pcompton 64b5157
* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-2
pcompton 64b5157
- desktop entry fixes.
pcompton 64b5157
pcompton 64b5157
* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-1
pcompton 64b5157
- 0.7.6.
7603b9d
Seth Vidal 51f83e2
* Mon Nov 09 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.5
Seth Vidal 51f83e2
- BuildReq scrollkeeper.
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Wed Oct 22 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.4
Seth Vidal 51f83e2
- Uncommented .la removal.
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.3
Seth Vidal 51f83e2
- Grabbed new copy os source from upstream.
Seth Vidal 51f83e2
- Fixed path on Source0, to allow direct download.
Seth Vidal 51f83e2
- BuildReq desktop-file-utils.
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.2
Seth Vidal 51f83e2
- Fixed file permission on source tarball.
Seth Vidal 51f83e2
- Fixed Group.
Seth Vidal 51f83e2
- Removed aesthetic comments.
Seth Vidal 51f83e2
- Brought more in line with current spec template.
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Sun Aug 17 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.1
Seth Vidal 51f83e2
- Fedorification.
Seth Vidal 51f83e2
- Added path to Source0.
Seth Vidal 51f83e2
- Added URL.
Seth Vidal 51f83e2
- buildroot -> RPM_BUILD_ROOT.
Seth Vidal 51f83e2
- BuildReq libgnomeui-devel, eel2-devel, gpgme03-devel.
Seth Vidal 51f83e2
- BuildReq gettext.
Seth Vidal 51f83e2
- post Req GConf2.
Seth Vidal 51f83e2
- post/postun Req scrollkeeper.
Seth Vidal 51f83e2
- .la/.a removal.
Seth Vidal 51f83e2
- cosmetic changes.
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Fri May 02 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.3-1
Seth Vidal 51f83e2
- 0.7.3 Release
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Wed Apr 23 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.1-3
Seth Vidal 51f83e2
- Rebuilt against gpgme 0.3.15
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Sat Apr 12 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.1-2
Seth Vidal 51f83e2
- RedHat 9 Rebuild
Seth Vidal 51f83e2
Seth Vidal 51f83e2
* Sun Jan 26 2003 Matthew Hall <matt@ecsc.co.uk>
Seth Vidal 51f83e2
- New Spec File
Seth Vidal 51f83e2