]>
Commit | Line | Data |
---|---|---|
1 | Summary: CELT low-latency audio codec v0.5.1 | |
2 | Summary(pl.UTF-8): CELT - kodek dźwiękowy o małym opóźnieniu - wersja 0.5.1 | |
3 | Name: celt051 | |
4 | Version: 0.5.1.3 | |
5 | Release: 2 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | Source0: http://downloads.xiph.org/releases/celt/celt-%{version}.tar.gz | |
9 | # Source0-md5: 67e7b5e45db57a6f1f0a6962f5ecb190 | |
10 | URL: http://celt-codec.org/ | |
11 | BuildRequires: automake | |
12 | # for tools | |
13 | BuildRequires: libogg-devel | |
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 | This package contains 0.5.1 version of CELT codec, as used by SPICE | |
20 | virtualization system. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | CELT to próba napisania kodeka dźwiękowego o małym opóźnieniu. | |
24 | ||
25 | Ten pakiet zawiera wersję 0.5.1 kodeka CELT, używana przez system | |
26 | wirtualizacji SPICE. | |
27 | ||
28 | %package devel | |
29 | Summary: Header files for CELT 0.5.1 library | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CELT 0.5.1 | |
31 | Group: Development/Libraries | |
32 | Requires: %{name} = %{version}-%{release} | |
33 | ||
34 | %description devel | |
35 | Header files for CELT 0.5.1 library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki CELT 0.5.1. | |
39 | ||
40 | %package static | |
41 | Summary: Static CELT 0.5.1 library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka CELT 0.5.1 | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static CELT 0.5.1 library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczna biblioteka CELT 0.5.1. | |
51 | ||
52 | %prep | |
53 | %setup -q -n celt-%{version} | |
54 | ||
55 | %build | |
56 | cp -f /usr/share/automake/config.sub . | |
57 | %configure | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc COPYING README TODO | |
75 | %attr(755,root,root) %{_bindir}/celtdec051 | |
76 | %attr(755,root,root) %{_bindir}/celtenc051 | |
77 | %attr(755,root,root) %{_libdir}/libcelt051.so.*.*.* | |
78 | %attr(755,root,root) %ghost %{_libdir}/libcelt051.so.0 | |
79 | ||
80 | %files devel | |
81 | %defattr(644,root,root,755) | |
82 | %attr(755,root,root) %{_libdir}/libcelt051.so | |
83 | %{_libdir}/libcelt051.la | |
84 | %{_includedir}/celt051 | |
85 | %{_pkgconfigdir}/celt051.pc | |
86 | ||
87 | %files static | |
88 | %defattr(644,root,root,755) | |
89 | %{_libdir}/libcelt051.a |