Tomas Hozza 11f43d
%global srcname couchdb
Tomas Hozza 11f43d
%global sum A Python library for working with CouchDB
Tomas Hozza 11f43d
%global desc Providing a convenient high level interface for the CouchDB server.
32dece
Tomas Hozza 11f43d
Name:           python-%{srcname}
Tomas Hozza 11f43d
Version:        1.0
a439b2
Release:        14%{?dist}
Tomas Hozza 11f43d
Summary:        %{sum}
32dece
32dece
License:        BSD
Tomas Hozza 11f43d
URL:            https://github.com/djc/%{srcname}-python
32dece
Source0:        http://pypi.python.org/packages/source/C/CouchDB/CouchDB-%{version}.tar.gz
32dece
32dece
BuildArch:      noarch
7f460c
BuildRequires:  python3-devel
7f460c
BuildRequires:  python3-setuptools
32dece
Tomas Hozza 11f43d
Patch0:         python-couchdb-0.9-shebang.patch
32dece
32dece
%description
Tomas Hozza 11f43d
%{desc}
Tomas Hozza 11f43d
Tomas Hozza 11f43d
Tomas Hozza 11f43d
%package -n python3-%{srcname}
Tomas Hozza 11f43d
Summary:        %{sum}
7f460c
Conflicts:      python2-%{srcname} < 1.0-13
Tomas Hozza 11f43d
%{?python_provide:%python_provide python3-%{srcname}}
Tomas Hozza 11f43d
Tomas Hozza 11f43d
%description -n python3-%{srcname}
Tomas Hozza 11f43d
%{desc}
32dece
32dece
32dece
%prep
32dece
%setup -q -n CouchDB-%{version}
32dece
%patch0 -p1
32dece
32dece
32dece
%build
Tomas Hozza 11f43d
%py3_build
32dece
32dece
32dece
%install
Tomas Hozza 11f43d
%py3_install
32dece
32dece
Tomas Hozza 11f43d
%check
Tomas Hozza 11f43d
#%%{__python3} setup.py test
32dece
Tomas Hozza 11f43d
7f460c
%files -n python3-%{srcname}
Tomas Hozza 11f43d
%license COPYING
Tomas Hozza 11f43d
%doc README.rst ChangeLog.rst
32dece
%{_bindir}/couchdb-dump
32dece
%{_bindir}/couchdb-load
32dece
%{_bindir}/couchdb-replicate
32dece
%{_bindir}/couchpy
Tomas Hozza 11f43d
%{python3_sitelib}/couchdb
Tomas Hozza 11f43d
%{python3_sitelib}/CouchDB*
32dece
32dece
32dece
%changelog
a439b2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-14
a439b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a439b2
7f460c
* Mon Feb 11 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-13
7f460c
- Subpackage python2-couchdb has been removed
7f460c
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
7f460c
fa3764
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12
fa3764
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fa3764
1223c9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
1223c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1223c9
1dc4e4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-10
1dc4e4
- Rebuilt for Python 3.7
1dc4e4
013af1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-9
013af1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
013af1
d87be5
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0-8
d87be5
- Update Python 2 dependency declarations to new packaging standards
d87be5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d87be5
7266b6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
7266b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7266b6
7c4825
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
7c4825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7c4825
ccd873
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0-5
ccd873
- Rebuild for Python 3.6
ccd873
ecd26e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
ecd26e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ecd26e
423246
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
423246
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
423246
653761
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
653761
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
653761
Tomas Hozza 11f43d
* Sat Sep 26 2015 Tomas Hozza <thozza@gmail.com> - 1.0-1
Tomas Hozza 11f43d
- Update to 1.0
Tomas Hozza 11f43d
- Updated upstrean URL to point to GitHub
Tomas Hozza 11f43d
- Distribute also Python3 version of the package
Tomas Hozza 11f43d
ba4a72
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
ba4a72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ba4a72
203dbb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
203dbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
203dbb
3740a8
* Thu Oct 17 2013 Jonathan Steffan <jsteffan@fedoraproject.org> - 0.9-1
3740a8
- Update to 0.9
3740a8
- Remove couchdb requirement (RHBZ#622899)
3740a8
- Remove -devel package
3740a8
999e17
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-8
999e17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
999e17
d61a3e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-7
d61a3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d61a3e
0173bf
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-6
0173bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0173bf
03a09e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-5
03a09e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
03a09e
6dd039
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
6dd039
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6dd039
ef3c0d
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.1-3
ef3c0d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ef3c0d
b4bbdc
* Wed Dec 16 2009 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6.1-2
b4bbdc
- Brown paper bag packaging fixes for the Fedora build system
b4bbdc
32dece
* Tue Dec 15 2009 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6.1-1
32dece
- New upstream version
32dece
32dece
* Mon Dec 14 2009 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6-2
32dece
- Specfile cleanup based on review feedback
32dece
32dece
* Wed Nov 25 2009 Sebastian Dziallas <sebastian@when.com> - 0.6-1
32dece
- initial packaging