anish 2f5a140
Name: zanata-python-client
Anish Patil 8f11294
Version: 1.3.21
4543d90
Release: 2%{?dist}
anish 2f5a140
Summary: Python Client for Zanata Server
anish 2f5a140
License: LGPLv2+
anish 2f5a140
URL: http://zanata.org
anish dc42b55
Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz
anish 2f5a140
anish 2f5a140
anish 2f5a140
BuildArch: noarch
anish 2f5a140
BuildRequires: python-setuptools
anish 2f5a140
Requires: python-polib >= 1.0.0-1
anish 2f5a140
Requires: python-httplib2 >= 0.7.4-6
anish 2f5a140
%if 0%{?rhel} < 6
anish 2f5a140
Requires: python-hashlib
anish 2f5a140
Requires: python-simplejson
anish 2f5a140
%endif
anish 2f5a140
anish 2f5a140
Conflicts: python-json
anish 2f5a140
BuildRequires: python2-devel
anish 2f5a140
anish 2f5a140
Provides:       flies-python-client = %{version}-%{release}
anish 2f5a140
Obsoletes:      flies-python-client < 1.1
anish 2f5a140
anish 2f5a140
%description
anish 2f5a140
Zanata Python client is a client that communicate with Zanata server.
anish 2f5a140
anish 2f5a140
%prep
anish 2f5a140
%setup -q
anish 2f5a140
anish 2f5a140
%build
anish 2f5a140
%{__python2} setup.py build
anish 2f5a140
cp -pr zanataclient/VERSION-FILE build/lib/zanataclient
anish 2f5a140
anish 2f5a140
%install
anish 2f5a140
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
anish 70aaacc
rm -rf $RPM_BUILD_ROOT/%{_docdir}
anish 2f5a140
anish 2f5a140
%files
anish 2f5a140
%doc README COPYING.LESSER zanata.ini CHANGELOG
anish 2f5a140
%{python2_sitelib}/*
anish 2f5a140
%{_bindir}/*
anish 2f5a140
anish 70aaacc
anish 2f5a140
%changelog
4543d90
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.21-2
4543d90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4543d90
Anish Patil 8f11294
* Tue Mar 03 2015 Anish Patil <apatil@redhat.com> - 1.3.21-1
Anish Patil 8f11294
- Upstream has released new version
Anish Patil 8f11294
Anish Patil 7875ad8
* Mon Mar 02 2015 Anish Patil <apatil@redhat.com> - 1.3.20-1
Anish Patil 7875ad8
- Upstream has released new version
Anish Patil 7875ad8
Anish Patil 269a7e8
* Mon Feb 23 2015 Anish Patil <apatil@redhat.com> - 1.3.19-1
Anish Patil 2c5ad46
- Upstream has released new version
Anish Patil 2c5ad46
anish 16f2048
* Wed Dec 03 2014 Anish Patil <apatil@redhat.com> - 1.3.18-1
anish 16f2048
- Upstream has released new version
anish 16f2048
anish 70aaacc
* Thu Nov 06 2014 Anish Patil <apatil@redhat.com> - 1.3.16-2
anish 70aaacc
- New package guidelines,removed doc dir at the end of install
anish 70aaacc
anish 19a45c3
* Fri Sep 19 2014 Anish Patil <apatil@redhat.com> - 1.3.16-1
anish dc42b55
- Upstream has released new version
anish dc42b55
anish 19a45c3
* Fri Jul 25 2014 Anish Patil <apatil@redhat.com> - 1.3.15-1
anish 2f5a140
- Incorporated package review comments
anish 2f5a140
anish 2f5a140
* Thu Jul 24 2014 Anish Patil <apatil@redhat.com> - 1.3.14-2
anish 2f5a140
- Incorporated package review comments
anish 2f5a140
anish 2f5a140
* Tue Jul 22 2014 Anish Patil <apatil@redhat.com> - 1.3.14-1
anish 2f5a140
- Upstream has released new version
anish 2f5a140
anish 2f5a140
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.13-3
anish 2f5a140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
anish 2f5a140
anish 2f5a140
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.13-2
anish 2f5a140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
anish 2f5a140
anish 2f5a140
* Wed Nov 21 2012 Sean Flanigan <sflaniga@redhat.com> - 1.3.13-1
anish 2f5a140
- Use dict instead of nested loop
anish 2f5a140
- Ensure that msgstr_plural is always set for plural strings
anish 2f5a140
- Rename message to poentry for consistency
anish 2f5a140
anish 2f5a140
* Thu Nov 15 2012 Sean Flanigan <sflaniga@redhat.com> - 1.3.12-1
anish 2f5a140
- Revised test files
anish 2f5a140
- Use PUT instead of POST/PUT when pushing source documents
anish 2f5a140
- Change Flies to Zanata in messages
anish 2f5a140
anish 2f5a140
* Tue Aug 07 2012 Ding-Yi Chen <dchen@redhat.com> - 1.3.11-1
anish 2f5a140
- Updated: CHANGELOG and setup.py
anish 2f5a140
anish 2f5a140
* Tue Aug 07 2012 Ding-Yi Chen <dchen@redhat.com> - 1.3.10-1
anish 2f5a140
- Fixed rhbz#727833, "Copy previous translations:True" is ambiguous
anish 2f5a140
anish 2f5a140
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
anish 2f5a140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
anish 2f5a140
anish 2f5a140
* Mon Jul 16 2012 James Ni <jni@redhat.com> - 1.3.8-1
anish 2f5a140
- Fix issue of po/publican push and po/publican pull command for project_type
anish 2f5a140
- Fixed rhbz826821, glossary-push failed on big compendium po file
anish 2f5a140
- Add link of trouble shooting page to error message
anish 2f5a140
- Fix bypass ssl certificate check issue
anish 2f5a140
- Change Delete to Deleting
anish 2f5a140
anish 2f5a140
* Wed Jun 13 2012 James Ni <jni@redhat.com> - 1.3.7-1
anish 2f5a140
- Fixed rhbz#827316, failed to push pot with msgid_plural against 1.6 server
anish 2f5a140
- Fixed rhbz#826798, zanata pull fail to pull
anish 2f5a140
- Fixed rhbz#814593, "TypeError: 'unicode' object does not support item assignment" when pulling translation from server
anish 2f5a140
- Fixed rhbz#820046, Python client generates empty msgctxt "" when pushing
anish 2f5a140
- Fixed rhbz#795643, Python client pushes extracted comments instead of translator comments
anish 2f5a140
- Fix the query param of skeletons
anish 2f5a140
- Add option --disable-ssl-cert to python client
anish 2f5a140
- Add help message for noskeletons option in pull, change content of Error 403
anish 2f5a140
- Fixed the query param of skeletons
anish 2f5a140
- Implment --push-type option, omit --push-trans when specify --push-type option
anish 2f5a140
- Implement glossary delete command
anish 2f5a140
- Refactoring code and remove duplicate code
anish 2f5a140
anish 2f5a140
* Thu Apr 26 2012 James Ni <jni@redhat.com> - 1.3.5-1
anish 2f5a140
- Fixed rhbz#814593, "TypeError: 'unicode' object does not support item assignment" when pulling translation from server
anish 2f5a140
- Part of rhbz#736898, implement push-trans-only option in python client so that user can do offline translation
anish 2f5a140
- Fixed rhbz#814503, backtrace for zanata glossary push without "zanata.xml"
anish 2f5a140
- Fixed rhbz#798084, Python client does not show helpful error when missing project id for 'project info' command
anish 2f5a140
- Fixed rhbz#796039, Python client not recognizing source directories with pot files only in sub-directories.
anish 2f5a140
- Fixed rhbz#795643, Python client pushes extracted comments instead of translator comments
anish 2f5a140
- Fixed rhbz#744277, output more informative error message for unescaped quote
anish 2f5a140
- Add msgid_plural and msgstr_plural support in python client (for server >=1.6)
anish 2f5a140
- Add skeletons query parameter support in pull command
anish 2f5a140
- Replace the address of FSF in license
anish 2f5a140
- Add status code to error message
anish 2f5a140
anish 2f5a140
* Tue Feb 21 2012 James Ni <jni@redhat.com> - 1.3.4-1
anish 2f5a140
- Fixed rhbz#795237: zanata python client still display depreciate help on "version create"
anish 2f5a140
- Fixed rhbz#727386: zanata po push does not assume working directory
anish 2f5a140
- Fixed rhbz#754869: The python client is pulling some files with a wrong path
anish 2f5a140
- Fixed rhbz#768877: python client breaks PO file when no translation found
anish 2f5a140
- Fixed rhbz#748727: US31 As a translator I want the appropriate character encoding for my language to be used so that
anish 2f5a140
                     the content is saved in the correct encoding format
anish 2f5a140
- Add warning for retired project/version
anish 2f5a140
anish 2f5a140
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
anish 2f5a140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
anish 2f5a140
anish 2f5a140
* Thu Dec 01 2011 James Ni <jni@redhat.com> - 1.3.3-1
anish 2f5a140
- Fixed rhbz#751648: Error reading path names with dots
anish 2f5a140
- Fixed rhbz#754869: The python client is pulling some files with a wrong path
anish 2f5a140
- Fixed rhbz#756617: python client process file name not correctly for file name contain more than one dot
anish 2f5a140
- Fixed rhbz#753719: Python client explodes on F16
anish 2f5a140
anish 2f5a140
* Thu Nov 03 2011 James Ni <jni@redhat.com> - 1.3.2-1
anish 2f5a140
- csv format glossary file support
anish 2f5a140
- support msgctxt when pushing po file to server and pull it back
anish 2f5a140
- Fixed rhbz#696474: python client should only delete files from server which no longer exist on client
anish 2f5a140
- Fixed rhbz#690687: python client should log a message for 301 redirects
anish 2f5a140
- Fixed rhbz#738510: --help does not list commands
anish 2f5a140
- Fixed rhbz#740159: python client: pushing with --merge=import does not overwrite the translation on server
anish 2f5a140
- Fixed rhbz#738907: can not disable copytrans option when pushing source to zanata server with --no-copytrans option
anish 2f5a140
- Fixed rhbz#738514: zanata push fails with JSON error
anish 2f5a140
- Fixed rhbz#750675: zanata client pull command should be able to reconstruct msgctxt and msgid
anish 2f5a140
anish 2f5a140
* Wed Aug 31 2011 James Ni <jni@redhat.com> - 1.3.1-1
anish 2f5a140
- Fix #rhbz734270 Reinstate publican/po push '--import-po' option
anish 2f5a140
anish 2f5a140
* Tue Aug 23 2011 James Ni <jni@redhat.com> - 1.3.0-1
anish 2f5a140
- Change to version 1.3.0
anish 2f5a140
anish 2f5a140
* Wed Jul 20 2011 James Ni <jni@redhat.com> - 1.2.6-1
anish 2f5a140
- Change to version 1.2.6
anish 2f5a140
anish 2f5a140
* Thu Jun 02 2011 James Ni <jni@redhat.com> - 1.2.5-3
anish 2f5a140
- Fix error of onditionals of RHEL5
anish 2f5a140
anish 2f5a140
* Thu Jun 02 2011 James Ni <jni@redhat.com> - 1.2.5-2
anish 2f5a140
- Add python-simplejson requires for RHEL5
anish 2f5a140
anish 2f5a140
* Wed Jun 01 2011 James Ni <jni@redhat.com> - 1.2.5-1
anish 2f5a140
- Bug fix and usability improvement
anish 2f5a140
anish 2f5a140
* Thu May 05 2011 James Ni <jni@redhat.com> - 1.2.4-1
anish 2f5a140
- Fix rhbz#702192
anish 2f5a140
anish 2f5a140
* Wed Apr 27 2011 James Ni <jni@redhat.com> - 1.2.3-1
anish 2f5a140
- Fix rhbz#696474, rhbz#696515, rhbz#696437, rhbz#698028, rhbz#695598, rhbz#690687
anish 2f5a140
anish 2f5a140
* Fri Apr 01 2011 James Ni <jni@redhat.com> - 1.2.2-1
anish 2f5a140
- Change to version 1.2.2
anish 2f5a140
anish 2f5a140
* Thu Mar 31 2011 James Ni <jni@redhat.com> - 1.2.1-2
anish 2f5a140
- Fixed rpmlint: W: self-obsoletion flies-python-client < 1.3 obsoletes flies-python-client = 1.2.1-1.el6
anish 2f5a140
anish 2f5a140
* Thu Mar 31 2011 James Ni <jni@redhat.com> - 1.2.1-1
anish 2f5a140
- Add flies command for fallback
anish 2f5a140
anish 2f5a140
* Thu Mar 31 2011 James Ni <jni@redhat.com> - 1.2.0-2
anish 2f5a140
- Change the URL, add Provides and Obsoletes, add zanata.ini in %%doc
anish 2f5a140
anish 2f5a140
* Tue Mar 29 2011 James Ni <jni@redhat.com> - 1.2.0-1
anish 2f5a140
- Rename the flies to zanata, rename fliesclient to zanataclient
anish 2f5a140
anish 2f5a140
* Thu Mar 10 2011 James Ni <jni@redhat.com> - 0.8.1-1
anish 2f5a140
- Fix bugs(issue 272, issue 274) of retrieve the translation
anish 2f5a140
anish 2f5a140
* Mon Mar 07 2011 James Ni <jni@redhat.com> - 0.8.0-1
anish 2f5a140
- Stable release
anish 2f5a140
anish 2f5a140
* Wed Feb 23 2011 James Ni <jni@redhat.com> - 0.7.6-1
anish 2f5a140
- Rename the command line option, add a Logger class for better output, set copytrans default value to true, make the
anish 2f5a140
  extensions to a list of gettext and comment.
anish 2f5a140
anish 2f5a140
* Tue Feb 22 2011 James Ni <jni@redhat.com> - 0.7.4-1
anish 2f5a140
- Fix issue 245:stop processing when type 'n', Add version service, rename the command line option and help info, add
anish 2f5a140
  InternalServerError
anish 2f5a140
anish 2f5a140
* Mon Feb 21 2011 James Ni <jni@redhat.com> - 0.7.3-1
anish 2f5a140
- Fix issue 244, issue 245, issue 247 and issue 30, add command list for 'flies publican', rewrite the README
anish 2f5a140
anish 2f5a140
* Fri Feb 18 2011 James Ni <jni@redhat.com> - 0.7.2-1
anish 2f5a140
- Rename the gettextutil to publicanutil, Remove the translator from textFlowTarget, Add more help info
anish 2f5a140
anish 2f5a140
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
anish 2f5a140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
anish 2f5a140
anish 2f5a140
* Mon Jan 24 2011 James Ni <jni@redhat.com> - 0.7.1-1
anish 2f5a140
- Fix typo and make help more user-friendly
anish 2f5a140
anish 2f5a140
* Mon Jan 24 2011 James Ni <jni@redhat.com> - 0.7.0-1
anish 2f5a140
- Add copyTrans option to client
anish 2f5a140
anish 2f5a140
* Tue Jan 04 2011 James Ni <jni@redhat.com> - 0.6.1-1
anish 2f5a140
- Add exception handler for empty extensions
anish 2f5a140
anish 2f5a140
* Wed Dec 29 2010 James Ni <jni@redhat.com> - 0.6.0-1
anish 2f5a140
- Create pot file with content retrieved from server, user could choose keep or delete the content on the flies
anish 2f5a140
  server when pushing publican
anish 2f5a140
anish 2f5a140
* Tue Dec 07 2010 James Ni <jni@redhat.com> - 0.5.1-1
anish 2f5a140
- Fix bugs and add some log info for python client
anish 2f5a140
anish 2f5a140
* Thu Dec 02 2010 James Ni <jni@redhat.com> - 0.5.0-1
anish 2f5a140
- Make the script compatible with python 2.4
anish 2f5a140
anish 2f5a140
* Mon Nov 29 2010 James Ni <jni@redhat.com> - 0.4.0-1
anish 2f5a140
- Add command line option for translation folder and importPo, read and write multiple locale, read the flies.xml first
anish 2f5a140
anish 2f5a140
* Wed Oct 27 2010 James Ni <jni@redhat.com> - 0.3.2-1
anish 2f5a140
- Fix a typo in project creation
anish 2f5a140
anish 2f5a140
* Fri Oct 22 2010 James Ni <jni@redhat.com> - 0.3.1-1
anish 2f5a140
- Fix an issue in project creation
anish 2f5a140
anish 2f5a140
* Thu Oct 21 2010 James Ni <jni@redhat.com> - 0.3.0-1
anish 2f5a140
- Fix the issues in extension support and update translation command
anish 2f5a140
anish 2f5a140
* Thu Oct 21 2010 James Ni <jni@redhat.com> - 0.2.0-1
anish 2f5a140
- Add extension support and update translation command
anish 2f5a140
anish 2f5a140
* Wed Sep 29 2010 James Ni <jni@redhat.com> - 0.1.0-1
anish 2f5a140
- Modify the user configuration file and command line options
anish 2f5a140
anish 2f5a140
* Wed Sep 08 2010 James Ni <jni@redhat.com> - 0.0.6-1
anish 2f5a140
- Try to resolve the dependency of python-setuptools
anish 2f5a140
anish 2f5a140
* Mon Sep 06 2010 James Ni <jni@redhat.com> - 0.0.5-2
anish 2f5a140
- Add requires for python-polib
anish 2f5a140
anish 2f5a140
* Tue Aug 31 2010 James Ni <jni@redhat.com> - 0.0.5-1
anish 2f5a140
- Rename resservice in flieslib/__init__.py to docservice
anish 2f5a140
anish 2f5a140
* Mon Aug 30 2010 James Ni <jni@redhat.com> - 0.0.4-1
anish 2f5a140
- Rename module resservice to docservice
anish 2f5a140
- Set encode to UTF-8 when generate hash value for msgid of the po file
anish 2f5a140
- Change functions in flies.py to private
anish 2f5a140
- Fix a exception in projectservice and exception handler in flies
anish 2f5a140
- Provide more "readable" output for httplib2 connection error
anish 2f5a140
anish 2f5a140
* Wed Aug 25 2010 James Ni <jni@redhat.com> - 0.0.3-3
anish 2f5a140
- Add an error handler for list command
anish 2f5a140
- Add cache to httplib2
anish 2f5a140
anish 2f5a140
* Mon Aug 23 2010 James Ni <jni@redhat.com> - 0.0.3-2
anish 2f5a140
- Include the example configuration file
anish 2f5a140
- Add dependency of python-httplib2 for fedora 12(and less)
anish 2f5a140
anish 2f5a140
* Fri Aug 20 2010 James Ni <jni@redhat.com> - 0.0.3-1
anish 2f5a140
- Modify the __inin__.py for importing the module
anish 2f5a140
- Modify the spec file and fliesrc.txt
anish 2f5a140
- Rewrite README file for giving detail of commands and how to implement flies-python-lib in program
anish 2f5a140
- Add COPYING.LESSER
anish 2f5a140
anish 2f5a140
* Mon Aug 16 2010 James Ni <jni@redhat.com> - 0.0.2-2
anish 2f5a140
- remove shebang from flies.py
anish 2f5a140
anish 2f5a140
* Fri Aug 13 2010 James Ni <jni@redhat.com> - 0.0.2-1
anish 2f5a140
- initial package (#623871)