[transifex-client/el6/master] Initial import (#678680)

Domingo Becker beckerde at fedoraproject.org
Wed Feb 23 12:53:19 UTC 2011


commit f0e5dbc45a3346ba7d918b8e96e662f8dd6f33f9
Author: Domingo Becker <domingobecker at gmail.com>
Date:   Wed Feb 23 09:53:23 2011 -0300

    Initial import (#678680)

 .gitignore            |    1 +
 sources               |    1 +
 transifex-client.spec |   61 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4b62acb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/226a185088ef.tar.bz2
diff --git a/sources b/sources
index e69de29..b5e4642 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+204495e251f14439c112844deca518ab  226a185088ef.tar.bz2
diff --git a/transifex-client.spec b/transifex-client.spec
new file mode 100644
index 0000000..af20958
--- /dev/null
+++ b/transifex-client.spec
@@ -0,0 +1,61 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%global hgcs 226a185088ef
+
+Name:           transifex-client
+Version:        0.4.2
+Release:        0.3.%{hgcs}hg%{?dist}
+Summary:        Command line tool for Transifex translation management
+
+Group:          Development/Languages
+License:        GPLv2
+URL:            http://transifex.org
+# To retrieve, use: https://bitbucket.org/indifex/% {name}/get/% {hgcs}.tar.bz2
+#Source0:       transifex-client-% {hgcs}.tar.bz2
+Source:         https://bitbucket.org/indifex/%{name}/get/%{hgcs}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+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 -n %{name}
+
+
+%build
+# Remove CFLAGS=... for noarch packages (unneeded)
+CFLAGS="$RPM_OPT_FLAGS" %{__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
+* Mon Feb 21 2011 Paul W. Frields <stickster at gmail.com> - 0.4.2-0.3.226a185088efhg
+- Add BR for python-setuptools
+
+* Sat Feb 19 2011 Domingo Becker <domingobecker at gmail.com> - 0.4.2-0.2.226a185088efhg
+- fixed some rpmlint warnings
+
+* Thu Feb 17 2011 Paul W. Frields <stickster at gmail.com> - 0.4.2-0.1.226a185088efhg
+- Initial packaging
+


More information about the scm-commits mailing list