%global svn_rev 133722 %global debug_package %{nil} Name: gnome-keyring-sharp Version: 1.0.1 Release: 0.8.%{svn_rev}svn%{?dist} Summary: Mono implementation of GNOME Keyring Group: System Environment/Libraries License: MIT URL: http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp # Tarfile created from svn snapshot # svn co -r %{svn-rev} \ # svn://anonsvn.mono-project.com/source/trunk/gnome-keyring-sharp \ # gnome-keyring-sharp-%{version} # tar cjf gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2 --exclude=.svn \ # gnome-keyring-sharp-%{version} Source0: gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2 # Patch to directly p/invoke libgnome-keyring instead of using # deprecated socket interface taken from upstream bug report: # https://bugzilla.novell.com/show_bug.cgi?id=589166 Patch1: gnome-keyring-sharp-1.0.1-new-api.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Mono only available on these: ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x BuildRequires: autoconf automake libtool BuildRequires: mono-devel ndesk-dbus-devel monodoc BuildRequires: gtk-sharp2-devel libgnome-keyring-devel %description gnome-keyring-sharp is a fully managed implementation of libgnome-keyring. When the gnome-keyring-daemon is running, you can use this to retrive/store confidential information such as passwords, notes or network services user information. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} Requires: monodoc %description doc The %{name}-doc package contains documentation for %{name}. %prep %setup -q %patch1 -p0 -F 2 -b .new-api %build autoreconf -f -i %configure --disable-static make # sharing violation when doing parallel build #%{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT strip $RPM_BUILD_ROOT%{_libdir}/libgnome-keyring-sharp-glue.so find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{_prefix}/lib/mono/gnome-keyring-sharp-1.0 %{_prefix}/lib/mono/gac/Gnome.Keyring %{_libdir}/libgnome-keyring-sharp-glue.so %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/%{name}-1.0.pc %files doc %defattr(-,root,root,-) %{_prefix}/lib/monodoc/sources/Gnome.Keyring.* %changelog * Fri Feb 25 2011 Dan HorĂ¡k - 1.0.1-0.8.133722svn - updated the supported arch list * Tue Feb 08 2011 Fedora Release Engineering - 1.0.1-0.7.133722svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu May 27 2010 Christian Krause - 1.0.1-0.6.133722svn - Add patch to directly p/invoke libgnome-keyring instead of using deprecated socket interface (BZ 595457) * Thu Aug 20 2009 Toshio Kuratomi - 1.0.1-0.5.133722svn%{?dist} - Rebuild for ppc64 since previous build was obsoleted. * Thu Aug 20 2009 Michel Salim - 1.0.1-0.4.133722svn%{?dist} - Update to r133722 - Disable building on sparc64 * Fri Jul 24 2009 Fedora Release Engineering - 1.0.1-0.3.115768svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 01 2009 Xavier Lamien - 1.0.1-0.3.115768svn - Build arch ppc64. * Tue Feb 24 2009 Fedora Release Engineering - 1.0.1-0.2.115768svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 29 2009 Michel Salim - 1.0.1-0.1.115768svn%{?dist} - Update to r115768 * Mon Jul 14 2008 Michel Alexandre Salim - 1.0.0-0.2.87622svn%{?dist} - Disable creation of -debuginfo subpackage * Sun Jul 6 2008 Michel Alexandre Salim - 1.0.0-0.1.87622svn%{?dist} - Initial package