%define tagname GUDEV_SHARP_0_1 %define relvers 0 %define tsuffix g2c53e2f %define dsuffix cd3e7df %global debug_package %{nil} Name: gudev-sharp Version: 0.1 Release: 2%{?_dist_release} Summary: C# bindings for gudev Group: Development/Libraries License: LGPLv2 URL: http://github.com/mono/%{name} # Releases are tarballs downloaded from a tag at github. # They are releases, but the file is generated on the fly. # The actual URL is: http://github.com/mono/$name/tarball/$tagname Source0: mono-%{name}-%{tagname}-%{relvers}-%{tsuffix}.tar.gz BuildRequires: mono-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: libgudev1-devel BuildRequires: gtk2-devel BuildRequires: gtk-sharp2 BuildRequires: gtk-sharp2-gapi # Mono only available on these: ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x Vendor: Project Vine Distribution: Vine Linux %package devel Summary: Development files for gudev-sharp Requires: pkgconfig Requires: %{name} = %{version}-%{release} %description C# bindings for gudev %description devel Development files for gudev-sharp %prep %setup -q -n mono-%{name}-%{dsuffix} %build sed -i 's|^\./configure.*||' autogen.sh # Remove the configure step, we'll do it manually ./autogen.sh %configure --libdir=%{_prefix}/lib make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT chmod 644 `find $RPM_BUILD_ROOT%{_prefix}/lib/mono -name '*.dll.config'` rm -f $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}-1.0/%{name}.dll.config mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT/%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT/%{_libdir}/pkgconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog LICENSE.LGPL NEWS %{_prefix}/lib/mono/gac/%{name} %{_prefix}/lib/mono/%{name}-1.0 %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/%{name}-1.0.pc %changelog * Sun Dec 29 2013 Yoji TOYODA 0.1-2 - rebuild with VineSeed environment * Sun Jun 03 2012 Yoji TOYODA 0.1-1 - initial build for Vine Linux * Fri Jan 13 2012 Fedora Release Engineering - 0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Jan 01 2012 Christian Krause - 0.1-7 - Add mandatory BR mono-devel * Mon Oct 31 2011 Christian Krause - 0.1-6 - Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org/wiki/Packaging:Mono) * Wed Feb 09 2011 Fedora Release Engineering - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 10 2011 Dan HorĂ¡k - 0.1-4 - updated the supported arch list * Mon Oct 04 2010 Nathaniel McCallum - 0.1-3 - Fix directory ownership * Sun Oct 03 2010 Nathaniel McCallum - 0.1-2 - Fix -devel requires (pkgconfig, base package) - Disable debuginfo * Wed Sep 29 2010 Nathaniel McCallum - 0.1-1 - Initial version