pcompton 64b515
Name: 		seahorse
4746d5
Version: 	2.27.5
0e2764
Release:        2%{?dist}
66785b
Summary:	A GNOME application for managing encryption keys
pcompton 64b515
Group: 		User Interface/Desktops
Seth Vidal 768692
# seahorse is GPLv2+
Seth Vidal 768692
# libcryptui is LGPLv2+
Seth Vidal 768692
License:        GPLv2+ and LGPLv2+
66785b
URL:            http://projects.gnome.org/seahorse/
4aa663
Source:         http://download.gnome.org/sources/seahorse/2.27/%{name}-%{version}.tar.bz2
pcompton 64b515
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0e2764
# from upstream
0e2764
Patch0:		password-tab.patch
pcompton 64b515
pcompton 64b515
BuildRequires:  desktop-file-utils
pcompton 64b515
BuildRequires:  gettext
pcompton 64b515
BuildRequires:  gpgme-devel >= 1.0
66785b
BuildRequires:  gnupg2
Seth Vidal efff9e
BuildRequires:  libgnome-devel
Seth Vidal efff9e
BuildRequires:  libgnomeui-devel
pcompton 64b515
BuildRequires:  scrollkeeper
Seth Vidal a1595e
BuildRequires:  libsoup-devel
Seth Vidal efff9e
BuildRequires:  openldap-devel
Seth Vidal efff9e
BuildRequires:  gnome-panel-devel
Seth Vidal efff9e
BuildRequires:  libnotify-devel
Seth Vidal d57f27
BuildRequires:  openssh-clients
Seth Vidal d57f27
BuildRequires:  gnome-doc-utils >= 0.3.2
Tomas Bzatek 565507
BuildRequires:  gnome-keyring-devel >= 2.25.5
Seth Vidal 6b7a9e
BuildRequires:  avahi-devel
Seth Vidal 6b7a9e
BuildRequires:  avahi-glib-devel
37a9b4
BuildRequires:	intltool
Seth Vidal efff9e
Requires(post): desktop-file-utils
pcompton 64b515
Requires(post): GConf2
pcompton 64b515
Requires(post): scrollkeeper
Seth Vidal efff9e
Requires(post): shared-mime-info
Seth Vidal efff9e
Requires(postun): desktop-file-utils
pcompton 64b515
Requires(postun): scrollkeeper
Seth Vidal efff9e
Requires(postun): shared-mime-info
cvsextras 480e3b
Tomas Bzatek 43380e
# https://bugzilla.redhat.com/show_bug.cgi?id=474419
Tomas Bzatek 43380e
Requires:       pinentry-gtk
Tomas Bzatek 43380e
Tomas Bzatek b46d90
Obsoletes: gnome-keyring-manager
Tomas Bzatek b46d90
cvsextras 480e3b
%description
52f3bd
Seahorse is a graphical interface for managing and using encryption keys.
52f3bd
It also integrates with nautilus, gedit and other places for encryption
66785b
operations.
cvsextras 480e3b
cvsextras 480e3b
66785b
%package devel
66785b
Summary: Header files and libraries required to develop with seahorse
66785b
Group: Development/Libraries
66785b
Requires: pkgconfig >= 1:0.14
66785b
Requires: %{name} = %{version}-%{release}
ad5509
Requires: gtk-doc
66785b
66785b
%description devel
66785b
The seahorse-devel package contains the header files for the libcryptui
66785b
library that belongs to seahorse.
66785b
cvsextras 480e3b
%prep
cvsextras 480e3b
%setup -q
0e2764
%patch0 -p1 -b .password-tab
cvsextras 480e3b
cvsextras 480e3b
%build
b46966
GNUPG=/usr/bin/gpg2 ; export GNUPG ; %configure --disable-scrollkeeper
1df021
1df021
# drop unneeded direct library deps with --as-needed
1df021
# libtool doesn't make this easy, so we do it the hard way
1df021
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
1df021
cvsextras 480e3b
make %{?_smp_mflags}
Seth Vidal 6b7a9e
# cleanup permissions for files that go into debuginfo
Seth Vidal 6b7a9e
find . -type f -name "*.c" -exec chmod a-x {} ';'
cvsextras 480e3b
cvsextras 480e3b
%install
cvsextras 480e3b
rm -rf ${RPM_BUILD_ROOT}
Seth Vidal efff9e
Seth Vidal efff9e
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
b54c3b
make install DESTDIR=$RPM_BUILD_ROOT
66785b
#mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/
66785b
#install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/seahorse-agent.sh
Seth Vidal 77414a
Seth Vidal 77414a
Seth Vidal efff9e
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
66785b
%find_lang seahorse --with-gnome --all-name
Seth Vidal efff9e
pcompton 64b515
desktop-file-install --vendor fedora --delete-original  \
pcompton 64b515
  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications       \
