%define name gkeyfile-sharp %define version 0.1 %define git 662c5c1 %define release %mkrel 3 Summary: Mono bindings for the GKeyFile library Name: %{name} Version: %{version} Release: %{release} # http://github.com/mono/gkeyfile-sharp/tarball/GKEYFILE_SHARP_0_1 Source0: %{name}-%{version}.tar.gz Patch0: gkeyfile-sharp-0.1-fix-dllimports.patch License: LGPLv2+ Group: System/Libraries Url: http://github.com/mono/gkeyfile-sharp BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: mono-devel BuildRequires: glib2-devel BuildRequires: glib-sharp2 >= 2.12.9 BuildRequires: gtk-sharp2-devel Requires: glib2 #gw filter out deps from *.dll.config %define _requires_exceptions ^lib.*0$ %description This is a Mono binding for the GKeyFile library. %package devel Summary: Development files for %name Requires: %name = %version-%release Group: Development/Other %description devel This is a Mono binding for the GKeyFile library. %prep %setup -q -n mono-%name-%git %apply_patches ./autogen.sh %build ./configure --prefix=%_prefix --libdir=%_prefix/lib %make %install rm -rf %{buildroot} %makeinstall_std pkgconfigdir=%_datadir/pkgconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS %_prefix/lib/mono/%name %_prefix/lib/mono/gac/%name %files devel %defattr(-,root,root) %_datadir/pkgconfig/%name.pc %changelog * Thu Mar 24 2011 boklm <boklm> 0.1-3.mga1 + Revision: 76144 - rebuild for bug #497 * Tue Mar 15 2011 ennael <ennael> 0.1-2.mga1 + Revision: 71948 - imported package gkeyfile-sharp * Sun Jan 16 2011 Götz Waschk <waschk@mandriva.org> 0.1-2mdv2011.0 + Revision: 631143 - fix dll import statements - update URL * Fri Sep 10 2010 Götz Waschk <waschk@mandriva.org> 0.1-1mdv2011.0 + Revision: 577097 - switch to 0.1 release tarball - update file list * Mon Aug 30 2010 Götz Waschk <waschk@mandriva.org> 0.1-0.20100818.1mdv2011.0 + Revision: 574372 - import gkeyfile-sharp