[python-transifex/el6] import spec and tar

Luis Enrique Bazán De León lbazan at fedoraproject.org
Wed Sep 12 15:04:18 UTC 2012


commit f248cc48108963aa3dc1dfae1950ad75869a2c44
Author: Luis Bazan <lbazan at fedoraproject.org>
Date:   Wed Sep 12 10:05:07 2012 -0500

    import spec and tar

 .gitignore            |    1 +
 python-transifex.spec |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1afb1cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-transifex-0.1.6.tar.gz
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
diff --git a/sources b/sources
index e69de29..0628ff2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e3b3bbda7d9a83a52c2d3e2055e63e61  python-transifex-0.1.6.tar.gz


More information about the scm-commits mailing list