From 03d1d01cb0eaaf82b86b6f6bb4b560442ea2e857 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:10:01 +0100 Subject: [PATCH] libcelt-static: fix requirement for libcelt-devel [release 0.5.1.3-2mamba;Mon May 12 2014] --- README.md | 2 ++ celt051.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 celt051.spec diff --git a/README.md b/README.md index 97b3c3a..15e37a2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # celt051 +The CELT codec is a compression algorithm for audio. Like MP3, Vorbis, and AAC it is suitable for transmitting music with high quality. Unlike these formats CELT imposes very little delay on the signal, even less than is typical for speech centric formats like Speex, GSM, or G.729. + diff --git a/celt051.spec b/celt051.spec new file mode 100644 index 0000000..703fbc0 --- /dev/null +++ b/celt051.spec @@ -0,0 +1,92 @@ +Name: celt051 +Version: 0.5.1.3 +Release: 2mamba +Summary: The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.celt-codec.org/ +Source: http://downloads.xiph.org/releases/celt/celt-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libogg-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The CELT codec is a compression algorithm for audio. Like MP3, Vorbis, and AAC it is suitable for transmitting music with high quality. Unlike these formats CELT imposes very little delay on the signal, even less than is typical for speech centric formats like Speex, GSM, or G.729. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec. +This package contains libraries and header files needed for development. + +%package -n lib%{name}-static +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-static +The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec. +This package contains static libraries needed for development. + +%prep +%setup -q -n celt-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/celtdec051 +%{_bindir}/celtenc051 + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libcelt051.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/celt051 +%{_includedir}/celt051/celt*.h +%{_libdir}/libcelt051.so +%{_libdir}/pkgconfig/celt051.pc +%doc README TODO + +%files -n lib%{name}-static +%defattr(-,root,root) +%{_libdir}/libcelt*.*a + +%changelog +* Mon May 12 2014 Silvan Calarco 0.5.1.3-2mamba +- libcelt-static: fix requirement for libcelt-devel + +* Sun May 11 2014 Silvan Calarco 0.5.1.3-1mamba +- legacy package required by Spice server