source: projects/specs/trunk/c/celt051/celt051-vl.spec @ 7115

Revision 7115, 3.0 KB checked in by Takemikaduchi, 11 years ago (diff)

QEMU-1.2.0

Line 
1Name:           celt051
2Version:        0.5.1.3
3Release:        1%{?_dist_release}
4Summary:        An audio codec for use in low-delay speech and audio communication
5
6Group:          System Environment/Libraries
7License:        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
10URL:            http://www.celt-codec.org/
11Source0:        http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz
12
13BuildRequires: libogg-devel
14
15%description
16CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio
17codec designed for realtime transmission of high quality speech and audio.
18This is meant to close the gap between traditional speech codecs
19(such as Speex) and traditional audio codecs (such as Vorbis).
20
21The CELT bitstream format is not yet stable, this package is a special
22version of 0.5.1 that has the same bitstream format, but symbols and files
23renamed from 'celt*' to 'celt051*' so that it is parallel installable with
24the normal celt for packages requiring this particular bitstream format.
25
26%package devel
27Summary: Development package for %{name}
28Group: Development/Libraries
29Requires: libogg-devel
30Requires: %{name} = %{version}-%{release}
31Requires: pkgconfig
32
33%description devel
34The %{name}-devel package contains libraries and header files for
35developing 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
43sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
44sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
45
46make %{?_smp_mflags}
47
48%install
49make install DESTDIR=$RPM_BUILD_ROOT
50rm $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
Note: See TracBrowser for help on using the repository browser.