]> git.pld-linux.org Git - packages/alsa-utils.git/blob - alsa-utils.spec
new upstream release
[packages/alsa-utils.git] / alsa-utils.spec
1 Summary:     Advanced Linux Sound Architecture (ALSA) - Utils
2 Name:        alsa-utils
3 Version:     0.3.0-pre3
4 Release:     2d
5 Copyright:   GPL
6 Group:       Applications/Sound
7 Group(pl):   Aplikacje/D¼wiêk
8 Vendor:      Jaroslav Kysela <perex@jcu.cz>
9 Source0:     ftp://alsa.jcu.cz/pub/utils/%{name}-%{version}.tar.gz 
10 Source1:     alsasound
11 BuildRoot:   /var/tmp/buildroot-%{name}-%{version}
12 URL:         http://alsa.jcu.cz
13 Requires:    alsa-driver
14 Requires:    alsa-lib
15 Patch0:      %{name}-noroot.patch
16 Patch1:      %{name}-opt.patch
17 Summary(pl): Advanced Linux Sound Architecture (ALSA) - Narzêdzia
18
19 %description
20 Advanced Linux Sound Architecture (ALSA) - Utils
21 alsamixer, amixer, aplay, arecord
22
23 %description -l pl
24 Advanced Linux Sound Architecture (ALSA) - Narzêdzia
25 alsamixer, amixer, aplay, arecord
26
27 %prep
28 %setup -q 
29 %patch  -p1
30 %patch1 -p1
31
32 %build
33 ./configure --prefix=/usr
34 OPT="$RPM_OPT_FLAGS" make
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT/{usr/{bin,man/man1},etc/rc.d/init.d}
40 make prefix=$RPM_BUILD_ROOT/usr install
41 rm $RPM_BUILD_ROOT/usr/man/man1/aplay.1
42 echo ".so arecord.1" > $RPM_BUILD_ROOT/usr/man/man1/aplay.1
43 strip $RPM_BUILD_ROOT/usr/{s,}bin/*
44
45 install %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/
46 touch $RPM_BUILD_ROOT/etc/asound.conf
47
48 gzip -9nf README ChangeLog amixer/README.first $RPM_BUILD_ROOT/usr/man/man1/*
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 /sbin/chkconfig --add alsasound
55
56 %preun
57 if [ "$1" = 0 ] ; then
58     /sbin/chkconfig --del alsasound
59 fi
60     
61 %files
62 %defattr(644,root,root,755)
63 %doc README.gz ChangeLog.gz amixer/README.first.gz
64
65 %attr(755,root,root) /usr/bin/*
66 %attr(755,root,root) /usr/sbin/*
67 %attr(644,root,man ) /usr/man/man1/*
68 %attr(750,root,root) /etc/rc.d/init.d/*
69 %attr(600,root,root) %config(noreplace) /etc/asound.conf
70
71 %changelog
72 * Sat Feb 13 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
73 [0.3.0-pre3-1d]
74 - /etc/rc.d/init.d/alsasound is now part of this package
75 - gzipping instead bzip2ing
76 - 755 instead 711 on binaries
77
78 * Wed Jan 27 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
79 [0.3.0-pre3-1d]
80 - new upstream release
81
82 * Tue Jan 05 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
83 - alsactl was missing !
84 - added optimalization
85
86 * Mon Sep 28 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
87 - changed "-" to "_" (rpm doesn't like "-" in Name: or Version:)
88
89 * Sun Sep 27 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
90 - rewrited spec file
91
92 * Mon May 28 1998 Helge Jensen <slog@slog.dk>
93 - Made SPEC file
This page took 0.081798 seconds and 4 git commands to generate.