Name: gnome-keyring
License: GPL
Group: System/GUI/GNOME
Version: 0.2.0
Release: 20
Distribution: Cinnabar
Vendor: Sun Microsystems, Inc.
Summary: GNOME Key Ring
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/0.1/gnome-keyring-%{version}.tar.bz2
Source1: gnome-keyring-l10n-po-1.3.tar.bz2
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Prereq: /sbin/ldconfig
%define gtk2_version 2.4.0
%define pkgconfig_version 0.15.0
%define gtk_doc_version 1.1
Requires: gtk2 >= %{gtk2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: gtk-doc >= %{gtk_doc_version}
BuildRequires: pkgconfig >= %{pkgconfig_version}
%description
gnome-keyring is a program that keep password and other secrets for
users. It is run as a damon in the session, similar to ssh-agent, and
other applications can locate it by an environment variable.
The program can manage several keyrings, each with its own master
password, and there is also a session keyring which is never stored to
disk, but forgotten when the session ends.
The library libgnome-keyring is used by applications to integrate with
the gnome keyring system.
%package devel
Summary: GNOME Key Ring Library
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: gtk2-devel >= %{gtk2_version}
%description devel
gnome-keyring is a program that keep password and other secrets for
users. It is run as a damon in the session, similar to ssh-agent, and
other applications can locate it by an environment variable.
The program can manage several keyrings, each with its own master
password, and there is also a session keyring which is never stored to
disk, but forgotten when the session ends.
The library libgnome-keyring is used by applications to integrate with
the gnome keyring system.
%prep
%setup -q
/usr/bin/bzcat -dc %SOURCE1|tar xf -
%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
libtoolize --force
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I .
autoheader
automake -a -c -f
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--libexecdir=%{_libexecdir}
make -j $CPUS
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_datadir}/locale/*/LC_MESSAGES/*
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_libexecdir}/gnome-keyring-ask
%files devel
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gnome-keyring-1/*
%{_libdir}/lib*.so
%changelog
* Wed Aug 18 2004 - [email protected]
- removed --disable-gtk-doc since this isn't an option this module's
configure takes.
* Thu Jul 08 2004 - [email protected]
- Updated l10n content to gnome-keyring-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - [email protected]
- ported to rpm4
* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds
* Wed May 12 2004 - [email protected]
- Updated l10n content to gnome-keyring-l10n-po-1.1.tar.bz2
* Tue Apr 13 2004 - [email protected]
- upgraded tarball
* Wed Mar 31 2004 - [email protected]
- replace tar jxf with the more solaris friendly
bzcat piped through tar
* Mon Mar 29 2004 - [email protected]
- Adding gnome-keyring-l10n-po-1.0.tar.bz2 l10n content
* Fri Mar 19 2004 - [email protected]
- Bump to 0.1.91 and remove the uninstalled pc patch
since it's upstream.
* Fri Mar 12 2004 - [email protected]
- define libexecdir in configure args
* Mon Feb 02 2004 - [email protected]
- bump to 0.1.2
- Add patch to generate an -uninstalled.pc file
- Add ACLOCAL_FLAGS env to aclocal invocation
* Mon Dec 15 2003 - [email protected]
- Initial Sun release