]> git.pld-linux.org Git - packages/libmysofa.git/blame - libmysofa.spec
- updated to 20190516 snap (required by ffmpeg-4.2)
[packages/libmysofa.git] / libmysofa.spec
CommitLineData
0bb9bf5c
AG
1%define snap 20190516
2%define githash 3dba53f9c14795b109577519a0df2e25e15fcd6a
3%define rel 1
4e090bae
JB
4Summary: Library to read AES SOFA files
5Summary(pl.UTF-8): Biblioteka do odczytu plików AES SOFA
6Name: libmysofa
728809c3 7Version: 0.7
0bb9bf5c 8Release: 2.%{snap}.%{rel}
4e090bae
JB
9License: BSD
10Group: Libraries
11#Source0Download: https://github.com/hoene/libmysofa/releases
0bb9bf5c
AG
12Source0: https://github.com/hoene/libmysofa/archive/%{githash}/%{name}-%{snap}.tar.gz
13# Source0-md5: 71df8b1badcb2369db1ab1ef7244fe49
4e090bae
JB
14URL: https://github.com/hoene/libmysofa
15BuildRequires: CUnit
16BuildRequires: cmake >= 2.8
17BuildRequires: zlib-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21This is a simple set of C functions to read AES SOFA files, if they
22contain HRTFs stored according to the AES69-2015 standard
23<http://www.aes.org/publications/standards/search.cfm?docID=99>.
24
25%description -l pl.UTF-8
26Prosty zbiór funkcji C do odczytu plików AES SOFA, zawierających dane
27HRTF zapisane zgodnie ze standardem AES69-2015
28<http://www.aes.org/publications/standards/search.cfm?docID=99>.
29
30%package devel
31Summary: Header files for libmysofa library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmysofa
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35
36%description devel
37Header files for libmysofa library.
38
39%description devel -l pl.UTF-8
40Pliki nagłówkowe biblioteki libmysofa.
41
42%package static
43Summary: Static libmysofa library
44Summary(pl.UTF-8): Statyczna biblioteka libmysofa
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
49Static libmysofa library.
50
51%description static -l pl.UTF-8
52Statyczna biblioteka libmysofa.
53
54%prep
0bb9bf5c 55%setup -q -n %{name}-%{githash}
4e090bae
JB
56
57%build
58install -d build
59cd build
60%cmake ..
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} -C build install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(644,root,root,755)
78%doc LICENSE README.md
79%attr(755,root,root) %{_bindir}/mysofa2json
80%attr(755,root,root) %{_libdir}/libmysofa.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libmysofa.so.0
82%{_datadir}/libmysofa
83
84%files devel
85%defattr(644,root,root,755)
86%attr(755,root,root) %{_libdir}/libmysofa.so
87%{_includedir}/mysofa.h
728809c3 88%{_pkgconfigdir}/libmysofa.pc
4e090bae
JB
89
90%files static
91%defattr(644,root,root,755)
92%{_libdir}/libmysofa.a
This page took 0.066931 seconds and 4 git commands to generate.