/[packages]/cauldron/alsa-plugins/current/SPECS/alsa-plugins.spec
ViewVC logotype

Annotation of /cauldron/alsa-plugins/current/SPECS/alsa-plugins.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2020958 - (hide annotations) (download)
Sat Dec 23 03:44:58 2023 UTC (16 months ago) by danf
File size: 7535 byte(s)
(SILENT) Switch URLs to https:
1 luigiwalser 1076504 %define libname %mklibname %{name}
2 ahmad 1602
3 barjac 320102 Summary: Advanced Linux Sound Architecture (ALSA) plugins
4     Name: alsa-plugins
5 luigiwalser 1864793 Version: 1.2.7.1
6 ghibo 1898847 Release: %mkrel 2
7 daviddavid 1225491 # All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
8 tv 1797980 # pph plugin is BSD-like licensed
9     License: GPLv2+ and LGPLv2+ and BSD
10 daviddavid 1225491 Group: Sound/Utilities
11 danf 1917259 URL: https://www.alsa-project.org/
12 luigiwalser 1076504 Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
13 barjac 320102 Source1: jack.conf
14     Source2: samplerate.conf
15     Source3: upmix.conf
16     Source4: vdownmix.conf
17     Source5: a52.conf
18 ahmad 1602
19 barjac 320102 BuildRequires: kernel-headers >= 2.4.0
20 luigiwalser 1076504 BuildRequires: pkgconfig(alsa) >= %{version}
21 tv 900982 BuildRequires: pkgconfig(libpulse) >= 0.8
22     BuildRequires: pkgconfig(ncurses)
23     BuildRequires: pkgconfig(jack)
24     BuildRequires: pkgconfig(libavcodec)
25     BuildRequires: pkgconfig(speex)
26 ahmad 1602
27     %description
28     Advanced Linux Sound Architecture (ALSA) utilities. Modularized architecture
29     with support for a large range of ISA and PCI cards. Fully compatible with
30     OSS/Lite (kernel sound drivers), but contains many enhanced features.
31    
32     This is the plugins package, which allows you to manipulate ALSA settings.
33    
34 luigiwalser 1076504 %package -n %{libname}
35 ze 119628 Summary: Advanced Linux Sound Architecture (ALSA) plugins
36 barjac 320102 Group: System/Libraries
37 ze 119628 Provides: %{name} = %{version}-%{release}
38 luigiwalser 1076504 Requires: libalsa >= %{version}
39 luigiwalser 1216077 Requires: %{name}-config = %{version}
40 ahmad 1602
41 luigiwalser 1076504 %description -n %{libname}
42 ahmad 1602 Advanced Linux Sound Architecture (ALSA) utilities. Modularized architecture
43     with support for a large range of ISA and PCI cards. Fully compatible with
44     OSS/Lite (kernel sound drivers), but contains many enhanced features.
45    
46     This is the plugins package, which allows you to manipulate ALSA settings.
47    
48 luigiwalser 1076504 %package doc
49 ze 119630 Summary: Advanced Linux Sound Architecture (ALSA) plugins
50 barjac 320102 Group: Documentation
51 ze 119630 BuildArch: noarch
52 ahmad 1602
53 luigiwalser 1076504 %description doc
54 ahmad 1602 Documentation for %{name}
55    
56     # (tv) needed for biarch:
57 tv 1083925 %package config
58     Summary: Alsa plugins configuration
59     Group: System/Configuration
60 daviddavid 1607314 License: LGPLv2+
61 tv 1083925 BuildArch: noarch
62    
63     %description config
64     This package contains configuration files for ALSA plugins.
65    
66     # (tv) needed for biarch:
67 luigiwalser 1076504 %package pulse-config
68 barjac 320102 Summary: Alsa to PulseAudio backend configuration
69 fwang 391393 Group: System/Configuration
70 daviddavid 1607314 License: LGPLv2+
71 barjac 320102 BuildArch: noarch
72 eatdirt 168924 # (eatdirt) Otherwise config file alone
73 luigiwalser 1076504 Requires: alsa-plugins-pulseaudio
74 ahmad 1602 # (cg) For upgrading from old configuration system
75 barjac 320102 Requires(post): libalsa-data >= 1.0.20-2
76 ahmad 1602
77 luigiwalser 1076504 %description pulse-config
78 ahmad 1602 This package contains configuration files for the pulse ALSA plugin.
79    
80 luigiwalser 1076504 %package -n %{libname}-pulseaudio
81 barjac 320102 Summary: Alsa to PulseAudio backend
82 daviddavid 1607314 Group: System/Libraries
83 barjac 320102 License: LGPLv2+
84 ahmad 1602 Provides: %{name}-pulseaudio = %{version}-%{release}
85 luigiwalser 1076504 Requires: %{name}-pulse-config
86 ahmad 1602 %ifarch x86_64
87     # (cg) Suggest the 32 bit plugin on 64 bits to ensure compatibility
88     # with (typically closed source) 32 bit apps.
89 luigiwalser 1076504 Recommends: lib%{name}-pulseaudio
90 ahmad 1602 %endif
91    
92 luigiwalser 1076504 %description -n %{libname}-pulseaudio
93 ahmad 1602 This plugin allows any program that uses the ALSA API to access a PulseAudio
94     sound daemon. In other words, native ALSA applications can play and record
95     sound across a network. There are two plugins in the suite, one for PCM and
96     one for mixer control.
97    
98 luigiwalser 1076504 %package -n %{libname}-jack
99 barjac 320102 Summary: Jack PCM output plugin for ALSA
100 daviddavid 1607314 Group: System/Libraries
101 barjac 320102 License: LGPLv2+
102 ahmad 1602 Provides: %{name}-jack = %{version}-%{release}
103    
104 luigiwalser 1076504 %description -n %{libname}-jack
105 ahmad 1602 This plugin converts the ALSA API over JACK (Jack Audio Connection
106 danf 2020958 Kit, https://jackit.sf.net/) API. ALSA native applications can work
107 ahmad 1602 transparently together with jackd for both playback and capture.
108    
109     ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK daemon
110     ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
111    
112     This plugin provides the PCM type "jack"
113    
114 luigiwalser 1076504 %package -n %{libname}-a52
115 barjac 320102 Summary: A52/AC3 output plugin for ALSA
116 daviddavid 1607314 Group: System/Libraries
117 barjac 320102 License: LGPLv2+
118     Provides: %{name}-a52 = %{version}-%{release}
119 colin 230887
120 luigiwalser 1076504 %description -n %{libname}-a52
121 colin 230887 This plugin supports Digital 5.1 AC3 emulation over S/PDIF (IEC958).
122    
123 ahmad 1602 %prep
124 daviddavid 1225491 %setup -q
125 ovitters 875668 %autopatch -p1
126 ahmad 1602
127     %build
128 fwang 454499 autoreconf -fi
129 wally 1478275 %configure
130 daviddavid 1225491 %make_build
131 ahmad 1602
132     %install
133 tv 1797985 %make_install
134 ahmad 1602
135 daviddavid 1225491 find %{buildroot} -name '*.la' -delete
136 fwang 146743
137 ahmad 1602 install -d %{buildroot}%{_sysconfdir}/alsa
138    
139     install -d %{buildroot}%{_datadir}/alsa/pcm
140 luigiwalser 1076504 install -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/alsa/pcm
141     install -m 644 %{SOURCE5} %{buildroot}%{_datadir}/alsa/alsa.conf.d
142 ahmad 1602
143     # (cg) Include a configuration for when pulse is active
144     install -d %{buildroot}%{_sysconfdir}/sound/profiles/pulse
145    
146 colin 144508 # (cg) Use the "pulseaudio by default" config for the pulse sound profile.
147 daviddavid 1225492 ln -s %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example %{buildroot}%{_sysconfdir}/sound/profiles/pulse/alsa-default.conf
148 colin 144508
149 ahmad 1602 %files doc
150     %doc COPYING* doc/R* doc/*.txt
151    
152     %files -n %{libname}
153 wally 1238558 %dir %{_libdir}/alsa-lib/
154     %{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
155     %{_libdir}/alsa-lib/libasound_module_ctl_oss.so
156     %{_libdir}/alsa-lib/libasound_module_pcm_oss.so
157     %{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
158     %{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
159     %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
160     %{_libdir}/alsa-lib/libasound_module_rate_lavrate.so
161     %{_libdir}/alsa-lib/libasound_module_rate_lavrate_fast.so
162     %{_libdir}/alsa-lib/libasound_module_rate_lavrate_faster.so
163     %{_libdir}/alsa-lib/libasound_module_rate_lavrate_high.so
164     %{_libdir}/alsa-lib/libasound_module_rate_lavrate_higher.so
165     %{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
166     %{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
167     %{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
168     %{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
169     %{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
170     %{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
171     %{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
172     %{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
173 tv 1083925
174     %files config
175 ahmad 1602 %{_datadir}/alsa/pcm/samplerate.conf
176     %{_datadir}/alsa/pcm/upmix.conf
177     %{_datadir}/alsa/pcm/vdownmix.conf
178 daviddavid 1225492 %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
179     %{_datadir}/alsa/alsa.conf.d/10-rate-lav.conf
180     %{_datadir}/alsa/alsa.conf.d/10-speexrate.conf
181     %{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf
182     %{_datadir}/alsa/alsa.conf.d/50-oss.conf
183     %{_datadir}/alsa/alsa.conf.d/60-upmix.conf
184     %{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf
185     %{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf
186     %{_sysconfdir}/alsa/conf.d/10-samplerate.conf
187     %{_sysconfdir}/alsa/conf.d/10-rate-lav.conf
188     %{_sysconfdir}/alsa/conf.d/10-speexrate.conf
189     %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf
190     %{_sysconfdir}/alsa/conf.d/50-oss.conf
191     %{_sysconfdir}/alsa/conf.d/60-upmix.conf
192     %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf
193     %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf
194 ahmad 1602
195     %files pulse-config
196 colin 144508 %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
197 ahmad 1602 %{_sysconfdir}/sound/profiles/pulse/alsa-default.conf
198 daviddavid 1225492 %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf
199     %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example
200 ahmad 1602
201     %files -n %{libname}-pulseaudio
202     %doc doc/README-pulse
203     %{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
204     %{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
205     %{_libdir}/alsa-lib/libasound_module_conf_pulse.so
206    
207     %files -n %{libname}-jack
208     %doc doc/README-jack
209     %{_datadir}/alsa/pcm/jack.conf
210     %{_libdir}/alsa-lib/libasound_module_pcm_jack.so
211 daviddavid 1225492 %{_datadir}/alsa/alsa.conf.d/50-jack.conf
212     %{_sysconfdir}/alsa/conf.d/50-jack.conf
213 ze 119628
214 colin 230887 %files -n %{libname}-a52
215     %{_datadir}/alsa/alsa.conf.d/a52.conf
216     %{_libdir}/alsa-lib/libasound_module_pcm_a52.so
217 daviddavid 1225492 %{_datadir}/alsa/alsa.conf.d/60-a52-encoder.conf
218     %{_sysconfdir}/alsa/conf.d/60-a52-encoder.conf

  ViewVC Help
Powered by ViewVC 1.1.30