[gudev-sharp] Initial import

Nathaniel McCallum npmccallum at fedoraproject.org
Mon Oct 4 19:27:36 UTC 2010


commit 1cd4817f8727bdaa6bb593b9ff4757c8e3c4f7d5
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date:   Mon Oct 4 15:27:42 2010 -0400

    Initial import

 .gitignore       |    1 +
 gudev-sharp.spec |   79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2b0dce3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mono-gudev-sharp-GUDEV_SHARP_0_1-0-g2c53e2f.tar.gz
diff --git a/gudev-sharp.spec b/gudev-sharp.spec
new file mode 100644
index 0000000..e406fe6
--- /dev/null
+++ b/gudev-sharp.spec
@@ -0,0 +1,79 @@
+%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:        3%{?dist}
+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
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libgudev1-devel
+BuildRequires:  gtk2-devel
+BuildRequires:  gtk-sharp2-devel
+BuildRequires:  gtk-sharp2-gapi
+
+%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|${exec_prefix}/lib|@libdir@|' %{name}-1.0.pc.in # Fix libdir
+sed -i 's|^\./configure.*||' autogen.sh # Remove the configure step, we'll do it manually
+./autogen.sh
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+chmod 644 `find $RPM_BUILD_ROOT%{_libdir}/mono -name '*.dll.config'`
+rm -f $RPM_BUILD_ROOT%{_libdir}/mono/%{name}-1.0/%{name}.dll.config
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog LICENSE.LGPL NEWS
+%{_libdir}/mono/gac/%{name}
+%{_libdir}/mono/%{name}-1.0
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/%{name}-1.0.pc
+
+%changelog
+* Mon Oct 04 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1-3
+- Fix directory ownership
+
+* Sun Oct 03 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1-2
+- Fix -devel requires (pkgconfig, base package)
+- Disable debuginfo
+
+* Wed Sep 29 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..6c94e8b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e8f78d2c47d1c3751c88647fcb0fc96b  mono-gudev-sharp-GUDEV_SHARP_0_1-0-g2c53e2f.tar.gz


More information about the scm-commits mailing list