Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Anish Patil
3c799fc52d Upstream has released new sources 2015-03-03 21:11:42 +05:30
Anish Patil
1dadf5cf99 Build for v 1.3.20 version 2015-03-02 14:41:23 +05:30
Anish Patil
6fceaee206 Upstream has released new version 2015-02-23 12:31:48 +05:30
anish
5206f08db6 Upstream has released new sources 2014-12-03 12:46:46 +05:30
anish
78758e2853 Build for zanata-python-client-1.3.16-2 2014-11-06 15:45:41 +05:30
anish
2fbdee12e6 Upstream has released new version 2014-09-19 15:42:35 +05:30
anish
ad317505ec Build for new release 2014-09-11 11:23:22 +05:30
anish
a9c36af781 Added new spec file 2014-07-28 13:32:45 +05:30
3 changed files with 48 additions and 24 deletions

7
.gitignore vendored
View file

@ -16,3 +16,10 @@
/zanata-python-client-1.3.11.tar.gz
/zanata-python-client-1.3.12.tar.gz
/zanata-python-client-1.3.13.tar.gz
/1.3.14.tar.gz
/v1.3.15.tar.gz
/v1.3.16.tar.gz
/v1.3.18.tar.gz
/v1.3.19.tar.gz
/v1.3.20.tar.gz
/v1.3.21.tar.gz

View file

@ -1 +1 @@
ab55b8c8141239c18fb6399f733eac72 zanata-python-client-1.3.13.tar.gz
3bca1ea2002799f69901c46dad070a1f v1.3.21.tar.gz

View file

@ -1,15 +1,11 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: zanata-python-client
Version: 1.3.13
Release: 3%{?dist}
Version: 1.3.21
Release: 1%{?dist}
Summary: Python Client for Zanata Server
Group: Development/Tools
License: LGPLv2+
URL: http://zanata.org
Source0: https://github.com/downloads/zanata/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools
@ -21,9 +17,8 @@ Requires: python-simplejson
%endif
Conflicts: python-json
%if 0%{?fedora} < 13
BuildRequires: python-devel
%endif
BuildRequires: python2-devel
Provides: flies-python-client = %{version}-%{release}
Obsoletes: flies-python-client < 1.1
@ -34,25 +29,47 @@ Zanata Python client is a client that communicate with Zanata server.
%setup -q
%build
python setup.py build
%{__python2} setup.py build
cp -pr zanataclient/VERSION-FILE build/lib/zanataclient
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
# Remove excessive docs
rm -rf $RPM_BUILD_ROOT/usr/share/doc/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_docdir}
%files
%defattr(-, root, root, -)
%doc README COPYING COPYING.LESSER zanata.ini CHANGELOG
%{python_sitelib}/*
%doc README COPYING.LESSER zanata.ini CHANGELOG
%{python2_sitelib}/*
%{_bindir}/*
%changelog
* Tue Mar 03 2015 Anish Patil <apatil@redhat.com> - 1.3.21-1
- Upstream has released new version
* Mon Mar 02 2015 Anish Patil <apatil@redhat.com> - 1.3.20-1
- Upstream has released new version
* Mon Feb 23 2015 Anish Patil <apatil@redhat.com> - 1.3.19-1
- Upstream has released new version
* Wed Dec 03 2014 Anish Patil <apatil@redhat.com> - 1.3.18-1
- Upstream has released new version
* Thu Nov 06 2014 Anish Patil <apatil@redhat.com> - 1.3.16-2
- New package guidelines,removed doc dir at the end of install
* Fri Sep 19 2014 Anish Patil <apatil@redhat.com> - 1.3.16-1
- Upstream has released new version
* Fri Jul 25 2014 Anish Patil <apatil@redhat.com> - 1.3.15-1
- Incorporated package review comments
* Thu Jul 24 2014 Anish Patil <apatil@redhat.com> - 1.3.14-2
- Incorporated package review comments
* Tue Jul 22 2014 Anish Patil <apatil@redhat.com> - 1.3.14-1
- Upstream has released new version
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@ -175,7 +192,7 @@ rm -rf $RPM_BUILD_ROOT
- Add flies command for fallback
* Thu Mar 31 2011 James Ni <jni@redhat.com> - 1.2.0-2
- Change the URL, add Provides and Obsoletes, add zanata.ini in %doc
- Change the URL, add Provides and Obsoletes, add zanata.ini in %%doc
* Tue Mar 29 2011 James Ni <jni@redhat.com> - 1.2.0-1
- Rename the flies to zanata, rename fliesclient to zanataclient