[ufl-python] Initial import

Fabian Affolter fab at fedoraproject.org
Mon Sep 3 19:38:24 UTC 2012


commit f9760af4be71cb833ee43f29787c5576b9f9f4a1
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Mon Sep 3 21:38:05 2012 +0200

    Initial import

 .gitignore      |    1 +
 sources         |    1 +
 ufl-python.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8373a6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ufl-python-0.1-pre.tar.gz
diff --git a/sources b/sources
index e69de29..8ede0fc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+80d5c06a88a854898d4083ad06ffb4d3  ufl-python-0.1-pre.tar.gz
diff --git a/ufl-python.spec b/ufl-python.spec
new file mode 100644
index 0000000..017d6db
--- /dev/null
+++ b/ufl-python.spec
@@ -0,0 +1,55 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
+
+Name:           ufl-python
+Version:        0.1
+Release:        0.2.pre%{?dist}
+Summary:        A Python implementation of Universal Foundation Libraries
+
+Group:          Development/Languages
+License:        GPLv3
+URL:            http://pypi.python.org/pypi/ufl-python
+Source0:        http://pypi.python.org/packages/source/u/%{name}/%{name}-%{version}-pre.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+
+%description
+A Python implementation of Universal Foundation Libraries: language
+agnostic, general purpose standard library extensions.
+
+
+%prep
+%setup -q -n %{name}-%{version}-pre
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/ufl/
+%{python_sitelib}/ufl*.egg-info
+
+
+%changelog
+* Sun Sep 02 2012 Fabian Affolter <mail at fabian-affolter.ch> - 0.1-0.2.pre
+- 
+
+* Sat Mar 26 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0.1-0.1.pre
+- Initial package


More information about the scm-commits mailing list