diff --git a/.cvsignore b/.cvsignore index e69de29..bd7eb99 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fontMath-0.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..1960a75 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-fontMath-0_2-2_fc13:HEAD:python-fontMath-0.2-2.fc13.src.rpm:1280123468 diff --git a/python-fontMath.spec b/python-fontMath.spec new file mode 100644 index 0000000..4e6aadb --- /dev/null +++ b/python-fontMath.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-fontMath +Version: 0.2 +Release: 2%{?dist} +Summary: A set of objects for performing math operations on font data + +Group: Development/Tools +License: MIT +URL: http://code.typesupply.com/wiki/FontMath +Source0: http://tools.typesupply.com/downloads/sourcecode/fontMath-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-robofab +Requires: python-robofab + +%description +A set of objects for performing math operations on font data. + +%prep +%setup -q -n fontMath-%{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 +%{python_sitelib}/fontMath +%{python_sitelib}/fontMath-%{version}*.egg-info + +%changelog +* Thu Jul 22 2010 Parag Nemade - 0.2-2 +- few spec cleanups as per suggested in #603641 + +* Thu Jul 22 2010 Parag Nemade - 0.2-1 +- Initial Fedora Release. + diff --git a/sources b/sources index e69de29..3dc04dd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +739ecc87c553180c4978c110230be6f7 fontMath-0.2.tar.gz