add seahorse-agent xinit script

This commit is contained in:
Seth Vidal 2008-01-08 03:33:32 +00:00
parent 9330434c19
commit 77414ada93
2 changed files with 16 additions and 1 deletions

4
seahorse-agent.sh Normal file
View File

@ -0,0 +1,4 @@
!/bin/sh
if [ -x /usr/bin/seahorse-agent ]; then
export `/usr/bin/seahorse-agent --variables`
fi

View File

@ -1,6 +1,6 @@
Name: seahorse Name: seahorse
Version: 2.21.4 Version: 2.21.4
Release: 1%{?dist} Release: 2%{?dist}
Summary: GNOME2 interface for gnupg Summary: GNOME2 interface for gnupg
Group: User Interface/Desktops Group: User Interface/Desktops
# seahorse is GPLv2+ # seahorse is GPLv2+
@ -8,6 +8,7 @@ Group: User Interface/Desktops
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://seahorse.sourceforge.net/ URL: http://seahorse.sourceforge.net/
Source: http://ftp.gnome.org/pub/GNOME/sources/seahorse/2.21/%{name}-%{version}.tar.gz Source: http://ftp.gnome.org/pub/GNOME/sources/seahorse/2.21/%{name}-%{version}.tar.gz
Source1: seahorse-agent.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -59,6 +60,10 @@ rm -rf ${RPM_BUILD_ROOT}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall %makeinstall
mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/seahorse-agent.sh
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang seahorse %find_lang seahorse
@ -136,6 +141,7 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO %doc AUTHORS COPYING NEWS README TODO
%{_bindir}/* %{_bindir}/*
%{_sysconfdir}/X11/xinit/xinitrc.d/seahorse-agent.sh
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/%{name}/* %{_datadir}/%{name}/*
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
@ -162,6 +168,11 @@ fi
%changelog %changelog
* Mon Jan 7 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-2
- drop in seahorse-agent.sh to xinit - closes bug 427466 but will mean
that seahorse agent will start if it is installed - even on kde or xfce
desktops :(
* Thu Jan 3 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-1 * Thu Jan 3 2008 Seth Vidal <skvidal at fedoraproject.org> 2.21.4-1
- upgrade to 2.21.4 - upgrade to 2.21.4