]> git.pld-linux.org Git - SPECS.git/blob - spatialaudio.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / spatialaudio.spec
1 Summary:        Ambisonic encoding / decoding and binauralization library
2 Summary(pl.UTF-8):      Biblioteka kodowania/dekodowania dźwięku sferycznego Ambisonic i binauralnego
3 Name:           spatialaudio
4 Version:        0.3.0
5 Release:        2
6 License:        LGPL v2.1+ or commercial
7 Group:          Libraries
8 #Source0Download: https://github.com/videolabs/libspatialaudio/releases
9 Source0:        https://github.com/videolabs/libspatialaudio/releases/download/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  be4db966f6ce6dfeea1788025a7e0a2d
11 Patch0:         %{name}-cmake.patch
12 URL:            https://github.com/videolabs/libspatialaudio
13 BuildRequires:  cmake >= 3.1
14 BuildRequires:  libmysofa-devel
15 BuildRequires:  libstdc++-devel >= 6:4.7
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 libspatialaudio is an open-source and cross-platform C++ library for
20 Ambisonic encoding and decoding, filtering and binaural rendering. It
21 is targetted to render High-Order Ambisonic (HOA) and VR/3D audio
22 samples in multiple environments, from headphones to classic
23 loudspeakers. Its binaural rendering can be used for classical 5.1/7.1
24 spatial channels as well as Ambisonics inputs.
25
26 %description -l pl.UTF-8
27 libspatialaudio to wieloplatformowa, mająca otwarte źródła biblioteka
28 C++ do kodowania i dekodowania sferycznego Ambisonic oraz filtrowania
29 i renderowania binauralnego. Celem jest renderowanie próbek
30 dźwiękowych HOA (High-Order Ambisonic) i VR/3D w wielu środowiskach,
31 od słuchawek do klasycznych głośników. Renderowanie binauralne może
32 być używane do klasycznych kanałów przestrzennych 5.1/7.1, jak i
33 wejść Ambisonics.
34
35 %package devel
36 Summary:        Header files for spatialaudio library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki spatialaudio
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       libmysofa-devel
41 Requires:       libstdc++-devel >= 6:4.7
42 Requires:       zlib-devel
43
44 %description devel
45 Header files for spatialaudio library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki spatialaudio.
49
50 %package static
51 Summary:        Static spatialaudio library
52 Summary(pl.UTF-8):      Statyczna biblioteka spatialaudio
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}-%{release}
55
56 %description static
57 Static spatialaudio library.
58
59 %description static -l pl.UTF-8
60 Statyczna biblioteka spatialaudio.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65
66 %{__sed} -ne '1,/^===/ p' LICENSE > COPYING
67
68 %build
69 install -d build
70 cd build
71 %cmake ..
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} -C build install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc COPYING README.md
90 %attr(755,root,root) %{_libdir}/libspatialaudio.so.0
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libspatialaudio.so
95 %{_includedir}/spatialaudio
96 %{_pkgconfigdir}/spatialaudio.pc
This page took 0.12834 seconds and 3 git commands to generate.