libvorbis/libvorbis.spec

135 lines
4.1 KiB
RPMSpec

Name: libvorbis
Version: 1.3.7
Release: 2mamba
Summary: A general purpose public domain audio and music encoding format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xiph.org/vorbis/
Source: http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.gz
Patch0: libvorbis-1.3.4-pkg-config.patch
Patch1: libvorbis-1.3.7-soname.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
The libvorbis package contains a general purpose audio and music encoding format.
This is useful for creating (encoding) and playing (decoding) sound in a public domain format.
%package devel
Summary: Static libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The libvorbis package contains a general purpose audio and music encoding format.
This is useful for creating (encoding) and playing (decoding) sound in a public domain format.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%patch 1 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libvorbis.so.*
%{_libdir}/libvorbisenc.so.*
%{_libdir}/libvorbisfile.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/vorbis
%{_includedir}/vorbis/*.h
%{_libdir}/libvorbis.so
%{_libdir}/libvorbisenc.so
%{_libdir}/libvorbisfile.so
%{_libdir}/pkgconfig/vorbis.pc
%{_libdir}/pkgconfig/vorbisenc.pc
%{_libdir}/pkgconfig/vorbisfile.pc
%dir %{_libdir}/cmake/Vorbis
%{_libdir}/cmake/Vorbis/Vorbis*.cmake
#%doc pckdocs/*
%changelog
* Tue May 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.7-2mamba
- rebuilt with cmake
* Wed Jul 22 2020 Automatic Build System <autodist@mambasoft.it> 1.3.7-1mamba
- automatic version update by autodist
* Thu Mar 22 2018 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 1.3.5-1mamba
- automatic update by autodist
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-2mamba
- pkg-config files: add -logg -lvorbis to libs
* Thu Jan 23 2014 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic version update by autodist
* Sat Feb 04 2012 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic version update by autodist
* Tue Nov 02 2010 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic update to 1.3.2 by autodist
* Mon Mar 29 2010 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic update to 1.3.1 by autodist
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic update by autodist
* Wed Jun 24 2009 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic update to 1.2.2 by autodist
* Thu Jul 26 2007 Aleph0 <aleph0@openmamba.org> 1.2.0-1mamba
- update to 1.2.0
* Sun May 13 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1.2-2mamba
- added libogg-devel requirement for devel subpackage
* Tue Nov 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.2-1qilnx
- update to version 1.1.2 by autospec
* Wed Jun 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.1-1qilnx
- update to version 1.1.1 by autospec
* Wed Jun 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.0-2qilnx
- specfile updates/fixes
* Mon Jan 31 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1qilnx
- update to version 1.1.0 by autospec
* Mon Mar 01 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.1-1qilnx
- rebuilt with version 1.0.1
* Fri Jul 11 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.0-1qilnx
- first build for libvorbis