1 | Name: celt051 |
---|
2 | Version: 0.5.1.3 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: An audio codec for use in low-delay speech and audio communication |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | # Files without license header are confirmed to be BSD. Will be fixed in later release |
---|
9 | # http://lists.xiph.org/pipermail/celt-dev/2009-February/000063.html |
---|
10 | URL: http://www.celt-codec.org/ |
---|
11 | Source0: http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRequires: libogg-devel |
---|
14 | |
---|
15 | %description |
---|
16 | CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio |
---|
17 | codec designed for realtime transmission of high quality speech and audio. |
---|
18 | This is meant to close the gap between traditional speech codecs |
---|
19 | (such as Speex) and traditional audio codecs (such as Vorbis). |
---|
20 | |
---|
21 | The CELT bitstream format is not yet stable, this package is a special |
---|
22 | version of 0.5.1 that has the same bitstream format, but symbols and files |
---|
23 | renamed from 'celt*' to 'celt051*' so that it is parallel installable with |
---|
24 | the normal celt for packages requiring this particular bitstream format. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development package for %{name} |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: libogg-devel |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: pkgconfig |
---|
32 | |
---|
33 | %description devel |
---|
34 | The %{name}-devel package contains libraries and header files for |
---|
35 | developing applications that use %{name}. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n celt-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | %configure --disable-static |
---|
42 | # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath |
---|
43 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
44 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
45 | |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
50 | rm $RPM_BUILD_ROOT%{_libdir}/libcelt051.la |
---|
51 | |
---|
52 | %post -p /sbin/ldconfig |
---|
53 | |
---|
54 | %postun -p /sbin/ldconfig |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc COPYING README TODO |
---|
59 | %{_bindir}/celtenc051 |
---|
60 | %{_bindir}/celtdec051 |
---|
61 | %{_libdir}/libcelt051.so.0 |
---|
62 | %{_libdir}/libcelt051.so.0.0.0 |
---|
63 | |
---|
64 | %files devel |
---|
65 | %defattr(-,root,root,-) |
---|
66 | %doc COPYING README |
---|
67 | %{_includedir}/celt051 |
---|
68 | %{_libdir}/pkgconfig/celt051.pc |
---|
69 | %{_libdir}/libcelt051.so |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.1.3-1 |
---|
73 | - initial build for Vine Linux |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-5 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
79 | |
---|
80 | * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-4 |
---|
81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
82 | |
---|
83 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-3 |
---|
84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
85 | |
---|
86 | * Fri Jul 9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-2 |
---|
87 | - Update according to review (#612979) |
---|
88 | |
---|
89 | * Fri Jul 9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-1 |
---|
90 | - First fedora package, based on RHEL package version 0.5.1.3-0 |
---|