1 Summary: Advanced Linux Sound Architecture (ALSA) - Utils
2 Summary(pl): Advanced Linux Sound Architecture (ALSA) - Narzêdzia
7 Group: Applications/Sound
8 Group(pl): Aplikacje/D¼wiêk
9 Source0: ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.gz
11 Patch0: alsa-utils-DESTDIR.patch
12 Patch1: alsa-utils-xamixer.patch
13 BuildPrereq: alsa-driver-devel
14 BuildPrereq: alsa-lib-devel
15 BuildPrereq: libstdc++-devel
16 BuildPrereq: ncurses-devel
17 BuildPrereq: gtk+-devel
18 BuildPrereq: XFree86-libs
19 BuildPrereq: glib-devel
21 Prereq: /sbin/chkconfig
22 BuildRoot: /tmp/%{name}-%{version}-root
25 Advanced Linux Sound Architecture (ALSA) - Utils
26 alsamixer, amixer, aplay, arecord
29 Advanced Linux Sound Architecture (ALSA) - Narzêdzia
30 alsamixer, amixer, aplay, arecord
38 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses" ./configure %{_target_platform} \
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/etc/rc.d/init.d}
49 DESTDIR=$RPM_BUILD_ROOT
51 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
53 touch $RPM_BUILD_ROOT/etc/asound.conf
55 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
56 echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
57 mv $RPM_BUILD_ROOT/usr/etc/xamixer.conf $RPM_BUILD_ROOT/etc
59 gzip -9nf README ChangeLog \
60 $RPM_BUILD_ROOT%{_mandir}/man1/*
63 /sbin/chkconfig --add alsasound
64 if test -r /var/run/alsasound.pid; then
65 /etc/rc.d/init.d/alsasound stop >&2
66 /etc/rc.d/init.d/alsasound start >&2
68 echo "Run \"/etc/rc.d/init.d/alsasound start\" to start alsasound daemon."
72 if [ "$1" = "0" ]; then
73 /sbin/chkconfig --del alsasound
74 /etc/rc.d/init.d/alsasound stop >&2
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %doc {README,ChangeLog}.gz
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_sbindir}/*
88 %attr(754,root,root) /etc/rc.d/init.d/*
89 %attr(644,root,root) %config /etc/asound.conf
90 %attr(644,root,root) %config /etc/xamixer.conf
93 * Sat Jun 05 1999 Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
97 * Tue May 25 1999 Piotr Czerwiñski <pius@pld.org.pl>
99 - package is FHS 2.0 compliant,
100 - based on spec file made by Helge Jensen <slog@slog.dk>,
101 - rewritten for PLD use by me and Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>,
102 - pl translation by Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>.