]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
- changed all BuildRoot definitons
[packages/alsa-lib.git] / alsa-lib.spec
1 Summary:        Advanced Linux Sound Architecture (ALSA) - Library
2 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka
3 Name:           alsa-lib
4 Version:        0.5.6
5 Release:        1
6 License:        GPL
7 Group:          System/Libraries
8 Group(pl):      System/Biblioteki
9 Source0:        ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{version}.tar.bz2
10 Patch0:         alsa-lib-allin1.patch
11 Patch1:         alsa-lib-autoconf.patch
12 URL:            http://www.alsa-project.org/
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  ncurses-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  flex
18 BuildRequires:  libtool
19 BuildConflicts: alsa-lib <= 0.4.0
20 Obsoletes:      alsa-libs
21 ExcludeArch:    sparc
22 ExcludeArch:    sparc64
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _sysconfdir     /etc
26
27 %description
28 Advanced Linux Sound Architecture (ALSA) - Library
29
30 Features
31 ========
32 * general
33   - modularized architecture with support for 2.2
34   - support for versioned and exported symbols
35   - full proc filesystem support - /proc/sound
36 * ISA soundcards
37   - support for 128k ISA DMA buffer
38 * mixer
39   - new enhanced API for applications
40   - support for unlimited number of channels
41   - volume can be set in three ways (percentual (0-100), exact and decibel)
42   - support for mute (and hardware mute if hardware supports it)
43   - support for mixer events
44     - this allows two or more applications to be synchronized
45 * digital audio (PCM)
46   - new enhanced API for applications
47   - full real duplex support
48   - full duplex support for SoundBlaster 16/AWE soundcards
49   - digital audio data for playback and record should be read back using
50     proc filesystem
51 * OSS/Lite compatibility
52   - full mixer compatibity
53   - full PCM (/dev/dsp) compatibility
54
55 %description -l pl
56 Advanced Linux Sound Architecture (ALSA) - Biblioteka
57
58 Nowinki
59 =======
60 * generalne
61   - zmodularyzowana architektura ze wsparciem dla kerneli 2.2
62   - pe³ne wsparcie dla systemu plików proc - /proc/sound
63 * karty d¼wiêkowe ISA
64   - wsparcie dla buforu 128k ISA DMA
65 * mikser
66   - nowe rozszerzone API dla aplikacji
67   - wsparcie dla nielimitowanej liczby kana³ów
68   - g³o¶no¶æ mo¿e byæ ustawiana na trzy ró¿ne sposoby (procentowo (0-100),
69     liniowo oraz w skali decybelowej)
70   - wsparcie dla mute (oraz dla sprzêtowego mute)
71   - wsparcie dla zdarzeñ miksera
72     - to pozwala dwum lub wiêkszej liczbie aplikacji siê synchronizowac
73 * cyfrowe audio (PCM)
74   - nowe rozszerzone API dla aplikacji
75   - pe³ne realne wsparcie dla trybu duplex
76   - dane cyfrowego d¼wiêku dla odtwarzania i nagrywania powinny byæ odczytywane
77     poprzez system plików /proc
78 * kompatybilno¶æ z OSS/Lite
79   - pe³na kompatybilno¶æ miksera
80   - pe³na kompatybilno¶æ PCM (/dev/dsp)
81
82 %package devel
83 Summary:        Advanced Linux Sound Architecture (ALSA) - header files
84 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe
85 Group:          Development/Libraries
86 Group(pl):      Programowanie/Biblioteki
87 Requires:       %{name} = %{version}
88  
89 %description devel
90 Advanced Linux Sound Architecture (ALSA) - header files.
91
92 %description -l pl devel
93 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
94
95 %package static
96 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
97 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
98 Group:          Development/Libraries
99 Group(pl):      Programowanie/Biblioteki
100 Requires:       %{name}-devel = %{version}
101
102 %description static
103 Advanced Linux Sound Architecture (ALSA) - Static library.
104
105 %description -l pl static
106 Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna.
107
108 %prep
109 %setup -q
110
111 %build
112 LDFLAGS="-s"; export LDFLAGS
113 aclocal
114 automake -c || :
115 autoconf
116 %configure
117 make
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 make install DESTDIR=$RPM_BUILD_ROOT
122
123 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
124
125 gzip -9nf ChangeLog
126
127 %post  -p /sbin/ldconfig
128 %preun -p /sbin/ldconfig
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %files
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136
137 %files devel
138 %defattr(644,root,root,755)
139 %doc *.gz
140 %attr(755,root,root) %{_libdir}/lib*.so
141 %attr(755,root,root) %{_libdir}/lib*.la
142 %{_datadir}/aclocal/alsa.m4
143 %{_includedir}/sys/*.h
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/lib*.a
This page took 0.105066 seconds and 4 git commands to generate.