gnome-keyring/gnome-keyring.spec

78 lines
1.8 KiB
RPMSpec

%define gtk2_version 2.3.1
Summary: A framework for managing user passwords and other secrets
Name: gnome-keyring
Version: 0.1.3
Release: 1
Copyright: GPL/LGPL
Group: System Environment/Libraries
Source: gnome-keyring-%{version}.tar.bz2
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: gtk2 >= %{gtk2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
%description
gnome-keyring manages passwords and other types of secrets
for the user, storing them encrypted with a main password.
Applications can use the gnome-keyring library to integrate
with the keyring.
%package devel
Summary: The files needed for gnome-keyring application development.
Group: Development/Libraries
Requires: %name = %{PACKAGE_VERSION}
Requires: glib2-devel
%description devel
The gnome-keyring-devel package contains the libraries and
include files that you can use to develop applications that
use gnome-keyring.
%prep
%setup -q -n gnome-keyring-%{version}
%build
%configure --disable-gtk-doc
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%find_lang gnome-keyring
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f gnome-keyring.lang
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING COPYING.LIB
%{_libdir}/lib*.so.*
%{_bindir}/*
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%changelog
* Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 0.1.3-1
- update to 0.1.3
* Mon Jan 26 2004 Bill Nottingham <notting@redhat.com>
- tweak summary
* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-2
- devel package only needs glib2-devel, not gtk2-devel
* Fri Jan 23 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-1
- First version