Name: Nini BuildRequires: mono-devel, nant, unzip URL: http://nini.sf.net License: MIT Group: System Environment/Libraries Version: 1.1.0 Release: 1%{?dist} Summary: A .NET framework for reading INI files. Source: http://prdownloads.sourceforge.net/nini/%{name}-%{version}.zip Patch0: %{name}-paths.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) # Mono only available on these: ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x # %define debug_package %{nil} # This is a mono package %description Nini is an uncommonly powerful .NET configuration library designed to help build highly configurable applications quickly. %package devel Summary: A .NET framework for reading INI files. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Nini is an uncommonly powerful .NET configuration library designed to help build highly configurable applications quickly. %prep %setup -q -n %{name} rm -rf Bin/ %patch0 -p1 %build # Use system mono.snk key ln -s /etc/pki/mono/mono.snk Source/Nini.snk nant -buildfile:Source/Nini.build build-mono %install %{__rm} -rf $RPM_BUILD_ROOT # install pkgconfig file cat > %{name}.pc <