]> git.pld-linux.org Git - packages/alsa-lib.git/blob - alsa-lib.spec
b750d04703a7340a9feddaa94b6666c18e8b16da
[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.9
5 Release:        3
6 License:        GPL
7 Group:          Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
11 URL:            http://www.alsa-project.org/
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  ncurses-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  flex
17 BuildRequires:  libtool
18 BuildConflicts: alsa-lib <= 0.4.0
19 Obsoletes:      alsa-libs
20 ExcludeArch:    sparc
21 ExcludeArch:    sparc64
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _sysconfdir     /etc
25
26 %description
27 Advanced Linux Sound Architecture (ALSA) - Library
28
29 Features ========
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
40     decibel)
41   - support for mute (and hardware mute if hardware supports it)
42   - support for mixer events
43     - this allows two or more applications to be synchronized
44 - digital audio (PCM)
45   - new enhanced API for applications
46   - full real duplex support
47   - full duplex support for SoundBlaster 16/AWE soundcards
48   - digital audio data for playback and record should be read back using
49     proc filesystem
50 - OSS/Lite compatibility
51   - full mixer compatibity
52   - full PCM (/dev/dsp) compatibility
53
54 %description -l pl
55 Advanced Linux Sound Architecture (ALSA) - Biblioteka
56
57 Nowinki =======
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
67     (0-100), 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æ
75     odczytywane 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(fr):      Development/Librairies
85 Group(pl):      Programowanie/Biblioteki
86 Requires:       %{name} = %{version}
87  
88 %description devel
89 Advanced Linux Sound Architecture (ALSA) - header files.
90
91 %description -l pl devel
92 Advanced Linux Sound Architecture (ALSA) - pliki nag³ówkowe.
93
94 %package static
95 Summary:        Advanced Linux Sound Architecture (ALSA) - Static library
96 Summary(pl):    Advanced Linux Sound Architecture (ALSA) - Biblioteka statyczna
97 Group:          Development/Libraries
98 Group(fr):      Development/Librairies
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 %configure
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118 %{__make} install DESTDIR=$RPM_BUILD_ROOT
119
120 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
121
122 gzip -9nf ChangeLog
123
124 %post  -p /sbin/ldconfig
125 %preun -p /sbin/ldconfig
126
127 %clean
128 rm -rf $RPM_BUILD_ROOT
129
130 %files
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/lib*.so.*.*
133
134 %files devel
135 %defattr(644,root,root,755)
136 %doc *.gz
137 %attr(755,root,root) %{_libdir}/lib*.so
138 %attr(755,root,root) %{_libdir}/lib*.la
139 %{_aclocaldir}/alsa.m4
140 %{_includedir}/sys/*.h
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/lib*.a
This page took 0.044193 seconds and 2 git commands to generate.