libvorbis/libvorbis.spec

132 lines
4.0 KiB
RPMSpec

Name: libvorbis
Version: 1.3.6
Release: 1mamba
Summary: A general purpose public domain audio and music encoding format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.vorbis.com
Source: http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.gz
Patch0: libvorbis-1.3.4-pkg-config.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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: libogg-devel
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 need for development.
%prep
%setup -q
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -fr pckdocs
%makeoldinstall \
docdir=%{_builddir}/%{name}-%{version}/pckdocs
rm -f %{buildroot}%{_libdir}/*.a
%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)
%{_datadir}/aclocal/*
%{_libdir}/libvorbis.so
%{_libdir}/libvorbisenc.so
%{_libdir}/libvorbisfile.so
%{_libdir}/libvorbis.la
%{_libdir}/libvorbisenc.la
%{_libdir}/libvorbisfile.la
%{_libdir}/pkgconfig/vorbis.pc
%{_libdir}/pkgconfig/vorbisenc.pc
%{_libdir}/pkgconfig/vorbisfile.pc
%dir %{_includedir}/vorbis
%{_includedir}/vorbis/*.h
%doc pckdocs/*
%changelog
* 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
* Thu Jul 11 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.0-1qilnx
- first build for libvorbis