[python-transifex] import spec file

Luis Enrique Bazán De León lbazan at fedoraproject.org
Tue Sep 11 19:21:56 UTC 2012


commit 031c46f113ed2518e56ac4aea90251bcfd506b0e
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Tue Sep 11 14:22:36 2012 -0500

    import spec file

 python-transifex.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/python-transifex.spec b/python-transifex.spec
new file mode 100644
index 0000000..e45a4bf
--- /dev/null
+++ b/python-transifex.spec
@@ -0,0 +1,53 @@
+%global pkgname python-transifex
+
+Name:           python-transifex
+Version:        0.1.6
+Release:        2%{?dist}
+Summary:        Python API to transifex
+
+License:        BSD
+URL:            https://github.com/jakul/python-transifex/
+Source0:        http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch:      noarch
+Requires:       python-requests
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-requests
+BuildRequires:  python-mock
+
+%description
+A python API to transifex
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root %{buildroot}
+rm -rf %{buildroot}%{python-sitelib}/transifex/tests
+
+%check
+python -m unittest 'transifex.tests.api'
+ 
+%files
+%doc README.rst
+%{python_sitelib}/transifex
+%{python_sitelib}/python_transifex-*.egg-info
+
+%changelog
+* Thu Sep 05 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.6-2
+- fix orther in install section for remove tests
+- fix changelog date
+- add Requires python-requests
+
+* Thu Sep 05 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.6-1
+- New Upstream Version and no need a patch to fix the bug
+
+* Tue Sep 04 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.5-2
+- fix bug #854333 comment 1
+
+* Tue Sep 04 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.5-1
+- Initial Import


More information about the scm-commits mailing list