pcompton 64b5157
Name: 		seahorse
Seth Vidal efff9e5
Version: 	1.0.1
Seth Vidal 7837026
Release:        9%{?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/
Seth Vidal 88ee5d7
Source:         http://ftp.gnome.org/pub/GNOME/sources/seahorse/1.0/%{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 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 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}
cvsextras 480e3ba
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
Seth Vidal efff9e5
%makeinstall
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 efff9e5
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 efff9e5
%dir %{_datadir}/%{name}
Seth Vidal efff9e5
%{_datadir}/%{name}/*
pcompton 64b5157
%{_datadir}/applications/*.desktop
pcompton 64b5157
%{_datadir}/control-center-2.0/capplets/*.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/*
Seth Vidal aeda9f3
%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.so
pcompton 64b5157
%{_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
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