Blame SPECS/celt051.spec

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