Blame python-pysword.spec

Tim 9b41205
%global srcname pysword
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 Bentley 2cfca38
Version: 0.2.8
674a36f
Release: 5%{?dist}
Tim 9b41205
Source0: https://gitlab.com/tgc-dk/%{srcname}/repository/archive.tar.gz?ref=%{version}#/%{srcname}-%{version}.tar.gz
Tim Bentley 2cfca38
Source1: testdata-0.2.8.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}
d4f438d
# Remove this in Fedora 38:
d4f438d
Obsoletes:      python-%{srcname} < 0.2.7-7
Tim 9b41205
Tim 9b41205
%description -n python3-%{srcname}
Tim 9b41205
%{desc}
Tim 9b41205
Tim 9b41205
%prep
Tim Bentley 2cfca38
%autosetup -n %{srcname}-%{version}
Tim Bentley 2cfca38
%autosetup -N -T -D -a 1 -n %{srcname}-%{version}
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
d4f438d
%files -n python3-%{srcname}
Tim 9b41205
%license LICENSE
Tim 9b41205
%doc README.rst
c1aed13
%{python3_sitelib}/pysword/
c1aed13
%{python3_sitelib}/pysword-%{version}-py%{python3_version}.egg-info/
Tim 9b41205
Tim 9b41205
%changelog
674a36f
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-5
674a36f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
674a36f
80c898f
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-4
80c898f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
80c898f
c74489e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.8-3
c74489e
- Rebuilt for Python 3.12
c74489e
74d1dba
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
74d1dba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
74d1dba
Tim Bentley 2cfca38
* Fri Oct 07 2022 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.8-1
Tim Bentley 2cfca38
- Resolve build issues and versions.
Tim Bentley 2cfca38
Tim Bentley 2cfca38
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.7-9
Tim Bentley 2cfca38
- Rebuilt for Python 3.11
Tim Bentley 2cfca38
23e8742
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-10
23e8742
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
23e8742
9e84bb4
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.7-9
9e84bb4
- Rebuilt for Python 3.11
9e84bb4
Tim Bentley 2cfca38
* Sun May 29 2022 Tim Bentley <Tim.Bentley@openlp.org> - 0.2.7-0
Tim Bentley 2cfca38
- Updated to match upstream release
Tim Bentley 2cfca38
05955fd
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-8
05955fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
05955fd
c1aed13
* Thu Sep 23 2021 Miro Hrončok <mhroncok@redhat.com> - 0.2.7-7
c1aed13
- Don't own /usr/lib/python3.X/site-packages
d4f438d
- Rename the built package from python-pysword to python3-pysword
c1aed13
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