libvorbisidec/libvorbisidec.spec

76 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: libvorbisidec
Version: 1.2.1
Release: 1mamba
Summary: A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tracker.debian.org/pkg/libvorbisidec
Source: https://salsa.debian.org/multimedia-team/libvorbisidec/-/archive/debian/%{version}+git20180316-7/libvorbisidec-debian-%{version}+git20180316-7.tar.bz2
## Source package got with:
## svn co http://svn.xiph.org/trunk/Tremor/
#Source: http://svn.xiph.org/trunk/Tremor//libvorbisidec-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
%description
A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A fixed-point version of the Ogg Vorbis decoder for platforms that can' do floating point math.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n libvorbisidec-debian-%{version}+git20180316-7
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./autogen.sh
%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}/libvorbisidec.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_prefix}/include/tremor/*.h
%{_libdir}/libvorbisidec.a
%{_libdir}/libvorbisidec.la
%{_libdir}/libvorbisidec.so
%{_libdir}/pkgconfig/*.pc
%doc README
%changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with debug package and aarch64 build fix
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created by autospec