File gnome-keyring-sharp.spec of Package gnome-keyring-sharp

#
# spec file for package gnome-keyring-sharp
#
# Copyright (c) 2011 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/
#

# norootforbuild


Name:           gnome-keyring-sharp
Group:          Development/Libraries/Other
Summary:        Managed Implementation of libgnome-keyring
Version:        1.0.2
Release:        1
License:        MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  glib-sharp2 gnome-keyring-devel >= 2.30 mono-devel
BuildRequires:  libtool
Requires:       gnome-keyring >= 2.30
Source:         %{name}-%{version}.tar.bz2
Source99:       %{name}-rpmlintrc
Patch0:         pkgconfigdir.patch
AutoReqProv:    on

%description
When the gnome-keyring-daemon is running, you can use this to
retrieve/store confidential information such as passwords, notes or
network services user information.



%package devel
License:        MIT
Requires:       %{name} = %{version} pkg-config
Summary:        Managed implementation of libgnome-keyring
Group:          Development/Libraries/Other
AutoReqProv:    on

%description devel
When the gnome-keyring-daemon is running, you can use this to retrieve
and store confidential information such as passwords, notes or network
services user information.



%prep
%setup
%patch0

%build
autoreconf -f -i
%configure --disable-static
make %{?jobs:-j%jobs}

%install
make install DESTDIR="$RPM_BUILD_ROOT"
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_libdir}/libgnome-keyring-sharp-glue.so
%dir %{_prefix}/lib/mono/gnome-keyring-sharp-1.0
%{_prefix}/lib/mono/gnome-keyring-sharp-1.0/Gnome.Keyring.dll
%{_prefix}/lib/mono/gac/Gnome.Keyring

%files devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/gnome-keyring-sharp-1.0.pc

%changelog
openSUSE Build Service is sponsored by