Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce9aefff87 | ||
|
|
5bce63c9fa | ||
|
|
5c745912eb | ||
|
|
24fe514ec2 | ||
|
|
ea49b6aa3e | ||
|
|
49f5b49238 | ||
|
|
371144d9ee | ||
|
|
4d03d0211d | ||
|
|
db9f5b6421 | ||
|
|
0f61e854a6 | ||
|
|
e806e1aa43 | ||
|
|
a71c9f276f |
3 changed files with 50 additions and 17 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -10,3 +10,5 @@
|
||||||
/zpc-v1.4.1.tar.gz
|
/zpc-v1.4.1.tar.gz
|
||||||
/v1.4.2.tar.gz
|
/v1.4.2.tar.gz
|
||||||
/v1.5.0.tar.gz
|
/v1.5.0.tar.gz
|
||||||
|
/v1.5.1.tar.gz
|
||||||
|
/v1.5.2.tar.gz
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
b48962a5930e55f464b81caa96311229 v1.5.0.tar.gz
|
SHA512 (v1.5.2.tar.gz) = c02a110fccb966993a9b95912262820f72987e6aa31cc53fcec0a4a09e6a5d37f2c435b6d19629c71b87431e63f78f6725d789682bd0d6d08329fed0a6a34734
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
%{!?__python2: %global __python2 %{__python}}
|
%{!?__python2: %global __python2 %{__python}}
|
||||||
%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}}
|
%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}}
|
||||||
Name: zanata-python-client
|
Name: zanata-python-client
|
||||||
Version: 1.5.0
|
Version: 1.5.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python Client for Zanata Server
|
Summary: Python Client for Zanata Server
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
@ -10,28 +10,39 @@ URL: http://zanata.org
|
||||||
Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz
|
Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python2-setuptools
|
||||||
Requires: python-polib >= 1.0.0-1
|
|
||||||
Requires: python-httplib2 >= 0.7.4-6
|
|
||||||
Requires: python-lxml
|
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%if 0%{?rhel} < 6
|
%if 0%{?rhel} < 6
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
Requires: python-hashlib
|
|
||||||
Requires: python-simplejson
|
|
||||||
Requires: python-ordereddict
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
#Conflicts: python-json
|
#Conflicts: python-json
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
|
|
||||||
|
%global _description\
|
||||||
|
Zanata Python client is a client that communicate with Zanata server.
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%package -n python2-zanata-client
|
||||||
|
Summary: %summary
|
||||||
|
Requires: python2-polib >= 1.0.0-1
|
||||||
|
Requires: python2-httplib2 >= 0.7.4-6
|
||||||
|
Requires: python2-lxml
|
||||||
|
%if 0%{?rhel}
|
||||||
|
Requires: python-hashlib
|
||||||
|
Requires: python-simplejson
|
||||||
|
Requires: python-ordereddict
|
||||||
|
%endif
|
||||||
Provides: flies-python-client = %{version}-%{release}
|
Provides: flies-python-client = %{version}-%{release}
|
||||||
Obsoletes: flies-python-client < 1.1
|
Obsoletes: flies-python-client < 1.1
|
||||||
|
%{?python_provide:%python_provide python2-zanata-client}
|
||||||
|
# Remove before F30
|
||||||
|
Provides: zanata-python-client = %{version}-%{release}
|
||||||
|
Obsoletes: zanata-python-client < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description -n python2-zanata-client %_description
|
||||||
Zanata Python client is a client that communicate with Zanata server.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
@ -44,16 +55,36 @@ cp -pr zanataclient/VERSION-FILE build/lib/zanataclient
|
||||||
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_docdir}
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}
|
||||||
|
|
||||||
%clean
|
%files -n python2-zanata-client
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst COPYING.LESSER zanata.ini zanata_example.xml CHANGELOG
|
%doc README.rst COPYING.LESSER zanata.ini zanata_example.xml CHANGELOG
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{python2_sitelib}
|
%{python2_sitelib}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2018 Sundeep Anand <suanand@redhat.com> - 1.5.2-1
|
||||||
|
- Upstream update to 1.5.2-1
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.1-5
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.1-4
|
||||||
|
- Python 2 binary package renamed to python2-zanata-client
|
||||||
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Oct 26 2016 Sundeep Anand <suanand@redhat.com> - 1.5.1-1
|
||||||
|
- Upstream update to 1.5.1-1
|
||||||
|
|
||||||
* Fri Apr 15 2016 Sundeep Anand <suanand@redhat.com> - 1.5.0-2
|
* Fri Apr 15 2016 Sundeep Anand <suanand@redhat.com> - 1.5.0-2
|
||||||
- add build requires, v1.5.0 release notes:
|
- add build requires, v1.5.0 release notes:
|
||||||
- Bug 1139950 - Translation files mapping rules
|
- Bug 1139950 - Translation files mapping rules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue