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