3 %bcond_with tests # do not perform "make test"
6 %define egg_name transifex_client
7 %define pypi_name transifex-client
8 Summary: Command line tool for Transifex translation management
13 Group: Development/Tools
14 Source0: https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
15 # Source0-md5: a4eefdf7d29198bc8363e087d26712d1
16 URL: https://www.transifex.com/
17 BuildRequires: python-setuptools
18 BuildRequires: rpm-pythonprov
19 BuildRequires: rpmbuild(macros) >= 1.714
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The Transifex Command-line Client is a command line tool that enables
25 you to easily manage your translations within a project without the
26 need of an elaborate UI system.
32 %py_build %{?with_tests:test}
35 rm -rf $RPM_BUILD_ROOT
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %doc LICENSE README.md
44 %attr(755,root,root) %{_bindir}/tx
45 %{py_sitescriptdir}/%{module}
46 %{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info