1 Summary: Small library to interface with ALSA in the Linux kernel
2 Summary(pl.UTF-8): Mała biblioteka do współpracy z podsystemem ALSA w jądrze Linuksa
8 #Source0Download: https://github.com/tinyalsa/tinyalsa/releases
9 Source0: https://github.com/tinyalsa/tinyalsa/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: ec5c1cc175fcb8c9d3d0adcececf10a9
11 Patch0: %{name}-opt.patch
12 URL: https://github.com/tinyalsa/tinyalsa
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 tinyalsa is a small library to interface with ALSA in the Linux
18 - Provide a basic PCM and mixer API
19 - If it's not absolutely needed, don't add it to the API
20 - Avoid supporting complex and unnecessary operations that could be
21 dealt with at a higher level
23 %description -l pl.UTF-8
24 tinyalsa to mała biblioteka do współpracy z podsystemem ALSA w jądrze
26 - dostarczenie podstawowego API do PCM i miksera
27 - jeśli coś nie jest absolutnie konieczne, nie należy dodawać tego do
29 - unikanie wspierania złożonych i niepotrzebnych operacji, które można
30 obsłużyć na wyższym poziomie
33 Summary: Header files for tinyalsa library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki tinyalsa
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header files for tinyalsa library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki tinyalsa.
45 Summary: Static tinyalsa library
46 Summary(pl.UTF-8): Statyczna biblioteka tinyalsa
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
51 Static tinyalsa library.
53 %description static -l pl.UTF-8
54 Statyczna biblioteka tinyalsa.
57 Summary: Utilities for tinyalsa library
58 Summary(pl.UTF-8): Programy narzędziowe do biblioteki tinyalsa
59 Group: Applications/Sound
60 Requires: %{name} = %{version}-%{release}
63 Utilities for tinyalsa library.
65 %description tools -l pl.UTF-8
66 Programy narzędziowe do biblioteki tinyalsa.
73 CFLAGS="%{rpmcflags}" \
76 CPPFLAGS="%{rpmcppflags}" \
77 LDFLAGS="%{rpmldflags}"
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT \
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
93 %triggerpostun -- tinyalsa < 1.1.0
94 rm -f %{_libdir}/libtinyalsa.so.1
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libtinyalsa.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libtinyalsa.so.1
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libtinyalsa.so
106 %{_includedir}/tinyalsa
107 %{_mandir}/man3/libtinyalsa-mixer.3*
108 %{_mandir}/man3/libtinyalsa-pcm.3*
111 %defattr(644,root,root,755)
112 %{_libdir}/libtinyalsa.a
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/tinycap
117 %attr(755,root,root) %{_bindir}/tinymix
118 %attr(755,root,root) %{_bindir}/tinypcminfo
119 %attr(755,root,root) %{_bindir}/tinyplay
120 %{_mandir}/man1/tinycap.1*
121 %{_mandir}/man1/tinymix.1*
122 %{_mandir}/man1/tinypcminfo.1*
123 %{_mandir}/man1/tinyplay.1*