pcompton 64b515
  --add-category GNOME                                  \
cvsextras 480e3b
  --add-category Utility                                \
Seth Vidal efff9e
  --add-category X-Fedora                               \
pcompton 64b515
  ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse.desktop
pcompton 64b515
Seth Vidal efff9e
# nuke the icon cache
Seth Vidal efff9e
rm -f ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/icon-theme.cache
cvsextras 480e3b
cvsextras 480e3b
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
Seth Vidal efff9e
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
cvsextras 480e3b
f00932
# save some space: only one screenshot is actually used, and it is
f00932
# identical in all languages
f00932
cd ${RPM_BUILD_ROOT}/usr/share/gnome/help/seahorse
f00932
for d in *; do
f00932
  if [ -d $d -a "$d" != "C" ]; then
f00932
    rm $d/figures/*
f00932
    ln -s ../../C/figures/seahorse-window.png $d/figures/seahorse-window.png
f00932
  fi
f00932
done
cvsextras 480e3b
cvsextras 480e3b
%clean
cvsextras 480e3b
rm -rf ${RPM_BUILD_ROOT}
cvsextras 480e3b
cvsextras 480e3b
cvsextras 480e3b
%post
pcompton 64b515
/sbin/ldconfig
cvsextras 480e3b
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
Seth Vidal efff9e
gconftool-2 \
Seth Vidal efff9e
     --makefile-install-rule \
Seth Vidal efff9e
     %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
Seth Vidal efff9e
scrollkeeper-update -q ||:
Seth Vidal efff9e
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal efff9e
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal efff9e
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal efff9e
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal efff9e
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal e694ef
fi
cvsextras 480e3b
cvsextras 480e3b
Seth Vidal efff9e
cvsextras 480e3b
%postun
pcompton 64b515
/sbin/ldconfig
cvsextras ab71f1
scrollkeeper-update -q ||:
Seth Vidal efff9e
update-mime-database %{_datadir}/mime/ > /dev/null
Seth Vidal efff9e
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
Seth Vidal efff9e
touch --no-create %{_datadir}/icons/hicolor || :
Seth Vidal efff9e
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
Seth Vidal efff9e
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
Seth Vidal efff9e
fi
cvsextras 480e3b
cvsextras 480e3b
cvsextras 480e3b
%files -f %{name}.lang
cvsextras 480e3b
%defattr(-,root,root,-)
cvsextras 480e3b
%doc AUTHORS COPYING NEWS README TODO
cvsextras 480e3b
%{_bindir}/*
Seth Vidal efff9e
%dir %{_datadir}/%{name}
Seth Vidal efff9e
%{_datadir}/%{name}/*
pcompton 64b515
%{_datadir}/applications/*.desktop
ce85f8
%{_datadir}/icons/hicolor/*/apps/seahorse.png
ce85f8
%{_datadir}/icons/hicolor/*/apps/seahorse-preferences.png
cvsextras 480e3b
%{_datadir}/pixmaps/*
Seth Vidal efff9e
%{_mandir}/man1/*.gz
Seth Vidal efff9e
%dir %{_libdir}/seahorse
Seth Vidal efff9e
%{_libdir}/seahorse/*
66785b
%{_libdir}/libcryptui*.so.*
Seth Vidal 6b7a9e
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
Seth Vidal efff9e
%{_datadir}/dbus-1/services/org.gnome.seahorse.service
ad5509
%{_sysconfdir}/xdg/autostart/seahorse-daemon.desktop
cvsextras 480e3b
66785b
%files devel
66785b
%defattr(-,root,root,-)
66785b
%{_libdir}/libcryptui.so
66785b
%{_includedir}/libcryptui
66785b
%{_libdir}/pkgconfig/cryptui-0.0.pc
ad5509
%{_datadir}/gtk-doc/html/libcryptui
cvsextras 480e3b
cvsextras 480e3b
%changelog
0e2764
* Thu Aug  6 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.5-2
0e2764
- Bring the password tab back
0e2764
4746d5
* Tue Jul 28 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.5-1
4746d5
- Update to 2.27.5
4aa663
1df021
* Mon Jul 27 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.1-4
1df021
- Drop unneeded direct deps
1df021
196441
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.1-3
196441
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
196441
Tomas Bzatek 43380e
* Mon Jun  1 2009 Tomas Bzatek <tbzatek@redhat.com> 2.27.1-2
Tomas Bzatek 43380e
- Require pinentry-gtk (#474419)
Tomas Bzatek 43380e
Tomas Bzatek 565507
* Mon May  4 2009 Tomas Bzatek <tbzatek@redhat.com> 2.27.1-1
Tomas Bzatek 565507
- Update to 2.27.1
Tomas Bzatek 565507
52f3bd
* Sun Apr 12 2009 Matthias Clasen <mclasen@redhat.com> 2.26.1-1
52f3bd
- Update to 2.26.1
52f3bd
- See http://download.gnome.org/sources/seahorse/2.26/seahorse-2.26.1.news
52f3bd
ce85f8
* Fri Apr 10 2009 Matthias Clasen <mclasen@redhat.com> 2.26.0-2
ce85f8
- Fix directory ownership
ce85f8
Tomas Bzatek 4b9402
* Mon Mar 16 2009 Tomas Bzatek <tbzatek@redhat.com> 2.26.0-1
Tomas Bzatek 4b9402
- Update to 2.26.0
Tomas Bzatek 4b9402
Tomas Bzatek e26a61
* Mon Mar  2 2009 Tomas Bzatek <tbzatek@redhat.com> 2.25.92-1
Tomas Bzatek e26a61
- Update to 2.25.92
Tomas Bzatek e26a61
f9a77f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.25.91-2
f9a77f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f9a77f
2962bb
* Sat Feb 14 2009 Matthias Clasen <mclasen@redhat.com> 2.25.91-1
2962bb
- Update to 2.25.91
2962bb
518ae7
* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> 2.25.90-1
518ae7
- Update to 2.25.90
518ae7
b3953c
* Wed Jan  7 2009 Matthias Clasen <mclasen@redhat.com> 2.25.4-1
b3953c
- Update to 2.25.4
b3953c
Tomas Bzatek 8be9a2
* Mon Dec 22 2008 Tomas Bzatek <tbzatek@redhat.com> 2.25.3-1
Tomas Bzatek 8be9a2
- Update to 2.25.3
Tomas Bzatek 8be9a2
78ce7e
* Tue Dec  2 2008 Matthias Clasen <mclasen@redhat.com> 2.25.1-3
78ce7e
- Rebuild for pkg-config provides
78ce7e
Tomas Bzatek b46d90
* Mon Dec  1 2008 Tomas Bzatek <tbzatek@redhat.com> 2.25.1-2
Tomas Bzatek b46d90
- Mark Seahorse as an official replacement for gnome-keyring-manager
Tomas Bzatek b46d90
5b2d90
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 2.25.1-1
5b2d90
- Update to 2.25.1
5b2d90
b9a905
* Sun Oct 19 2008 Matthias Clasen <mclasen@redhat.com> 2.24.1-1
b9a905
- Update to 2.24.1
b9a905
f00932
* Thu Oct  9 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-3
f00932
- Save some space
f00932
37a9b4
* Sun Sep 21 2008 Matthias Clasen <mclasen@redhat.com> 2.24.0-2
fc4fac
- Update to 2.24.0
fc4fac
14e1f2
* Sun Sep  7 2008 Matthias Clasen <mclasen@redhat.com> 2.23.92-1
14e1f2
- Update to 2.23.92
14e1f2
f750cb
* Thu Sep  4 2008 Matthias Clasen <mclasen@redhat.com> 2.23.91-1
f750cb
- Update to 2.23.91
f750cb
9a6d87
* Sat Aug 30 2008 Michel Salim <salimma@fedoraproject.org> 2.23.90-2
9a6d87
- Patch configure to detect gpg2 binary
9a6d87
f9dee5
* Sat Aug 23 2008 Matthias Clasen <mclasen@redhat.com> 2.23.90-1
f9dee5
- Update to 2.23.90
f9dee5
66785b
* Tue Aug  5 2008 Matthias Clasen <mclasen@redhat.com> 2.23.6-1
66785b
- Update to 2.23.6
66785b
- Split off a -devel package
66785b
196a6c
* Tue Jul 22 2008 Matthias Clasen <mclasen@redhat.com> 2.23.5-1
196a6c
- Update to 2.23.5
196a6c
ddb45f
* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> 2.22.1-1
ddb45f
- Update to 2.22.1
ddb45f
cbb0cd
* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> 2.22.0-1
cbb0cd
- Update to 2.22.0
cbb0cd
18400d
* Tue Feb 26 2008 Matthias Clasen <mclasen@redhat.com> 2.21.92-1
18400d
- Update to 2.21.92
18400d
762bb3
* Fri Feb 15 2008 Matthias Clasen <mclasen@redhat.com> 2.21.90-2
762bb3
- Rebuild
762bb3
Seth Vidal 75f7f2
* Tue Jan 29 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.90-1
Seth Vidal 75f7f2
- 2.21.90
Seth Vidal 75f7f2
- rebuild for new libsoup
Seth Vidal 75f7f2
Seth Vidal 75f7f2
Seth Vidal 77414a
* Mon Jan  7 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-2
Seth Vidal 77414a
- drop in seahorse-agent.sh to xinit - closes bug 427466 but will mean
Seth Vidal 77414a
  that seahorse agent will start if it is installed - even on kde or xfce
Seth Vidal 77414a
  desktops :(
Seth Vidal 77414a
Seth Vidal 933043
* Thu Jan  3 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-1
Seth Vidal 933043
- upgrade to 2.21.4
Seth Vidal 933043
Seth Vidal 933043
Seth Vidal 6b7a9e
* Sat Dec  1 2007 Matt Domsch <mdomsch at fedoraproject.org> 2.21.3-1
Seth Vidal 6b7a9e
- upgrade to 2.21.3
Seth Vidal 6b7a9e
- enable avahi integration
Seth Vidal 6b7a9e
- rpmlint cleanups: remove rpath, unneeded .so, tag config files
Seth Vidal 6b7a9e
Seth Vidal d4673a
* Wed Aug 22 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal d4673a
- fix license tag
Seth Vidal d4673a
- rebuild for fun!
Seth Vidal d4673a
Seth Vidal 1c65ba
* Fri Jul 20 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal 1c65ba
- disable gedit plugin in rawhide, for now :(
Seth Vidal 1c65ba
Seth Vidal efff9e
* Tue Jun 26 2007 Seth Vidal <skvidal at fedoraproject.org>
Seth Vidal efff9e
- update to 1.0.1
Seth Vidal 7dc003
Seth Vidal 765b68
* Sun Aug 13 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 765b68
- re-enable gedit
Seth Vidal 765b68
- update to 0.8.1
Seth Vidal 765b68
Seth Vidal 28c676
* Tue Mar  7 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 28c676
- added openldap-devel buildreq to hopefully close bug # 184124
Seth Vidal 28c676
Seth Vidal 58be84
* Thu Feb 23 2006 Seth Vidal <skvidal at linux.duke.edu>
Seth Vidal 58be84
- Patch from John Thacker for rh bug #182694 
Seth Vidal 58be84
Seth Vidal 58be84
Seth Vidal 51f83e
* Mon Jan 16 2006 Seth Vidal <skvidal at linux.duke.edu> - 0.8-2
Seth Vidal 51f83e
- added configure patch for it to build
Seth Vidal 51f83e
- disable gedit plugins until seahorse gets fixed to work with gedit 2.13+
Seth Vidal 51f83e
Seth Vidal 210092
* Wed Oct 26 2005 Seth Vidal <skvidal@phy.duke.edu> - 0.8-1
Seth Vidal 210092
- 0.8
Seth Vidal 210092
Seth Vidal f31adf
* Thu Jul 28 2005 Seth Vidal <skvidal@phy.duke.edu> - 0.7.9-1
Seth Vidal f31adf
- 0.7.9
Seth Vidal f31adf
94659b
* Wed May 25 2005 Jeremy Katz <katzj@redhat.com> - 0.7.7-3
94659b
- make sure all files are included
94659b
- BR nautilus-devel
94659b
efc14b
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.7.7-2
efc14b
- rebuild on all arches
efc14b
Seth Vidal aeda9f
* Thu May  5 2005 Seth Vidal <skvidal@phy.duke.edu> 0.7.7-1
Seth Vidal aeda9f
- 0.7.7
Seth Vidal aeda9f
Seth Vidal a2d4c7
* Tue Apr 19 2005 Seth Vidal <skvidal at phy.duke.edu> 0.7.6-4
Seth Vidal a2d4c7
- something innocuous to test on
Seth Vidal a2d4c7
Seth Vidal a2d4c7
60a651
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
60a651
- rebuilt
60a651
pcompton 64b515
* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-2
pcompton 64b515
- desktop entry fixes.
pcompton 64b515
pcompton 64b515
* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-1
pcompton 64b515
- 0.7.6.
7603b9
Seth Vidal 51f83e
* Mon Nov 09 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.5
Seth Vidal 51f83e
- BuildReq scrollkeeper.
Seth Vidal 51f83e
Seth Vidal 51f83e
* Wed Oct 22 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.4
Seth Vidal 51f83e
- Uncommented .la removal.
Seth Vidal 51f83e
Seth Vidal 51f83e
* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.3
Seth Vidal 51f83e
- Grabbed new copy os source from upstream.
Seth Vidal 51f83e
- Fixed path on Source0, to allow direct download.
Seth Vidal 51f83e
- BuildReq desktop-file-utils.
Seth Vidal 51f83e
Seth Vidal 51f83e
* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.2
Seth Vidal 51f83e
- Fixed file permission on source tarball.
Seth Vidal 51f83e
- Fixed Group.
Seth Vidal 51f83e
- Removed aesthetic comments.
Seth Vidal 51f83e
- Brought more in line with current spec template.
Seth Vidal 51f83e
Seth Vidal 51f83e
* Sun Aug 17 2003 Phillip Compton <pcompton[AT]proteinmedia.com> 0:0.7.3-0.fdr.1
Seth Vidal 51f83e
- Fedorification.
Seth Vidal 51f83e
- Added path to Source0.
Seth Vidal 51f83e
- Added URL.
Seth Vidal 51f83e
- buildroot -> RPM_BUILD_ROOT.
Seth Vidal 51f83e
- BuildReq libgnomeui-devel, eel2-devel, gpgme03-devel.
Seth Vidal 51f83e
- BuildReq gettext.
Seth Vidal 51f83e
- post Req GConf2.
Seth Vidal 51f83e
- post/postun Req scrollkeeper.
Seth Vidal 51f83e
- .la/.a removal.
Seth Vidal 51f83e
- cosmetic changes.
Seth Vidal 51f83e
Seth Vidal 51f83e
* Fri May 02 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.3-1
Seth Vidal 51f83e
- 0.7.3 Release
Seth Vidal 51f83e
Seth Vidal 51f83e
* Wed Apr 23 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.1-3
Seth Vidal 51f83e
- Rebuilt against gpgme 0.3.15
Seth Vidal 51f83e
Seth Vidal 51f83e
* Sat Apr 12 2003 Matthew Hall <matt@ecsc.co.uk> 0.7.1-2
Seth Vidal 51f83e
- RedHat 9 Rebuild
Seth Vidal 51f83e
Seth Vidal 51f83e
* Sun Jan 26 2003 Matthew Hall <matt@ecsc.co.uk>
Seth Vidal 51f83e
- New Spec File
Seth Vidal 51f83e