Considering "badness" in two-pass quant_coarse_energy().
[opus.git] / libcelt.spec.in
1 Summary:        The CELT Low-Latency Audio Compression Codec.
2 Name:           libcelt
3 Version:        @CELT_VERSION@
4 Release:        0%{?dist}
5 Epoch:          0
6 Group:          System Environment/Libraries
7 License:        BSD
8 URL:            http://www.xiph.org/
9 Source:         http://downloads.xiph.org/releases/celt/celt-%{version}.tar.gz
10 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  
11 BuildRequires:  libogg-devel >= 2:1.1
12 Requires:       pkg-config
13
14 %description
15 CELT is a fully open, non-proprietary, patent- and royalty-free,
16 low-latency compressed audio format for voice and music.
17
18 The libcelt package contains runtime libraries for use in programs
19 that support Ogg CELT.
20
21 %package devel
22 Summary: Files for CELT application development.
23 Group: Development/Libraries
24 Requires:       libogg-devel >= 2:1.1
25 Requires:       libcelt = %{epoch}:%{version}-%{release}
26
27 %description devel
28 The libcelt-devel package contains the header files and documentation
29 needed to develop applications with Ogg CELT.
30
31 %package utils
32 Summary: CELT codec utilities.
33 Group: Applications/Multimedia
34 Requires:       libcelt = %{epoch}:%{version}-%{release}
35
36 %description utils
37 Basic utilities for encoding, decoding and manipulating Ogg CELT streams.
38
39 %prep
40
41 %setup -q -n celt-%{version}
42
43 %build
44 %configure --with-ogg-libraries=%{_libdir}
45 make
46
47 %check
48 make check
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 make DESTDIR=$RPM_BUILD_ROOT install
53
54 # remove unpackaged files from the buildroot
55 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
56 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
57
58
59 %files
60 %defattr(-,root,root)
61 %doc AUTHORS COPYING README
62 %{_libdir}/libcelt.so.*
63
64 %files devel
65 %defattr(-,root,root)
66 %{_includedir}/celt
67 %{_libdir}/libcelt.so
68 %{_libdir}/pkgconfig/*.pc
69
70 %files utils
71 %defattr(-,root,root)
72 %{_bindir}/celtenc
73 %{_bindir}/celtdec
74
75 %clean 
76 rm -rf $RPM_BUILD_ROOT
77
78 %post -p /sbin/ldconfig
79
80 %postun -p /sbin/ldconfig
81
82 %changelog
83 * Mon Dec 22 2008 Monty Montgomery <monty@xiph.org> 0.5.1-0
84 - initial spec file created