Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c799fc52d | ||
|
|
1dadf5cf99 | ||
|
|
6fceaee206 | ||
|
|
5206f08db6 | ||
|
|
78758e2853 | ||
|
|
2fbdee12e6 | ||
|
|
ad317505ec | ||
|
|
a9c36af781 |
3 changed files with 48 additions and 24 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
ab55b8c8141239c18fb6399f733eac72 zanata-python-client-1.3.13.tar.gz
|
||||
3bca1ea2002799f69901c46dad070a1f v1.3.21.tar.gz
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue