diff --git a/README.md b/README.md index 1b19747..7ea962b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libcelt +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/libcelt.spec b/libcelt.spec new file mode 100644 index 0000000..4a2b904 --- /dev/null +++ b/libcelt.spec @@ -0,0 +1,88 @@ +Name: libcelt +Version: 0.11.3 +Release: 1mamba +Summary: The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: gil +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 +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 devel +Group: Development/Libraries +Summary: Libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec. + +This package contains libraries and header files need for development. + +%package static +Group: Development/Libraries +Summary: Static libraries for %{name} +Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} + +%description static +The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec. + +This package contains static libraries need for development. + +%prep + +%setup -q -n celt-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/celtdec +%{_bindir}/celtenc +%{_libdir}/libcelt*.so.* +%doc COPYING README TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/celt +%{_includedir}/celt/celt*.h +%{_libdir}/libcelt*.so +%{_libdir}/pkgconfig/celt.pc + +%files static +%defattr(-,root,root) +%{_libdir}/libcelt*.*a + +%changelog +* Sat Jul 02 2011 Silvan Calarco 0.11.3-1mamba +- update to 0.11.3 + +* Mon Dec 13 2010 gil 0.8.1-1mamba +- update to 0.8.1 + +* Fri Jan 01 2010 gil 0.7.0-1mamba +- package created by autospec