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

#
# spec file for package gnome-keyring-sharp (Version 1.0.0)
#
# Copyright (c) 2008 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.0
Release:        1
License:        X11/MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnome-keyring gnome-keyring-devel gtk2-devel mono-devel ndesk-dbus
Requires:       ndesk-dbus gnome-keyring
Source:         %{name}-%{version}.tar.bz2
Patch0:         pkgconfigdir.patch
AutoReqProv:    on
BuildArch:      noarch

%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:        X11/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 --prefix=/usr
make %{?jobs:-j%jobs}

%install
make install DESTDIR="$RPM_BUILD_ROOT"

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%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
* Wed Aug 06 2008 ajorgensen@novell.com
- Update to 1.0.0
  * Has a stable API version
  * Installs in the GAC
* Fri Jun 22 2007 maw@suse.de
- Remove some crud that caused the build to fail.
* Thu Jun 21 2007 maw@suse.de
- Initial drop.