[python-collada] initial commit

John Morris zultron at fedoraproject.org
Sat Mar 9 07:17:34 UTC 2013


commit 18c6cbcb3e3e797346577f61bafdcc9980ff4ae4
Author: John Morris <john at zultron.com>
Date:   Fri Jan 25 03:33:29 2013 -0600

    initial commit

 .gitignore          |    4 ++++
 python-collada.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..afe195e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pycollada-*.tar.gz
+
+/python-collada-*.src.rpm
+/noarch/
diff --git a/python-collada.spec b/python-collada.spec
new file mode 100644
index 0000000..df82857
--- /dev/null
+++ b/python-collada.spec
@@ -0,0 +1,50 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+%global realname pycollada
+
+Name:           python-collada
+Version:        0.4
+Release:        1%{?dist}
+Summary:        A python module for creating, editing and loading COLLADA
+
+License:        BSD
+URL:            https://github.com/pycollada/pycollada
+# https://github.com/pycollada/pycollada/archive/v0.4.tar.gz
+Source0:        %{realname}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+
+%description
+pycollada is a python module for creating, editing and loading COLLADA, which
+is a COLLAborative Design Activity for establishing an interchange file format
+for interactive 3D applications.
+
+The library allows you to load a COLLADA file and interact with it as a python
+object. In addition, it supports creating a collada python object from scratch,
+as well as in-place editing.
+
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+ 
+%files
+%doc AUTHORS.md CHANGELOG.rst COPYING README.markdown
+%{python_sitelib}/*
+
+
+%changelog
+* Wed Jan 23 2013 Richard Shaw <hobbes1069 at gmail.com> - 0.4-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..b71a132 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7645e39dd857f3480cbb63769037fbbf  pycollada-0.4.tar.gz


More information about the scm-commits mailing list