]>
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 | |
4 | Version: 0.0.1 | |
5 | Release: 0.1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: a2e031ef48b71b49f937b1a60fec1252 | |
10 | # author's blog for now | |
11 | URL: http://jmspeex.livejournal.com/ | |
12 | #BuildRequires: libogg-devel | |
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) | |
66 | %doc COPYING README | |
67 | #%attr(755,root,root) %{_bindir}/* | |
68 | %attr(755,root,root) %{_libdir}/libcelt.so.*.*.* | |
69 | %attr(755,root,root) %ghost %{_libdir}/libcelt.so.0 | |
70 | %attr(755,root,root) %{_libdir}/libentcode.so.*.*.* | |
71 | %attr(755,root,root) %ghost %{_libdir}/libentcode.so.0 | |
72 | ||
73 | %files devel | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_libdir}/libcelt.so | |
76 | %attr(755,root,root) %{_libdir}/libentcode.so | |
77 | %{_libdir}/libcelt.la | |
78 | %{_libdir}/libentcode.la | |
79 | #%{_includedir}/foo | |
80 | #%{_pkgconfigdir}/*.pc | |
81 | ||
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %{_libdir}/libcelt.a | |
85 | %{_libdir}/libentcode.a |