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