libgnome-keyring/libgnome-keyring.spec

107 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libgnome-keyring (Version 2.29.4)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libgnome-keyring
Version: 2.29.4
Release: 2
Url: http://www.gnome.org/
Group: Development/Libraries/GNOME
License: GPLv2+ ; LGPLv2.1+
Summary: Library to integrate with the GNOME Keyring
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.29/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM libgnome-keyring-no-match.patch vuntz@opensuse.org -- Taken partly from upstream, to make gnome-keyring work
Patch0: libgnome-keyring-no-match.patch
BuildRequires: dbus-1-devel
BuildRequires: eggdbus-devel
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: glib2-devel
BuildRequires: libgcrypt-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The GNOME Keyring is a program that keep password and other secrets
for users. The libgnome-keyring library is used by applications to
integrate with the GNOME Keyring system.
%package -n libgnome-keyring0
License: GPLv2+ ; LGPLv2.1+
Group: Development/Libraries/GNOME
Summary: Library to integrate with the GNOME Keyring
Recommends: gnome-keyring
%description -n libgnome-keyring0
The GNOME Keyring is a program that keep password and other secrets
for users. The libgnome-keyring library is used by applications to
integrate with the GNOME Keyring system.
%package devel
License: GPLv2+ ; LGPLv2.1+
Group: Development/Libraries/GNOME
Summary: Library to integrate with the GNOME Keyring - Development Files
Requires: libgnome-keyring0 = %{version}
Requires: glib2-devel
Provides: gnome-keyring-devel = %{version}
Obsoletes: gnome-keyring-devel < %{version}
Provides: gnome-keyring-doc = %{version}
Obsoletes: gnome-keyring-doc < %{version}
%description devel
The GNOME Keyring is a program that keep password and other secrets
for users. The libgnome-keyring library is used by applications to
integrate with the GNOME Keyring system.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%configure \
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%post -n libgnome-keyring0 -p /sbin/ldconfig
%postun -n libgnome-keyring0 -p /sbin/ldconfig
%files -n libgnome-keyring0
%defattr (-, root, root)
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
%{_libdir}/libgnome-keyring.so.*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gnome-keyring-1
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/gnome-keyring
%changelog