%define name gkeyfile-sharp %define version 0.1 %define git 662c5c1 %define release %mkrel 4 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 * Sat Jan 12 2013 umeabot <umeabot> 0.1-4.mga3 + Revision: 351656 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * 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