]> git.pld-linux.org Git - packages/opusfile.git/blame - opusfile.spec
- updated to 0.12
[packages/opusfile.git] / opusfile.spec
CommitLineData
2fc55d00
JB
1Summary: Library for decoding .opus files, including seeking support
2Summary(pl.UTF-8): Biblioteka do dekodowania plików .opus wraz z obsługą przewijania
3Name: opusfile
70a490fd 4Version: 0.12
a5f27bb8 5Release: 1
2fc55d00
JB
6License: BSD
7Group: Libraries
70a490fd
JB
8Source0: https://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
9# Source0-md5: 45e8c62f6cd413395223c82f06bfa8ec
10URL: https://opus-codec.org/
ff1ca251 11BuildRequires: libogg-devel >= 2:1.3
2fc55d00
JB
12BuildRequires: openssl-devel
13BuildRequires: opus-devel >= 1.0.1
14BuildRequires: pkgconfig
15Requires: libogg >= 1:1.3
16Requires: opus >= 1.0.1
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Library for decoding .opus files, including seeking support.
21
22%description -l pl.UTF-8
23Biblioteka do dekodowania plików .opus wraz z obsługą przewijania.
24
25%package devel
26Summary: Header files for opusfile library
27Summary(pl.UTF-8): Pliki nagłówkowe biblioteki opusfile
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
ff1ca251 30Requires: libogg-devel >= 2:1.3
2fc55d00
JB
31Requires: openssl-devel
32Requires: opus-devel >= 1.0.1
33
34%description devel
35Header files for opusfile library.
36
37%description devel -l pl.UTF-8
38Pliki nagłówkowe biblioteki opusfile.
39
40%package static
41Summary: Static opusfile library
42Summary(pl.UTF-8): Statyczna biblioteka opusfile
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
45
46%description static
47Static opusfile library.
48
49%description static -l pl.UTF-8
50Statyczna biblioteka opusfile.
51
52%prep
53%setup -q
54
55%build
56%configure \
57 --disable-silent-rules
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
d5a86082
JB
66# obsoleted by pkg-config
67%{__rm} $RPM_BUILD_ROOT%{_libdir}/libopus*.la
68
2fc55d00
JB
69# packaged as %doc
70%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/opusfile
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
78%files
79%defattr(644,root,root,755)
d5a86082 80%doc AUTHORS COPYING README.md
2fc55d00
JB
81%attr(755,root,root) %{_libdir}/libopusfile.so.*.*.*
82%attr(755,root,root) %ghost %{_libdir}/libopusfile.so.0
10340c6c
JB
83%attr(755,root,root) %{_libdir}/libopusurl.so.*.*.*
84%attr(755,root,root) %ghost %{_libdir}/libopusurl.so.0
2fc55d00
JB
85
86%files devel
87%defattr(644,root,root,755)
88%doc doc/html/*
89%attr(755,root,root) %{_libdir}/libopusfile.so
10340c6c 90%attr(755,root,root) %{_libdir}/libopusurl.so
2fc55d00
JB
91%{_includedir}/opus/opusfile.h
92%{_pkgconfigdir}/opusfile.pc
10340c6c 93%{_pkgconfigdir}/opusurl.pc
2fc55d00
JB
94
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libopusfile.a
10340c6c 98%{_libdir}/libopusurl.a
This page took 0.069378 seconds and 4 git commands to generate.