095c3a8
Name:		python-pycdio
a4c2367
Version:	2.1.0
b35cf8b
Release:	14%{?dist}
095c3a8
Summary:	A Python interface to the CD Input and Control library
095c3a8
d40a557
License:	GPL-3.0-or-later
095c3a8
URL:		http://www.gnu.org/software/libcdio/
095c3a8
Source0:	%pypi_source pycdio
095c3a8
095c3a8
BuildRequires:	gcc
095c3a8
BuildRequires:	python3-devel
095c3a8
BuildRequires:	python3-setuptools
095c3a8
BuildRequires:	libcdio-devel
095c3a8
BuildRequires:	swig
095c3a8
a998b72
%if 0%{?fedora}
095c3a8
# For tests
095c3a8
BuildRequires:	python3-nose
a998b72
%endif
095c3a8
095c3a8
%description
095c3a8
The pycdio (and libcdio) libraries encapsulate CD-ROM reading and
095c3a8
control. Python programs wishing to be oblivious of the OS- and
095c3a8
device-dependent properties of a CD-ROM can use this library.
095c3a8
095c3a8
%package -n python3-pycdio
095c3a8
Summary:	A Python interface to the CD Input and Control library
095c3a8
Obsoletes:	pycdio < 2.0.0-6
095c3a8
Provides:	pycdio = %{version}-%{release}
095c3a8
%{?python_provide:%python_provide python3-pycdio}
095c3a8
095c3a8
%description -n python3-pycdio
095c3a8
The pycdio (and libcdio) libraries encapsulate CD-ROM reading and
095c3a8
control. Python programs wishing to be oblivious of the OS- and
095c3a8
device-dependent properties of a CD-ROM can use this library.
095c3a8
095c3a8
%prep
095c3a8
%autosetup -n pycdio-%{version} -p1
d7d6c8f
# hotfix for Python 3.12, please bring this upstream
d7d6c8f
# fixes https://bugzilla.redhat.com/2155240
d7d6c8f
sed -i 's/assertEquals/assertEqual/' test/test-cdtext.py
095c3a8
095c3a8
%build
095c3a8
%py3_build
095c3a8
095c3a8
%install
095c3a8
%py3_install
095c3a8
chmod 755 %{buildroot}/%{python3_sitearch}/*.so
095c3a8
a998b72
%if 0%{?fedora}
095c3a8
%check
095c3a8
%python3 setup.py nosetests
a998b72
%endif
095c3a8
095c3a8
%files -n python3-pycdio
095c3a8
%license COPYING
a4c2367
%doc README.rst ChangeLog AUTHORS NEWS.md THANKS
095c3a8
%{python3_sitearch}/__pycache__/*
095c3a8
%{python3_sitearch}/_pycdio*
095c3a8
%{python3_sitearch}/_pyiso9660*
095c3a8
%{python3_sitearch}/cdio.py
095c3a8
%{python3_sitearch}/iso9660.py
095c3a8
%{python3_sitearch}/pycdio.py
095c3a8
%{python3_sitearch}/pyiso9660.py
095c3a8
%{python3_sitearch}/pycdio-%{version}-py3*.egg-info/
095c3a8
095c3a8
%changelog
b35cf8b
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-14
b35cf8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
b35cf8b
70738bd
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-13
70738bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
70738bd
ee702e7
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-12
ee702e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
ee702e7
4989583
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.1.0-11
4989583
- Rebuilt for Python 3.12
4989583
4433ebb
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-10
4433ebb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
4433ebb
f2c1075
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-9
f2c1075
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f2c1075
addd006
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.0-8
addd006
- Rebuilt for Python 3.11
addd006
d5f040f
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7
d5f040f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
d5f040f
5d4d315
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
5d4d315
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
5d4d315
f492c2d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.0-5
f492c2d
- Rebuilt for Python 3.10
f492c2d
b7380f4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
b7380f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b7380f4
cb9ad90
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
cb9ad90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cb9ad90
a79181e
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.1.0-2
a79181e
- Rebuilt for Python 3.9
a79181e
a4c2367
* Mon Mar 30 2020 Adrian Reber <adrian@lisas.de> - 2.1.0-1
a4c2367
- Updated to 2.1.0 for libcdio-2.1.0 update
a4c2367
66373e6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
66373e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
66373e6
095c3a8
* Tue Nov 26 2019 Kevin Fenzi <kevin@scrye.com> - 2.0.0-7
095c3a8
- Review fixes: drop python3 dep, Update obsoletes, add python_provide
095c3a8
- Review fixes: Use pypi_source, fixed files globbing. 
095c3a8
095c3a8
* Mon Nov 25 2019 Kevin Fenzi <kevin@scrye.com> - 2.0.0-6
095c3a8
- Rename pycdio to python3-pycdio, keeping release
095c3a8
095c3a8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
095c3a8
095c3a8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
095c3a8
095c3a8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
095c3a8
095c3a8
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.0-2
095c3a8
- Update Python 2 dependency declarations to new packaging standards
095c3a8
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
095c3a8
095c3a8
* Tue Feb 06 2018 Adrian Reber <adrian@lisas.de> - 2.0.0-1
095c3a8
- Updated to 2.0.0 for proper libcdio-2.0.0 support
095c3a8
095c3a8
* Thu Jan 25 2018 Adrian Reber <adrian@lisas.de> - 0.21-1
095c3a8
- Rebuilt for libcdio-2.0.0
095c3a8
- Updated to latest upstream + patches from git
095c3a8
095c3a8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20-7
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
095c3a8
095c3a8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20-6
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
095c3a8
095c3a8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20-5
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
095c3a8
095c3a8
* Wed Nov 16 2016 Adrian Reber <adrian@lisas.de> - 0.20-4
095c3a8
- Rebuilt for libcdio-0.94
095c3a8
095c3a8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-3
095c3a8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
095c3a8
095c3a8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20-2
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
095c3a8
095c3a8
* Tue Nov  3 2015 Adam Williamson <awilliam@redhat.com> - 0.20-1
095c3a8
- update to latest upstream (fixes #1269003)
095c3a8
- clean and modernize spec a little (note: no longer EPEL5 compatible)
095c3a8
095c3a8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-7
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
095c3a8
095c3a8
* Tue Nov 11 2014 Adrian Reber <adrian@lisas.de> - 0.19-6
095c3a8
- Rebuilt for libcdio-0.93
095c3a8
095c3a8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-5
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
095c3a8
095c3a8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-4
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
095c3a8
095c3a8
* Mon Dec 16 2013 Adrian Reber <adrian@lisas.de> - 0.19-3
095c3a8
- Rebuilt for libcdio-0.92
095c3a8
095c3a8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-2
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
095c3a8
095c3a8
* Mon Feb 18 2013 Adrian Reber <adrian@lisas.de> - 0.19-1
095c3a8
- Updated to 0.19 which actually works with libcdio-0.90
095c3a8
095c3a8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
095c3a8
095c3a8
* Tue Jan 08 2013 Adrian Reber <adrian@lisas.de> - 0.18-1
095c3a8
- Updated to 0.18 (for for libcdio-0.90 rebuild)
095c3a8
095c3a8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
095c3a8
095c3a8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-3
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
095c3a8
095c3a8
* Sun Nov 20 2011 Adrian Reber <adrian@lisas.de> - 0.17-2
095c3a8
- Rebuilt for libcdio-0.83
095c3a8
* Fri Apr 22 2011 Jay Greguske <jgregusk@redhat.com> 0.17-1
095c3a8
- Fix source url
095c3a8
* Fri Apr 22 2011 Jay Greguske <jgregusk@redhat.com> 0.17-0
095c3a8
- Update to 0.17
095c3a8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-4
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
095c3a8
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.16-3
095c3a8
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
095c3a8
* Fri Jan 22 2010 Adrian Reber <adrian@lisas.de> - 0.16-2
095c3a8
- Rebuilt for libcdio-0.82
095c3a8
* Wed Oct 28 2009 Jay Greguske <jgregusk@redhat.com> - 0.16-1
095c3a8
- Updated to version 0.16
095c3a8
* Mon Sep 28 2009 Jay Greguske <jgregusk@redhat.com> - 0.15-4
095c3a8
- Off-by-one compensation in get_devices_* not needed anymore
095c3a8
* Tue Jul 28 2009 Jay Greguske <jgregusk@redhat.com> - 0.15-3
095c3a8
- Added a patch to remove unnecessary shebangs
095c3a8
* Mon Jul 27 2009 Jay Greguske <jgregusk@redhat.com> - 0.15-2
095c3a8
- Corrected the license field
095c3a8
* Tue Jul 21 2009 Jay Greguske <jgregusk@redhat.com> - 0.15-1
095c3a8
- Initial RPM release.