libcelt/libcelt.spec

89 lines
2.3 KiB
RPMSpec

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 <puntogil@libero.it>
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 <silvan.calarco@mambasoft.it> 0.11.3-1mamba
- update to 0.11.3
* Mon Dec 13 2010 gil <puntogil@libero.it> 0.8.1-1mamba
- update to 0.8.1
* Fri Jan 01 2010 gil <puntogil@libero.it> 0.7.0-1mamba
- package created by autospec