-
Notifications
You must be signed in to change notification settings - Fork 39
/
python-pycdlib.spec.in
118 lines (86 loc) · 3.53 KB
/
python-pycdlib.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
%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: @VERSION@
Release: @RELEASE@%{?dist}
License: LGPLv2
Group: Development/Libraries
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
* Sat Jan 14 2023 Chris Lalancette <[email protected]> - 1.14.0-1
- Update to upstream version 1.14.0
* Mon Jun 20 2022 Chris Lalancette <[email protected]> - 1.13.0-1
- Update to upstream version 1.13.0
* Tue Aug 10 2021 Chris Lalancette <[email protected]> - 1.12.0-1
- Update to upstream version 1.12.0
* Wed Oct 07 2020 Chris Lalancette <[email protected]> - 1.11.0-1
- Update to upstream version 1.11.0
* Sun May 24 2020 Chris Lalancette <[email protected]> - 1.10.0-1
- Update to upstream version 1.10.0
* Fri Dec 20 2019 Chris Lalancette <[email protected]> - 1.9.0-1
- Update to upstream version 1.9.0
* Sat Aug 10 2019 Chris Lalancette <[email protected]> - 1.8.0-1
- Update to upstream version 1.8.0
* Wed Feb 27 2019 Chris Lalancette <[email protected]> - 1.7.0-1
- Update to upstream version 1.7.0
* Sun Jul 29 2018 Chris Lalancette <[email protected]> - 1.6.0-1
- Update to upstream version 1.6.0
* Sat Jun 23 2018 Chris Lalancette <[email protected]> - 1.5.0-1
- Update to upstream version 1.5.0
* Fri May 04 2018 Chris Lalancette <[email protected]> - 1.4.0-1
- Update to upstream version 1.4.0
* Mon Nov 20 2017 Chris Lalancette <[email protected]> - 1.3.2-1
- Update to upstream version 1.3.2
* Mon Nov 20 2017 Chris Lalancette <[email protected]> - 1.3.1-1
- Update to upstream version 1.3.1
* Sun Nov 19 2017 Chris Lalancette <[email protected]> - 1.3.0-1
- Update to upstream version 1.3.0
* Tue Oct 03 2017 Chris Lalancette <[email protected]> - 1.2.0-1
- Update to upstream version 1.2.0
* Tue Jan 31 2017 Chris Lalancette <[email protected]> - 1.1.0-1
- Update to upstream version 1.1.0
* Tue Oct 25 2016 Chris Lalancette <[email protected]> - 1.0.0-1
- Update to upstream version 1.0.0
* Wed Dec 30 2015 Chris Lalancette <[email protected]> - 0.1.0-1
- Initial package.