diff --git a/.gitignore b/.gitignore index e69de29..4e29db3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,10 @@ +/pycdlib-1.1.0.tar.gz +/pycdlib-1.3.1.tar.gz +/pycdlib-1.3.2.tar.gz +/pycdlib-1.4.0.tar.gz +/pycdlib-1.5.0.tar.gz +/pycdlib-1.6.0.tar.gz +/pycdlib-1.7.0.tar.gz +/pycdlib-1.8.0.tar.gz +/pycdlib-1.9.0.tar.gz +/pycdlib-1.11.0.tar.gz diff --git a/python-pycdlib.spec b/python-pycdlib.spec new file mode 100644 index 0000000..660d1fb --- /dev/null +++ b/python-pycdlib.spec @@ -0,0 +1,145 @@ +%global desc Pycdlib is a pure python library for reading, writing, and otherwise\ +manipulating ISO9660 files. It is focused on speed, correctness, and\ +conformance to the various standards around ISO9660, including ISO9660 itself,\ +the Joliet extensions, the Rock Ridge extensions, the El Torito boot\ +extensions, and UDF. + +%global srcname pycdlib + +Summary: A pure python ISO9660 read and write library +Name: python-%{srcname} +Version: 1.11.0 +Release: 1%{?dist} +License: LGPLv2 +URL: https://github.com/clalancette/%{srcname} +Source0: https://github.com/clalancette/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: genisoimage +BuildRequires: python3-pytest + +%description +%{desc} + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +%{desc} + +%package -n %{srcname}-tools +Summary: Tools that rely on %{srcname} +Requires: python3-%{srcname} = %{version}-%{release} + +%description -n %{srcname}-tools +Some tools that use the %{srcname} library. + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +PYCDLIB_TRACK_WRITES=1 py.test-%{python3_version} -v tests + +%files -n python3-%{srcname} +%license COPYING +%doc README.md examples/ +%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ + +%files -n %{srcname}-tools +%license COPYING +%{_bindir}/pycdlib-explorer +%{_bindir}/pycdlib-extract-files +%{_bindir}/pycdlib-genisoimage +%{_mandir}/man1/* + +%changelog +* Wed Oct 07 2020 Chris Lalancette - 1.11.0-1 +- Update to upstream 1.11.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 25 2020 Miro Hrončok - 1.9.0-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 20 2019 Chris Lalancette - 1.9.0-1 +- Update to upstream version 1.9.0 + +* Thu Oct 03 2019 Miro Hrončok - 1.8.0-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.8.0-2 +- Rebuilt for Python 3.8 + +* Mon Aug 12 2019 Chris Lalancette - 1.8.0-1 +- Update to upstream version 1.8.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Feb 27 2019 Chris Lalancette - 1.7.0-1 +- Update to upstream version 1.7.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 1.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Oct 11 2018 Miro Hrončok - 1.6.0-2 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sun Jul 29 2018 Chris Lalancette - 1.6.0-1 +- Update to upstream version 1.6.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Miro Hrončok - 1.5.0-2 +- Rebuilt for Python 3.7 + +* Sat Jun 23 2018 Chris Lalancette - 1.5.0-1 +- Update to upstream version 1.5.0 + +* Tue Jun 19 2018 Miro Hrončok - 1.4.0-2 +- Rebuilt for Python 3.7 + +* Fri May 04 2018 Chris Lalancette - 1.4.0-1 +- Update to upstream version 1.4.0 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Nov 20 2017 Chris Lalancette - 1.3.2-1 +- Update to upstream version 1.3.2 + +* Mon Nov 20 2017 Chris Lalancette - 1.3.1-1 +- Update to upstream version 1.3.1 + +* Sun Nov 19 2017 Chris Lalancette - 1.3.0-1 +- Update to upstream version 1.3.0 + +* Tue Oct 03 2017 Chris Lalancette - 1.2.0-1 +- Update to upstream version 1.2.0 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jan 31 2017 Chris Lalancette - 1.1.0-1 +- Update to upstream version 1.1.0 + +* Tue Oct 25 2016 Chris Lalancette - 1.0.0-1 +- Update to upstream version 1.0.0 + +* Wed Dec 30 2015 Chris Lalancette - 0.1.0-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..dcad9a3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pycdlib-1.11.0.tar.gz) = 5020fa72d0a47457d54032125215ac120e3ab68e3a2c81fdc7a2705ce2a8f2e17458e144081218c4e103a0d346416cf46d70a6c56e1111f257e8b0602bace1dc