diff --git a/README.md b/README.md index 24e52db..cd49a76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # alsa-topology-conf +ALSA topology configuration files. + diff --git a/alsa-topology-conf.spec b/alsa-topology-conf.spec new file mode 100644 index 0000000..b4312fc --- /dev/null +++ b/alsa-topology-conf.spec @@ -0,0 +1,47 @@ +Name: alsa-topology-conf +Version: 1.2.5.1 +Release: 1mamba +Summary: ALSA topology configuration files +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://alsa-project.org +Source: http://www.alsa-project.org/files/pub/lib/alsa-topology-conf-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END + +%description +ALSA topology configuration files. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +for dir in topology/*; do + install -vDm 644 ${dir}/*.conf -t %{buildroot}%{_datadir}/alsa/topology/$(basename $dir) +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/alsa/topology +%dir %{_datadir}/alsa/topology/broadwell +%{_datadir}/alsa/topology/broadwell/broadwell.conf +%dir %{_datadir}/alsa/topology/bxtrt298 +%{_datadir}/alsa/topology/bxtrt298/bxt_i2s.conf +%dir %{_datadir}/alsa/topology/hda-dsp +%{_datadir}/alsa/topology/hda-dsp/skl_hda_dsp_generic-tplg.conf +%dir %{_datadir}/alsa/topology/sklrt286 +%{_datadir}/alsa/topology/sklrt286/skl_i2s.conf +%doc LICENSE + +%changelog +* Thu Jan 05 2023 Silvan Calarco 1.2.5.1-1mamba +- package created using the webbuild interface