pcompton 64b5157
Name: 		seahorse
Seth Vidal b1f3e7b
Version: 	1.0.1
Seth Vidal 86bf9a3
Release:        6%{?dist}
Seth Vidal b1f3e7b
Summary:	GNOME2 interface for gnupg
pcompton 64b5157
Group: 		User Interface/Desktops
Seth Vidal 87f4c41
# seahorse is GPLv2+
Seth Vidal 87f4c41
# libcryptui is LGPLv2+
Seth Vidal 87f4c41
License: 	GPLv2+ and LGPLv2+
Seth Vidal b1f3e7b
URL:            http://seahorse.sourceforge.net/
Seth Vidal b1f3e7b
Source:         http://ftp.gnome.org/pub/GNOME/sources/seahorse/%{version}/%{name}-%{version}.tar.gz
pcompton 64b5157
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
pcompton 64b5157
pcompton 64b5157
BuildRequires:  desktop-file-utils
Seth Vidal b1f3e7b
BuildRequires:  gedit-devel
pcompton 64b5157
BuildRequires:  gettext
pcompton 64b5157
BuildRequires:  gpgme-devel >= 1.0
Seth Vidal b1f3e7b
BuildRequires:  gnupg
Seth Vidal b1f3e7b
BuildRequires:  libgnome-devel
Seth Vidal b1f3e7b
BuildRequires:  libgnomeui-devel
pcompton 64b5157
BuildRequires:  scrollkeeper
94659bb
BuildRequires:  nautilus-devel
Seth Vidal a1595e0
BuildRequires:  libsoup-devel
Seth Vidal b1f3e7b
BuildRequires:  openldap-devel
Seth Vidal b1f3e7b
BuildRequires:  gnome-panel-devel
Seth Vidal b1f3e7b
BuildRequires:  libnotify-devel
Seth Vidal b1f3e7b
BuildRequires:  perl-XML-Parser
Seth Vidal c5d6a1f
BuildRequires:  openssh-clients
Seth Vidal cd62d0c
BuildRequires:  gnome-doc-utils >= 0.3.2
Seth Vidal a084d95
BuildRequires:  gnome-keyring-devel
Seth Vidal b1f3e7b
Requires(post): desktop-file-utils
pcompton 64b5157
Requires(post): GConf2
pcompton 64b5157
Requires(post): scrollkeeper
Seth Vidal b1f3e7b
Requires(post): shared-mime-info
Seth Vidal b1f3e7b
Requires(postun): desktop-file-utils
pcompton 64b5157
Requires(postun): scrollkeeper
Seth Vidal b1f3e7b
Requires(postun): shared-mime-info
cvsextras 480e3ba
cvsextras 480e3ba
%description
Seth Vidal b1f3e7b
Seahorse is a gnome2 interface for gnupg.
Seth Vidal b1f3e7b
It uses gpgme as the backend.
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%prep
cvsextras 480e3ba
%setup -q
Seth Vidal b1f3e7b
sed -i "s/update-mime-database/#update-mime-database/g" plugins/nautilus/Makefile.in
Seth Vidal b1f3e7b
sed -i "s/update-mime-database/#update-mime-database/g" plugins/nautilus/Makefile.am
cvsextras 480e3ba
cvsextras 480e3ba
%build
Seth Vidal b1f3e7b
%configure --disable-scrollkeeper
cvsextras 480e3ba
make %{?_smp_mflags}
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%install
cvsextras 480e3ba
rm -rf ${RPM_BUILD_ROOT}
Seth Vidal b1f3e7b
Seth Vidal b1f3e7b
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
Seth Vidal b1f3e7b
%makeinstall
Seth Vidal b1f3e7b
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
Seth Vidal b1f3e7b
%find_lang seahorse
Seth Vidal b1f3e7b
Seth Vidal b1f3e7b
# get rid of the cryptui-devel stuff until we figure out whast do with it later
Seth Vidal b1f3e7b
rm -rf ${RPM_BUILD_ROOT}/usr/include/libcryptui
Seth Vidal b1f3e7b
rm -rf ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/cryptui-0.0.pc
Seth Vidal 86bf9a3
rm -rf ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig/cryptui-0.0.pc
Seth Vidal b1f3e7b
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 b1f3e7b
  --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 b1f3e7b
  --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 b1f3e7b
  --add-category X-Fedora                               \
pcompton 64b5157
  ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse.desktop
pcompton 64b5157
Seth Vidal b1f3e7b
# nuke the icon cache
Seth Vidal b1f3e7b
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 b1f3e7b
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 b1f3e7b
gconftool-2 \
Seth Vidal b1f3e7b
     --makefile-install-rule \
Seth Vidal b1f3e7b
     %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
Seth Vidal b1f3e7b
scrollkeeper-update -q ||:
Seth Vidal b1f3e7b
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal b1f3e7b
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal b1f3e7b
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal b1f3e7b
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal b1f3e7b
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal e694ef2
fi
cvsextras 480e3ba
cvsextras 480e3ba
Seth Vidal b1f3e7b
cvsextras 480e3ba
%postun
pcompton 64b5157
/sbin/ldconfig
cvsextras ab71f17
scrollkeeper-update -q ||:
Seth Vidal b1f3e7b
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal b1f3e7b
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal b1f3e7b
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal b1f3e7b
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal b1f3e7b
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal b1f3e7b
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 b1f3e7b
%dir %{_datadir}/%{name}
Seth Vidal b1f3e7b
%{_datadir}/%{name}/*
pcompton 64b5157
%{_datadir}/applications/*.desktop
pcompton 64b5157
%{_datadir}/control-center-2.0/capplets/*.desktop
Seth Vidal b1f3e7b
%dir %{_datadir}/gnome/help/%{name}
Seth Vidal b1f3e7b
%{_datadir}/gnome/help/%{name}/*
Seth Vidal b1f3e7b
%{_datadir}/gnome/help/%{name}-applet/*
pcompton 64b5157
%{_datadir}/mime/packages/*
Seth Vidal b1f3e7b
%{_datadir}/icons/*
Seth Vidal b1f3e7b
%dir %{_datadir}/omf/%{name}
Seth Vidal b1f3e7b
%{_datadir}/omf/%{name}/*
Seth Vidal b1f3e7b
%dir %{_datadir}/omf/%{name}-applet
Seth Vidal b1f3e7b
%{_datadir}/omf/%{name}-applet/*
cvsextras 480e3ba
%{_datadir}/pixmaps/*
Seth Vidal b1f3e7b
%{_mandir}/man1/*.gz
Seth Vidal b1f3e7b
%dir %{_libdir}/seahorse
Seth Vidal b1f3e7b
%{_libdir}/seahorse/*
Seth Vidal b1f3e7b
%{_datadir}/gnome-2.0/ui/GNOME_SeahorseApplet.xml
Seth Vidal b1f3e7b
%{_libdir}/libcryptui*
Seth Vidal b1f3e7b
%{_libdir}/gedit-2/plugins/*
Seth Vidal aeda9f3
%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.so
pcompton 64b5157
%{_sysconfdir}/gconf/schemas/*
Seth Vidal b1f3e7b
%{_libdir}/bonobo/servers/GNOME_SeahorseApplet.server
Seth Vidal b1f3e7b
%{_datadir}/dbus-1/services/org.gnome.seahorse.service
cvsextras 480e3ba
cvsextras 480e3ba
cvsextras 480e3ba
%changelog
Seth Vidal b1f3e7b
* Tue Jun 26 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal b1f3e7b
- 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