Blame python-pysword.spec

Tim 9b41205
%global srcname pysword
Tim cdb68c0
%global commit 9a15ab595f24f934c4871e5989b3769ed8d4f9c2
Tim 9b41205
%global sum Open source python API wrapper for Sword Bible files
Tim 9b41205
%global desc %{expand: A native Python reader of the SWORD Project Bible Modules.
Tim 9b41205
Reads SWORD bible files (not commentaries etc.)
Tim 9b41205
Detection of locally installed Swrod bible modules.
Tim 9b41205
Supports all known SWORD module formats (ztext, ztext4, rawtext, rawtext4)
Tim 9b41205
Read from zipped modules, like those available from
Tim 9b41205
http://www.crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles
Tim 9b41205
Cleans the extracted text of OSIS, GBF or ThML tags. 
Tim 9b41205
Supports both python 2 and 3 (tested with 2.7 and 3.5) }
Tim 9b41205
Tim 9b41205
Summary: %{sum}
Tim 9b41205
Name: python-%{srcname}
Tim cdb68c0
Version: 0.2.7
a1a27d1
Release: 6%{?dist}
Tim 9b41205
Source0: https://gitlab.com/tgc-dk/%{srcname}/repository/archive.tar.gz?ref=%{version}#/%{srcname}-%{version}.tar.gz
Tim cdb68c0
Source1: testdata-0.2.7.tar.gz
Tim 9b41205
License: GPLv2
Tim 9b41205
BuildArch: noarch
Tim 9b41205
Tim 9b41205
URL: https://gitlab.com/tgc-dk/pysword
Tim 9b41205
Tim 9b41205
BuildRequires:  desktop-file-utils
Tim 9b41205
BuildRequires:  python3-devel
Tim 9b41205
BuildRequires:  python3-setuptools
Tim 9b41205
Tim 9b41205
%description
Tim 9b41205
%{desc}
Tim 9b41205
Tim 9b41205
%package -n python3-%{srcname}
Tim 9b41205
Summary:        %{sum}
Tim 9b41205
%{?python_provide:%python_provide python3-%{srcname}}
Tim 9b41205
Tim 9b41205
%description -n python3-%{srcname}
Tim 9b41205
%{desc}
Tim 9b41205
Tim 9b41205
%prep
Tim 9b41205
%autosetup -n %{srcname}-%{version}-%{commit}
Tim 9b41205
%autosetup -N -T -D -a 1 -n %{srcname}-%{version}-%{commit}
Tim 9b41205
Tim 9b41205
%build
Tim 9b41205
%py3_build
Tim 9b41205
Tim 9b41205
%install
Tim 9b41205
%py3_install
Tim 9b41205
Tim 9b41205
%check
Tim 9b41205
%{__python3} setup.py test
Tim 9b41205
Tim 9b41205
%files -n python-%{srcname}
Tim 9b41205
%license LICENSE
Tim 9b41205
%doc README.rst
Tim 9b41205
%{python3_sitelib}
Tim 9b41205
Tim 9b41205
%changelog
a1a27d1
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-6
a1a27d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a1a27d1
07609ca
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.7-5
07609ca
- Rebuilt for Python 3.10
07609ca
491d7ba
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-4
491d7ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
491d7ba
0de9c86
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-3
0de9c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0de9c86
a46c56d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.7-2
a46c56d
- Rebuilt for Python 3.9
a46c56d
9835d44
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-1
9835d44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9835d44
Tim cdb68c0
* Thu Dec 19 2019 Tim Bentley <Tim.Bentley@openlp.org>  - 0.2.7-0
Tim cdb68c0
- Upstream release
Tim cdb68c0
93fb523
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.6-8
93fb523
- Rebuilt for Python 3.8.0rc1 (#1748018)
93fb523
32aa983
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.6-7
32aa983
- Rebuilt for Python 3.8
32aa983
Tim 0d49c8e
* Fri Aug 09 2019 Tim Bentley <Tim.Bentley@openlp.org>  - 0.2.6-0
Tim 0d49c8e
- Upstream release
Tim 0d49c8e
c4acebd
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-6
c4acebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c4acebd
6f09856
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-5
6f09856
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6f09856
3588fc4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-4
3588fc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3588fc4
eba71d8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.5-3
eba71d8
- Rebuilt for Python 3.7
eba71d8
Tim e873e52
* Mon Mar 26 2018 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.5-2
Tim e873e52
- 0.2.5 Release repackage
Tim e873e52
Tim 9b41205
* Fri Mar 23 2018 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.5-1
Tim 9b41205
- 0.2.5 Release repackage
Tim 9b41205
Tim 9b41205
* Sat Mar 17 2018 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.4-1
Tim 9b41205
- 0.2.4 Release repackage
Tim 9b41205
Tim 9b41205
* Sun Feb 11 2018 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.3-1
Tim 9b41205
- 0.2.3 Release repackage
Tim 9b41205
Tim 9b41205
* Sat Nov 26 2016 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.3-0
Tim 9b41205
- 0.2.3 Release