]> git.pld-linux.org Git - packages/celt.git/blob - celt.spec
BR: automake
[packages/celt.git] / celt.spec
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.11.3
5 Release:        3
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://downloads.xiph.org/releases/celt/%{name}-%{version}.tar.gz
9 # Source0-md5:  5511732a426cc42bf986ca79b5cdd02f
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 %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 library
24 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki CELT
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for CELT library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki CELT.
33
34 %package static
35 Summary:        Static CELT library
36 Summary(pl.UTF-8):      Statyczna biblioteka CELT
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Static CELT library.
42
43 %description static -l pl.UTF-8
44 Statyczna biblioteka CELT.
45
46 %prep
47 %setup -q
48
49 %build
50 cp -f /usr/share/automake/config.sub .
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(644,root,root,755)
68 %doc COPYING README TODO
69 %attr(755,root,root) %{_bindir}/celtdec
70 %attr(755,root,root) %{_bindir}/celtenc
71 %attr(755,root,root) %{_libdir}/libcelt0.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libcelt0.so.2
73
74 %files devel
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libcelt0.so
77 %{_libdir}/libcelt0.la
78 %{_includedir}/celt
79 %{_pkgconfigdir}/celt.pc
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/libcelt0.a
This page took 0.054352 seconds and 4 git commands to generate.