]>
Commit | Line | Data |
---|---|---|
f0d57a90 JB |
1 | Summary: CELT low-latency audio codec |
2 | Summary(pl.UTF-8): CELT - kodek dźwiękowy o małym opóźnieniu | |
3 | Name: celt | |
90d2c38f | 4 | Version: 0.11.3 |
022e6814 | 5 | Release: 1 |
f0d57a90 JB |
6 | License: BSD |
7 | Group: Libraries | |
8 | Source0: http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.gz | |
90d2c38f | 9 | # Source0-md5: 5511732a426cc42bf986ca79b5cdd02f |
54ad94c2 | 10 | URL: http://celt-codec.org/ |
022e6814 JB |
11 | # for tools |
12 | BuildRequires: libogg-devel | |
f0d57a90 JB |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | CELT is an attempt to write a low-latency audio codec. | |
17 | ||
18 | %description -l pl.UTF-8 | |
19 | CELT to próba napisania kodeka dźwiękowego o małym opóźnieniu. | |
20 | ||
21 | %package devel | |
22 | Summary: Header files for CELT libraries | |
23 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek CELT | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{version}-%{release} | |
26 | ||
27 | %description devel | |
28 | Header files for CELT libraries. | |
29 | ||
30 | %description devel -l pl.UTF-8 | |
31 | Pliki nagłówkowe bibliotek CELT. | |
32 | ||
33 | %package static | |
34 | Summary: Static CELT libraries | |
35 | Summary(pl.UTF-8): Statyczne biblioteki CELT | |
36 | Group: Development/Libraries | |
37 | Requires: %{name}-devel = %{version}-%{release} | |
38 | ||
39 | %description static | |
40 | Static CELT libraries. | |
41 | ||
42 | %description static -l pl.UTF-8 | |
43 | Statyczne biblioteki CELT. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | %configure | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post -p /sbin/ldconfig | |
62 | %postun -p /sbin/ldconfig | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
022e6814 JB |
66 | %doc COPYING README TODO |
67 | %attr(755,root,root) %{_bindir}/celtdec | |
68 | %attr(755,root,root) %{_bindir}/celtenc | |
b766fc36 | 69 | %attr(755,root,root) %{_libdir}/libcelt0.so.*.*.* |
616c66a2 | 70 | %attr(755,root,root) %ghost %{_libdir}/libcelt0.so.2 |
f0d57a90 JB |
71 | |
72 | %files devel | |
73 | %defattr(644,root,root,755) | |
b766fc36 | 74 | %attr(755,root,root) %{_libdir}/libcelt0.so |
75 | %{_libdir}/libcelt0.la | |
022e6814 JB |
76 | %{_includedir}/celt |
77 | %{_pkgconfigdir}/celt.pc | |
f0d57a90 JB |
78 | |
79 | %files static | |
80 | %defattr(644,root,root,755) | |
b766fc36 | 81 | %{_libdir}/libcelt0.a |