]> git.pld-linux.org Git - packages/apulse.git/blob - apulse.spec
- new
[packages/apulse.git] / apulse.spec
1 Summary:        PulseAudio emulation for ALSA
2 Summary(pl.UTF-8):      Emulacja PulseAudio dla Alsy
3 Name:           apulse
4 Version:        0.1.13
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        https://github.com/i-rinat/apulse/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  90a9608a1b30f221925fb363dc2580a6
10 URL:            https://github.com/i-rinat/apulse
11 BuildRequires:  alsa-lib-devel
12 BuildRequires:  glib2-devel
13 BuildRequires:  cmake >= 2.8.0
14 BuildRequires:  rpmbuild(macros) >= 1.605
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 The program provides an alternative partial implementation of the
19 PulseAudio API. It consists of a loader script and a number of shared
20 libraries with the same names as from original PulseAudio, so
21 applications could dynamically load them and think they are talking to
22 PulseAudio. Internally, no separate sound mixing daemon is used.
23 Instead, apulse relies on ALSA's `dmix`, `dsnoop`, and `plug` plugins
24 to handle multiple sound sources and capture streams running at the
25 same time. `dmix` plugin muxes multiple playback streams; `dsnoop`
26 plugin allow multiple applications to capture from a single
27 microphone; and `plug` plugin transparently converts audio between
28 various sample formats, sample rates and channel numbers. For more
29 than a decade now, ALSA comes with these plugins enabled and
30 configured by default.
31
32 %prep
33 %setup -q
34
35 %build
36 install -d build
37 cd build
38 %cmake \
39         ../
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 %{__make} -C build install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README.md
53 %attr(755,root,root) %{_bindir}/apulse
54 %{_prefix}/lib/apulse/libpulse-mainloop-glib.so
55 %{_prefix}/lib/apulse/libpulse-mainloop-glib.so.0
56 %{_prefix}/lib/apulse/libpulse-simple.so
57 %{_prefix}/lib/apulse/libpulse-simple.so.0
58 %{_prefix}/lib/apulse/libpulse.so
59 %{_prefix}/lib/apulse/libpulse.so.0
60 %{_mandir}/man1/apulse.1*
This page took 0.064513 seconds and 3 git commands to generate.