]> git.pld-linux.org Git - packages/alsa-utils.git/blob - alsa-utils.spec
- updated to 0.9.2
[packages/alsa-utils.git] / alsa-utils.spec
1 Summary:        Advanced Linux Sound Architecture (ALSA) - Utils
2 Summary(es):    Utilitarios para ALSA (Advanced Linux Sound Architecture)
3 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Narzêdzia
4 Summary(pt_BR): Utilitários para o ALSA (Advanced Linux Sound Architecture)
5 Summary(ru):    õÔÉÌÉÔÙ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÄÌÑ ALSA project
6 Summary(uk):    õÔÉ̦ÔÉ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ ÄÌÑ ALSA project
7 Name:           alsa-utils
8 Version:        0.9.2
9 Release:        1
10 License:        GPL
11 Group:          Applications/Sound
12 Source0:        ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.bz2
13 Source1:        alsasound
14 Source2:        alsa-oss-pcm
15 URL:            http://www.alsa-project.org/
16 BuildRequires:  alsa-lib-devel >= 0.9.0rc4
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  flex
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool
22 BuildRequires:  ncurses-devel
23 ExcludeArch:    sparc sparc64
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This packages contains command line utilities for the ALSA project:
28
29  - alsactl       - utility for store / restore of soundcard settings
30  - aplay/arecord - utility for playback / record of .wav, .voc, .au files
31  - amixer        - a command line mixer
32  - alsamixer     - ncurses mixer
33
34
35 %description -l es
36 Utilitarios para el sistema ALSA, la arquitetura avanzada de sonido
37 para Linux.
38
39
40 %description -l pl
41 Pakiet zawiera nastêpuj±ce, dzia³aj±ce z linii poleceñ, narzêdzia dla
42 projektu ALSA (Advanced Linux Sound Architecture):
43
44  - alsactl       - narzêdzie do zapamiêtywania / przywracania ustawieñ
45                    karty d¼wiêkowej
46  - aplay/arecord - narzêdzia do odtwarzania / nagrywania plików .wav,
47                    .voc, .au
48  - amixer        - mikser dzia³aj±cy z linii poleceñ
49  - alsamixer     - mikser z interfejsem opartym o ncurses
50
51
52 %description -l pt_BR
53 Utilitários para o ALSA, a arquitetura de som avançada para o Linux.
54
55 %description -l ru
56 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÄÌÑ ALSA project:
57
58  - alsactl       - ÕÔÉÌÉÔÁ ÄÌÑ ÓÏÈÒÁÎÅÎÉÑ/×ÏÓÓÔÁÎÏ×ÌÅÎÉÑ ÎÁÓÔÒÏÅË
59                    Ú×ÕËÏ×ÏÊ ËÁÒÔÙ
60  - aplay/arecord - ÕÔÉÌÉÔÁ ÄÌÑ ÚÁÐÉÓÉ/ÐÒÏÉÇÒÙ×ÁÎÉÑ ÆÁÊÌÏ× .wav, .voc,
61                    .au
62  - amixer        - ÍÉËÛÅÒ, ÕÐÒÁ×ÌÑÅÍÙÊ ÉÚ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ
63  - alsamixer     - ÍÉËÛÅÒ Ó ÉÎÔÅÒÆÅÊÓÏÍ ncurses
64
65
66 %description -l uk
67 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÕÔÉ̦ÔÉ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ ÄÌÑ ALSA project:
68
69  - alsactl       - ÕÔÉ̦ÔÁ ÄÌÑ ÚÂÅÒÅÖÅÎÎÑ/צÄÎÏ×ÌÅÎÎÑ ÎÁÓÔÁÎÏ×
70                    Ú×ÕËÏ×ϧ ËÁÒÔÉ
71  - aplay/arecord - ÕÔÉ̦ÔÁ ÄÌÑ ÚÁÐÉÓÕ/ÐÒÏÇÒÁ×ÁÎÎÑ ÆÁÊ̦נ.wav, .voc,
72                    .au
73  - amixer        - Í¦ËÛÅÒ, ÑËÉÊ ËÅÒÕ¤ÔØÓÑ Ú ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ
74  - alsamixer     - Í¦ËÛÅÒ Ú ¦ÎÔÅÒÆÅÊÓÏÍ ncurses
75
76 %package init
77 Summary:        Init script for Advanced Linux Sound Architecture
78 Summary(pl):    Skrypt init dla Advanced Linux Sound Architecture
79 Group:          Applications/Sound
80 Requires(post,preun):   /sbin/chkconfig
81 Requires:       %{name} = %{version}
82
83 %description init
84 Init script for Advanced Linux Sound Architecture.
85
86 %description init -l pl
87 Skrypt init dla Advanced Linux Sound Architecture.
88
89 %prep
90 %setup -q
91
92 %build
93 rm -f missing
94 %{__aclocal}
95 %{__autoconf}
96 %{__automake}
97 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
98 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
99 %configure
100
101 %{__make} 
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
106
107 %{__make} install DESTDIR=$RPM_BUILD_ROOT
108
109 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/alsasound
110 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig
111
112 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
113 echo ".so aplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/arecord.1
114
115 touch $RPM_BUILD_ROOT%{_sysconfdir}/asound.conf
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post init
121 /sbin/chkconfig --add alsasound
122 if [ -f /var/lock/subsys/alsasound ]; then
123         /etc/rc.d/init.d/alsasound restart >&2
124 else
125         echo "Run \"/etc/rc.d/init.d/alsasound start\" to start ALSA %{version} services."
126 fi
127
128 %preun init
129 if [ "$1" = "0" ]; then
130         if [ -f /var/lock/subsys/alsasound ]; then
131                 /etc/rc.d/init.d/alsasound stop >&2
132         fi
133         /sbin/chkconfig --del alsasound
134 fi
135
136 %files
137 %defattr(644,root,root,755)
138 %doc README ChangeLog
139 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/asound.conf
140 %attr(755,root,root) %{_bindir}/*
141 %attr(755,root,root) %{_sbindir}/*
142
143 %{_mandir}/man1/aconnect.1*
144 %{_mandir}/man1/alsactl.1*
145 %{_mandir}/man1/alsamixer.1*
146 %{_mandir}/man1/amixer.1*
147 %{_mandir}/man1/aplay.1*
148 %{_mandir}/man1/arecord.1*
149 %{_mandir}/man1/aseqnet.1*
150
151 %files init
152 %defattr(644,root,root,755)
153 %attr(754,root,root) /etc/rc.d/init.d/*
154 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
This page took 0.078017 seconds and 4 git commands to generate.