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