[gkeyfile-sharp] Initial import

Nathaniel McCallum npmccallum at fedoraproject.org
Mon Oct 4 19:29:31 UTC 2010


commit 1de254e2102196b6baaf6c071e57410d8d1c4f50
Author: Nathaniel McCallum <nathaniel at natemccallum.com>
Date:   Mon Oct 4 15:29:37 2010 -0400

    Initial import

 .gitignore          |    1 +
 gkeyfile-sharp.spec |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9188dfc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mono-gkeyfile-sharp-GKEYFILE_SHARP_0_1-0-g07a401a.tar.gz
diff --git a/gkeyfile-sharp.spec b/gkeyfile-sharp.spec
new file mode 100644
index 0000000..ce72a5a
--- /dev/null
+++ b/gkeyfile-sharp.spec
@@ -0,0 +1,78 @@
+%define tagname GKEYFILE_SHARP_0_1
+%define relvers 0
+%define tsuffix g07a401a
+%define dsuffix 662c5c1
+
+%global debug_package %{nil}
+
+Name:           gkeyfile-sharp
+Version:        0.1
+Release:        3%{?dist}
+Summary:        C# bindings for glib2's keyfile implementation
+
+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:  glib2-devel
+BuildRequires:  gtk-sharp2-devel
+BuildRequires:  gtk-sharp2-gapi
+
+%package devel
+Summary:        Development files for gkeyfile-sharp
+Requires:	pkgconfig
+Requires:       %{name} = %{version}-%{release}
+
+%description
+C# bindings for glib2's keyfile implementation
+
+%description devel
+Development files for gkeyfile-sharp
+
+%prep
+%setup -q -n mono-%{name}-%{dsuffix}
+
+%build
+sed -i 's|${exec_prefix}/lib|@libdir@|' %{name}.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}/%{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}
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/%{name}.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..b7dbc4f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+60513de8ae23f86c53a10d2beb0d0da1  mono-gkeyfile-sharp-GKEYFILE_SHARP_0_1-0-g07a401a.tar.gz


More information about the scm-commits mailing list