[gtk-sharp-beans] Initial import
Nathaniel McCallum
npmccallum at fedoraproject.org
Tue Oct 5 13:38:52 UTC 2010
commit 67110ba56821aefb8bd8d31b897f1e98dcae4510
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date: Tue Oct 5 09:38:58 2010 -0400
Initial import
.gitignore | 1 +
gtk-sharp-beans.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c6e912b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mono-gtk-sharp-beans-2.14.0-0-ga2ff3c5.tar.gz
diff --git a/gtk-sharp-beans.spec b/gtk-sharp-beans.spec
new file mode 100644
index 0000000..d0a3132
--- /dev/null
+++ b/gtk-sharp-beans.spec
@@ -0,0 +1,74 @@
+%define tagname 2.14.0
+%define relvers 0
+%define tsuffix ga2ff3c5
+%define dsuffix 19023b6
+
+%global debug_package %{nil}
+
+Name: gtk-sharp-beans
+Version: %{tagname}
+Release: 2%{?dist}
+Summary: C# bindings for GTK+ API not included in GTK#
+
+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: gio-sharp-devel
+BuildRequires: gtk-sharp2-devel
+BuildRequires: gtk-sharp2-gapi
+
+%package devel
+Summary: Development files for gtk-sharp-beans
+Requires: pkgconfig
+Requires: %{name} = %{version}-%{release}
+
+%description
+C# bindings for GTK+ API not included in GTK#
+
+%description devel
+Development files for gtk-sharp-beans
+
+%prep
+%setup -q -n mono-%{name}-%{dsuffix}
+
+%build
+# Fix libdir
+sed -i 's|$(prefix)/lib/|$(libdir)/|' Makefile.am
+sed -i 's|${exec_prefix}/lib|@libdir@|' %{name}-2.0.pc.in
+
+NOCONFIGURE=true ./autogen.sh
+%configure
+make #%{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%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
+
+%changelog
+* Sun Oct 03 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 2.14.0-2
+- Fix -devel requires (pkgconfig, base package)
+- Disable debuginfo
+
+* Wed Sep 29 2010 Nathaniel McCallum <nathaniel at natemccallum.com> - 2.14.0-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..5893a61 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7ad55e25b0338927dcb501445f847450 mono-gtk-sharp-beans-2.14.0-0-ga2ff3c5.tar.gz
More information about the scm-commits
mailing list