11Vendor: Microsoft Corporation
22Distribution: Azure Linux
3- %define baseversion 1.1.6
3+ %define baseversion 1.2.14
44
55Summary: Python binding for the ALSA library
66Name: python-alsa
77Version: %{baseversion }
8- Release: 12 %{?dist }
9- License: LGPLv2+
10- Source0: ftp ://ftp .alsa-project.org/pub/pyalsa/pyalsa-%{version }.tar.bz2
8+ Release: 4 %{?dist }
9+ License: LGPL-2.1 -or-later
10+ Source0: https ://www .alsa-project.org/files /pub/pyalsa/pyalsa-%{version }.tar.bz2
1111Source1: %{name }-LICENSE.txt
1212URL: http://www.alsa-project.org/
1313BuildRequires: alsa-lib-devel >= %{version }
1414BuildRequires: python3-devel
15+ BuildRequires: python3-setuptools
16+ BuildRequires: python3-pytest
17+ BuildRequires: python3-pip
18+ BuildRequires: python3-wheel
1519BuildRequires: gcc
1620
1721# Filter private shared library provides
@@ -29,25 +33,99 @@ Summary: %summary
2933%description -n python3-alsa %_description
3034
3135%prep
32- %autosetup -n pyalsa-%{version }
36+ %autosetup -n pyalsa-%{version } -p 1
3337mv %{SOURCE1 } ./LICENSE.txt
3438
39+ %generate_buildrequires
40+ %pyproject_buildrequires
41+
3542%build
36- %py3_build
43+ %pyproject_wheel
3744
3845%install
39- %py3_install
46+ %pyproject_install
47+ %pyproject_save_files ' *'
48+
49+ %check
50+ %pyproject_check_import
4051
41- %files -n python3-alsa
52+ %files -n python3-alsa -f %{ pyproject_files }
4253%license LICENSE.txt
43- %{python3_sitearch }/*
4454
4555%changelog
46- * Fri Dec 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.1.6-12
47- - License verified
56+ * Fri Sep 26 2025 Sumit Jena <v-sumitjena@microsoft.com> - 1.2.14-1
57+ - Upgrade to version 1.2.14
58+ - Added check section.
59+
60+ * Wed Dec 18 2024 Sumit Jena <v-sumitjena@microsoft.com> - 1.2.12-4
61+ - Initial Azure Linux import from Fedora 41 (license: MIT).
62+ - License verified.
63+
64+ * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-3
65+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
66+
67+ * Tue Jun 11 2024 Python Maint <python-maint@redhat.com> - 1.2.12-2
68+ - Rebuilt for Python 3.13
69+
70+ * Tue Jun 11 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.12-1
71+ - Updated to 1.2.12
72+
73+ * Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.2.7-10
74+ - Rebuilt for Python 3.13
75+
76+ * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-9
77+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
78+
79+ * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-8
80+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
81+
82+ * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-7
83+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
84+
85+ * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.7-6
86+ - Rebuilt for Python 3.12
87+
88+ * Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.2.7-5
89+ - migrated to SPDX license
90+
91+ * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-4
92+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
93+
94+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-3
95+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
96+
97+ * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.7-2
98+ - Rebuilt for Python 3.11
99+
100+ * Tue May 31 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7-1
101+ - Updated to 1.2.6
102+
103+ * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
104+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
105+
106+ * Mon Dec 06 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
107+ - Updated to 1.2.6
108+
109+ * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-17
110+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
111+
112+ * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.6-16
113+ - Rebuilt for Python 3.10
114+
115+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-15
116+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
117+
118+ * Thu Dec 10 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.1.6-14
119+ - Patch for Python 3.10.
120+
121+ * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-13
122+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
123+
124+ * Tue Jun 23 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.1.6-12
125+ - BR python3-setuptools
48126
49- * Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft .com> - 1.1.6-11
50- - Initial CBL-Mariner import from Fedora 32 (license: MIT).
127+ * Tue May 26 2020 Miro Hrončok <mhroncok@redhat .com> - 1.1.6-11
128+ - Rebuilt for Python 3.9
51129
52130* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-10
53131- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0 commit comments