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