LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libgnome-keyring.spec of Package libgnome-keyring (Project openSUSE:11.4)

#
# spec file for package libgnome-keyring (Version 2.32.0)
#
# 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.32.0
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
BuildRequires:  dbus-1-devel
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  glib2-devel
BuildRequires:  libgcrypt-devel
Recommends:     %{name}-lang
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:     %{name}-lang
Recommends:     gnome-keyring
# To make the lang package happy
Provides:       %{name} = %{version}

%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

%build
%configure \
        --disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}
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

%files lang -f %{name}.lang

%changelog