[gio-sharp] Initial import

Nathaniel McCallum npmccallum at fedoraproject.org
Mon Oct 4 19:25:53 UTC 2010


commit 7181cef1e124c792ce196df5eb221dcfabc314a7
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date:   Mon Oct 4 15:26:00 2010 -0400

    Initial import

 .gitignore     |    1 +
 gio-sharp.spec |   75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bf41d4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mono-gio-sharp-0.2-0-g07ac6ea.tar.gz
diff --git a/gio-sharp.spec b/gio-sharp.spec
new file mode 100644
index 0000000..f97048d
--- /dev/null
+++ b/gio-sharp.spec
@@ -0,0 +1,75 @@
+%define tagname 0.2
+%define relvers 0
+%define tsuffix g07ac6ea
+%define dsuffix 4159f82
+
+%global debug_package %{nil}
+
+Name:           gio-sharp
+Version:        %{tagname}
+Release:        2%{?dist}
+Summary:        C# bindings for gio
+
+Group:          Development/Libraries
+License:        MIT
+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:  glib2-devel
+BuildRequires:  gtk-sharp2-devel
+BuildRequires:  gtk-sharp2-gapi
+
+%package devel
+Summary:        Development files for gio-sharp
+Requires:       gtk-sharp2-gapi
+Requires:       pkgconfig
+Requires:       %{name} = %{version}-%{release}
+
+%description
+C# bindings for gio
+
+%description devel
+Development files for gio-sharp
+
+%prep
+%setup -q -n mono-%{name}-%{dsuffix}
+
+%build
+sed -i 's|$(prefix)/lib/|$(libdir)/|' gio/Makefile.am # Fix install path
+sed -i 's|${exec_prefix}/lib|@libdir@|' gio/%{name}-2.0.pc.in # Fix libdir
+NOCONFIGURE=true ./autogen-2.22.sh
+%configure
+make # Parallel builds don't work
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+chmod 644 `find $RPM_BUILD_ROOT%{_libdir} -name '*.dll.config'`
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README
+%{_libdir}/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/%{name}-2.0.pc
+%{_datadir}/gapi-2.0/gio-api.xml
+
+%changelog
+* Sun Oct 03 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.2-2
+- Fix -devel requires (pkgconfig, base package)
+- Disable debuginfo
+
+* Wed Sep 29 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.2-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..cff5758 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f619624cad668b5c5c7f0f0f51a4616c  mono-gio-sharp-0.2-0-g07ac6ea.tar.gz


More information about the scm-commits mailing list