]> git.pld-linux.org Git - packages/libopenaptx.git/blame - libopenaptx.spec
up to 0.2.1
[packages/libopenaptx.git] / libopenaptx.spec
CommitLineData
b2a6d082
JB
1Summary: Open Source implementation of Audio Processing Technology codec (aptX)
2Summary(pl.UTF-8): Otwarta implementacja kodeka Audio Processing Technology (aptX)
3Name: libopenaptx
f8381e1f 4Version: 0.2.1
b2a6d082
JB
5Release: 1
6License: LGPL v2.1+
7Group: Libraries
8#Source0Download: https://github.com/pali/libopenaptx/releases
9Source0: https://github.com/pali/libopenaptx/releases/download/%{version}/%{name}-%{version}.tar.gz
f8381e1f 10# Source0-md5: 83e12a34b86ee514fc5bb6f3ab060611
b2a6d082
JB
11Patch0: %{name}-norpath.patch
12URL: https://github.com/pali/libopenaptx
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16This is Open Source implementation of Audio Processing Technology
17codec (aptX) derived from ffmpeg 4.0 project and licensed under LGPL
18v2.1+. This codec is mainly used in Bluetooth A2DP profile.
19
20%description -l pl.UTF-8
21Ten pakiet zawiera mającą otwarte źródła implementację kodeka Audio
22Processing Technology (aptX), wywodzącą się z projektu ffmpeg 4.0 i
23udostępnioną na licencji LGPL w wersji 2.1+. Kodek jest używany
24głównie w profilu Bluetooth A2DP.
25
26%package devel
27Summary: Header files for openaptx library
28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki openaptx
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31
32%description devel
33Header files for openaptx library.
34
35%description devel -l pl.UTF-8
36Pliki nagłówkowe biblioteki openaptx.
37
38%package static
39Summary: Static openaptx library
40Summary(pl.UTF-8): Statyczna biblioteka openaptx
41Group: Development/Libraries
42Requires: %{name}-devel = %{version}-%{release}
43
44%description static
45Static openaptx library.
46
47%description static -l pl.UTF-8
48Statyczna biblioteka openaptx.
49
50%prep
51%setup -q
52%patch0 -p1
53
54%build
55%{__make} \
56 CC="%{__cc}" \
57 CFLAGS="%{rpmcflags} -W -Wall" \
58 CPPFLAGS="%{rpmcppflags}" \
59 LDFLAGS="%{rpmldflags}"
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT \
66 PREFIX=%{_prefix} \
67 LIBDIR=%{_lib}
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
75%files
76%defattr(644,root,root,755)
77%doc README
78%attr(755,root,root) %{_bindir}/openaptxdec
79%attr(755,root,root) %{_bindir}/openaptxenc
80%attr(755,root,root) %{_libdir}/libopenaptx.so.*.*.*
81%attr(755,root,root) %ghost %{_libdir}/libopenaptx.so.0
82
83%files devel
84%defattr(644,root,root,755)
85%attr(755,root,root) %{_libdir}/libopenaptx.so
86%{_includedir}/openaptx.h
87%{_pkgconfigdir}/libopenaptx.pc
88
89%files static
90%defattr(644,root,root,755)
91%{_libdir}/libopenaptx.a
This page took 0.064454 seconds and 4 git commands to generate.