Blame SPECS/celt051.spec

47dc41
Name:           celt051
47dc41
Version:        0.5.1.3
cc148c
Release:        8%{?dist}
47dc41
Summary:        An audio codec for use in low-delay speech and audio communication
47dc41
47dc41
Group:          System Environment/Libraries
47dc41
License:        BSD
47dc41
# Files without license header are confirmed to be BSD. Will be fixed in later release
47dc41
# http://lists.xiph.org/pipermail/celt-dev/2009-February/000063.html
47dc41
URL:            http://www.celt-codec.org/
47dc41
Source0:        http://downloads.us.xiph.org/releases/celt/celt-%{version}.tar.gz
47dc41
47dc41
BuildRequires: libogg-devel
47dc41
47dc41
%description
47dc41
CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio
47dc41
codec designed for realtime transmission of high quality speech and audio.
47dc41
This is meant to close the gap between traditional speech codecs
47dc41
(such as Speex) and traditional audio codecs (such as Vorbis).
47dc41
47dc41
The CELT bitstream format is not yet stable, this package is a special
47dc41
version of 0.5.1 that has the same bitstream format, but symbols and files
47dc41
renamed from 'celt*' to 'celt051*' so that it is parallel installable with
47dc41
the normal celt for packages requiring this particular bitstream format.
47dc41
47dc41
%package devel
47dc41
Summary: Development package for %{name}
47dc41
Group: Development/Libraries
47dc41
Requires: libogg-devel
47dc41
Requires: %{name} = %{version}-%{release}
47dc41
Requires: pkgconfig
47dc41
47dc41
%description devel
47dc41
The %{name}-devel package contains libraries and header files for
47dc41
developing applications that use %{name}.
47dc41
47dc41
%prep
47dc41
%setup -q -n celt-%{version}
47dc41
47dc41
%build
47dc41
%configure --disable-static
47dc41
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
47dc41
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
47dc41
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
47dc41
47dc41
make %{?_smp_mflags}
47dc41
47dc41
%install
47dc41
make install DESTDIR=$RPM_BUILD_ROOT
47dc41
rm $RPM_BUILD_ROOT%{_libdir}/libcelt051.la
47dc41
47dc41
%post -p /sbin/ldconfig
47dc41
47dc41
%postun -p /sbin/ldconfig
47dc41
47dc41
%files
47dc41
%defattr(-,root,root,-)
47dc41
%doc COPYING README TODO
47dc41
%{_bindir}/celtenc051
47dc41
%{_bindir}/celtdec051
47dc41
%{_libdir}/libcelt051.so.0
47dc41
%{_libdir}/libcelt051.so.0.0.0
47dc41
47dc41
%files devel
47dc41
%defattr(-,root,root,-)
47dc41
%doc COPYING README
47dc41
%{_includedir}/celt051
47dc41
%{_libdir}/pkgconfig/celt051.pc
47dc41
%{_libdir}/libcelt051.so
47dc41
47dc41
%changelog
cc148c
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.5.1.3-8
cc148c
- Mass rebuild 2014-01-24
cc148c
cc148c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.5.1.3-7
cc148c
- Mass rebuild 2013-12-27
cc148c
47dc41
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-6
47dc41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
47dc41
47dc41
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-5
47dc41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
47dc41
47dc41
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-4
47dc41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
47dc41
47dc41
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1.3-3
47dc41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
47dc41
47dc41
* Fri Jul  9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-2
47dc41
- Update according to review (#612979)
47dc41
47dc41
* Fri Jul  9 2010 Alexander Larsson <alexl@redhat.com> - 0.5.1.3-1
47dc41
- First fedora package, based on RHEL package version 0.5.1.3-0