Blob Blame History Raw
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}

Name:           transifex-client
Version:        0.10
Release:        1%{?dist}
Summary:        Command line tool for Transifex translation management

Group:          Development/Languages
License:        GPLv2
URL:            http://transifex.org
Source:         http://pypi.python.org/packages/source/t/transifex-client/%{name}-%{version}.tar.gz
#Patch0:         transifex-client-0.9-use-system-wide-backports-ssl.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       python-setuptools
Requires:       python-backports-ssl_match_hostname 
BuildRequires:  python-devel
BuildRequires:  python-setuptools

%description
The Transifex Command-line Client is a command line tool that enables
you to easily manage your translations within a project without the
need of an elaborate UI system.

%prep
%setup -q
#%patch0 -p1

%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 README.rst
%{python_sitelib}/*
%{_bindir}/*

%changelog
* Wed Jan 15 2014 Luis Bazan <lbazan@fedoraproject.org> - 0.10-1
- New Upstream version

* Mon Dec 02 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9.1-1
- New Upstream version

* Thu Oct 24 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9-7
- change python-backports-ssl to python-backports-ssl_match_hostname

* Thu Oct 24 2013 Eduardo Echeverria <echevemaster@gmail.com> - 0.9-6
- Use system wide python-backports-ssl

* Wed Oct 09 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9-5
- Fix BZ #1002546

* Mon Aug 26 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9-4
- remove dependency

* Thu Aug 15 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9-3
- add new dependency

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri May 24 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.9-1
- New Upstream Version

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Wed May 09 2012 Domingo Becker <domingobecker@gmail.com> - 0.7.3-1
- Update to new upstream version.

* Sat Feb 25 2012 Domingo Becker <domingobecker@gmail.com> - 0.7.2-1
- Update to new upstream version.

* Thu Feb 16 2012 Domingo Becker <domingobecker@gmail.com> - 0.7-1
- Update to new upstream version.

* Tue Jan 10 2012 Domingo Becker <domingobecker@gmail.com> - 0.6.1-1
- Update to new upstream version.

* Tue Dec 20 2011 Domingo Becker <domingobecker@gmail.com> - 0.6-1
- Update to new upstream version.

* Fri Jun 24 2011 Domingo Becker <domingobecker@gmail.com> - 0.5.2-1
- Update to new upstream version.

* Wed May 18 2011 Domingo Becker <domingobecker@gmail.com> - 0.5-1
- New upstream version.

* Mon Feb 21 2011 Paul W. Frields <stickster@gmail.com> - 0.4.2-0.3.226a185088efhg
- Add BR for python-setuptools

* Sat Feb 19 2011 Domingo Becker <domingobecker@gmail.com> - 0.4.2-0.2.226a185088efhg
- fixed some rpmlint warnings

* Thu Feb 17 2011 Paul W. Frields <stickster@gmail.com> - 0.4.2-0.1.226a185088efhg
- Initial packaging