libcelt/libcelt.spec

104 lines
2.8 KiB
RPMSpec

Name: libcelt
Version: 0.11.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 <silvan.calarco@mambasoft.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.
%package tools
Group: Applications/Multimedia
Summary: Tools provided by %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
The CELT (Constrained Energy Lapped Transform) ultra-low delay audio codec.
This package contains static libraries need for development.
%debug_package
%prep
%setup -q -n celt-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%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)
%{_libdir}/libcelt*.so.*
%doc COPYING TODO
%files tools
%defattr(-,root,root)
%{_bindir}/celtdec
%{_bindir}/celtenc
%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
* Mon Apr 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.3-2mamba
- rebuilt
* 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