pcompton 64b5157
Name: 		seahorse
b9a905d
Version: 	2.24.1
b9a905d
Release:        1%{?dist}
66785b5
Summary:	A GNOME application for managing encryption keys
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+
66785b5
URL:            http://projects.gnome.org/seahorse/
fc4fac1
Source:         http://download.gnome.org/sources/seahorse/2.24/%{name}-%{version}.tar.bz2
9a6d879
Patch0:         seahorse-2.23.90-gpg2.patch
pcompton 64b5157
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
pcompton 64b5157
pcompton 64b5157
BuildRequires:  desktop-file-utils
pcompton 64b5157
BuildRequires:  gettext
pcompton 64b5157
BuildRequires:  gpgme-devel >= 1.0
66785b5
BuildRequires:  gnupg2
Seth Vidal efff9e5
BuildRequires:  libgnome-devel
Seth Vidal efff9e5
BuildRequires:  libgnomeui-devel
pcompton 64b5157
BuildRequires:  scrollkeeper
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
37a9b4e
BuildRequires:	intltool
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
66785b5
Seahorse is a graphical interface for managing and using encryption keys. 
66785b5
It also integrates with nautilus, gedit and other places for encryption 
66785b5
operations.
cvsextras 480e3ba
cvsextras 480e3ba
66785b5
%package devel
66785b5
Summary: Header files and libraries required to develop with seahorse
66785b5
Group: Development/Libraries
66785b5
Requires: pkgconfig >= 1:0.14
66785b5
Requires: %{name} = %{version}-%{release}
66785b5
66785b5
%description devel
66785b5
The seahorse-devel package contains the header files for the libcryptui
66785b5
library that belongs to seahorse.
66785b5
cvsextras 480e3ba
%prep
cvsextras 480e3ba
%setup -q
9a6d879
%patch0 -p1 -b .gpg2
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
66785b5
#mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/
66785b5
#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
66785b5
%find_lang seahorse --with-gnome --all-name
Seth Vidal efff9e5
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
f00932d
# save some space: only one screenshot is actually used, and it is
f00932d
# identical in all languages
f00932d
cd ${RPM_BUILD_ROOT}/usr/share/gnome/help/seahorse
f00932d
mv C/figures/seahorse-window.png .
f00932d
rm C/figures/*
f00932d
mv seahorse-window.png C/figures
f00932d
for d in *; do
f00932d
  if [ -d $d -a "$d" != "C" ]; then
f00932d
    rm $d/figures/*
f00932d
    ln -s ../../C/figures/seahorse-window.png $d/figures/seahorse-window.png
f00932d
  fi
f00932d
done
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
Seth Vidal efff9e5
%{_datadir}/icons/*
cvsextras 480e3ba
%{_datadir}/pixmaps/*
Seth Vidal efff9e5
%{_mandir}/man1/*.gz
Seth Vidal efff9e5
%dir %{_libdir}/seahorse
Seth Vidal efff9e5
%{_libdir}/seahorse/*
66785b5
%{_libdir}/libcryptui*.so.*
Seth Vidal 6b7a9e9
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
Seth Vidal efff9e5
%{_datadir}/dbus-1/services/org.gnome.seahorse.service
cvsextras 480e3ba
66785b5
%files devel
66785b5
%defattr(-,root,root,-)
66785b5
%{_libdir}/libcryptui.so
66785b5
%{_includedir}/libcryptui
66785b5
%{_libdir}/pkgconfig/cryptui-0.0.pc
cvsextras 480e3ba
cvsextras 480e3ba
%changelog
b9a905d
* Sun Oct 19 2008 Matthias Clasen <mclasen@redhat.com> 2.24.1-1
b9a905d
- Update to 2.24.1
b9a905d
f00932d
* Thu Oct  9 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-3
f00932d
- Save some space
f00932d
37a9b4e
* Sun Sep 21 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-2
fc4fac1
- Update to 2.24.0
fc4fac1
14e1f2e
* Sun Sep  7 2008 Matthias Clasen <mclasen@redhat.com> 2.23.92-1
14e1f2e
- Update to 2.23.92
14e1f2e
f750cbc
* Thu Sep  4 2008 Matthias Clasen <mclasen@redhat.com> 2.23.91-1
f750cbc
- Update to 2.23.91
f750cbc
9a6d879
* Sat Aug 30 2008 Michel Salim <salimma@fedoraproject.org> 2.23.90-2
9a6d879
- Patch configure to detect gpg2 binary
9a6d879
f9dee5e
* Sat Aug 23 2008 Matthias Clasen <mclasen@redhat.com> 2.23.90-1
f9dee5e
- Update to 2.23.90
f9dee5e
66785b5
* Tue Aug  5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
66785b5
- Update to 2.23.6
66785b5
- Split off a -devel package
66785b5
196a6c9
* Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
196a6c9
- Update to 2.23.5
196a6c9
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