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:        10%{?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
Patch1:         transifex-client-resource-creation.patch
BuildArch:      noarch

Requires:       python2-setuptools
Requires:       python2-backports-ssl_match_hostname 
BuildRequires:  python2-devel
BuildRequires:  python2-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
%patch1 -p1

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitelib}/*
%{_bindir}/*

%changelog
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10-10
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-6
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Mar 23 2014 Nick Bebout <nb@fedoraproject.org> - 0.10-2
- Add patch to fix resource creation

* 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