Summary: devices and makedev helper for alsa-driver. Name: alsa-devices Version: 2 Release: 0_32%{?dist} License: GPL Group: System Environment/Base URL: http://www.alsa-project.org/ Source0: alsa-makedev.d.txt BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: MAKEDEV %description This package provides makedev support for alsa devices. %install rm -rf %{buildroot} # Install and generate all the device stuff install -m 644 -D %{SOURCE0} %{buildroot}%{_sysconfdir}/makedev.d/alsa cp -a %{_sysconfdir}/makedev.d/00macros %{buildroot}%{_sysconfdir}/makedev.d/ rm -f devices /dev/MAKEDEV \ -c %{buildroot}%{_sysconfdir}/makedev.d \ -d %{buildroot}/dev -M alsa | sed 's|%{buildroot}||g' > device.list rm -f %{buildroot}%{_sysconfdir}/makedev.d/00macros %clean rm -rf %{buildroot} %pre test -L /dev/snd && rm -f /dev/snd 2>/dev/null 2>&1 || : %files -f device.list %defattr(-,root,root,-) %{_sysconfdir}/makedev.d/alsa %changelog * Fri May 21 2004 Axel Thimm - Split off alsa-driver.