[clean-extra-utils] First import

Patrick Uiterwijk puiterwijk at fedoraproject.org
Wed Aug 15 10:47:11 UTC 2012


commit 2618e7d83ef8e6964c1e47f39e28a18a09264b6c
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Wed Aug 15 12:47:01 2012 +0200

    First import

 .gitignore             |    1 +
 clean-extra-utils.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b61d4e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clean-extra-utils-0.1.tar.gz
diff --git a/clean-extra-utils.spec b/clean-extra-utils.spec
new file mode 100644
index 0000000..0f8b339
--- /dev/null
+++ b/clean-extra-utils.spec
@@ -0,0 +1,54 @@
+Name:           clean-extra-utils
+Version:        0.1
+Release:        1%{?dist}
+Summary:        A collection of extra libraries and utilities for the Clean programming language
+
+License:        BSD
+URL:            http://git.fedorahosted.org/git/%{name}.git
+Source0:        http://git.fedorahosted.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.gz
+
+#BuildRequires:  
+Requires:       clean
+
+# This is because this is a library that will be compiled when imported
+#  This is also the reason that there are no binary's in this package
+%global debug_package %{nil}
+
+# This was changed for EPEL5 to the first suggestion
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+
+%description
+This is a collection of libraries and
+utilities for the Clean programming language.
+
+%prep
+%setup -q
+
+%build
+# No building needed
+
+%clean
+rm -rf %{buildroot}
+
+%install
+# This is for EPEL5
+rm -rf %{buildroot}
+mkdir %{buildroot}
+
+mkdir -p %{buildroot}%{_libdir}/clean/extra-utils/
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
+cp %{_builddir}/%{buildsubdir}/{README,COPYING} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
+
+# ArgumentParser
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}/ArgumentParser/
+cp -p %{_builddir}/%{buildsubdir}/ArgumentParser/ArgumentParser.{icl,dcl} %{buildroot}%{_libdir}/clean/extra-utils/
+cp -p %{_builddir}/%{buildsubdir}/ArgumentParser/{ArgumentParser.dcl,example.icl,README} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/ArgumentParser/
+
+%files
+%{_libdir}/clean/extra-utils/
+%doc %{_defaultdocdir}/%{name}-%{version}/
+
+%changelog
+* Wed Jul 11 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 0.1-1
+- Initial RPM package
diff --git a/sources b/sources
index e69de29..a1576eb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84cc9ddb8c3bfd9761d767665c0287dd  clean-extra-utils-0.1.tar.gz


More information about the scm-commits mailing list