[python-ufo2fdk/el6/master] Initial release
pnemade
pnemade at fedoraproject.org
Mon Aug 2 05:25:33 UTC 2010
commit d212b30bc6195366dd279fa5250f16e7f490baa1
Author: Parag Nemade <pnemade at redhat.com>
Date: Mon Aug 2 11:03:19 2010 +0530
Initial release
python-ufo2fdk.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
2 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/python-ufo2fdk.spec b/python-ufo2fdk.spec
new file mode 100644
index 0000000..304fe48
--- /dev/null
+++ b/python-ufo2fdk.spec
@@ -0,0 +1,53 @@
+%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())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+Name: python-ufo2fdk
+Version: 0.1
+Release: 2%{?dist}
+Summary: A bridge between UFOs and the AFKDO
+
+Group: Development/Tools
+License: MIT
+URL: http://code.typesupply.com/wiki/ufo2fdk
+Source0: http://tools.typesupply.com/downloads/sourcecode/ufo2fdk-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python-devel python-robofab
+Requires: python-robofab fonttools
+
+%description
+A bridge between UFOs and the AFKDO.
+
+%prep
+%setup -q -n ufo2fdk-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc License.txt documentation/build/html
+%{python_sitelib}/ufo2fdk
+%{python_sitelib}/ufo2fdk-%{version}*.egg-info
+
+%changelog
+* Thu Jul 22 2010 Parag Nemade <pnemade AT redhat.com> - 0.1-2
+- spec cleanup as per rh#603639
+
+* Thu Jul 22 2010 Parag Nemade <pnemade AT redhat.com> - 0.1-1
+- Initial Fedora Release.
+
diff --git a/sources b/sources
index e69de29..84660e5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd9d9ea3d41169f3d1f50abbdaa0dbb0 ufo2fdk-0.1.tar.gz
More information about the scm-commits
mailing list