liboggz/liboggz.spec

137 lines
4.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: liboggz
Version: 1.1.2
Release: 1mamba
Summary: Simple programming interface for Ogg files and streams
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.xiph.org/oggz/
Source: http://downloads.xiph.org/releases/liboggz/liboggz-%{version}.tar.gz
License: BSD
Requires: libogg
Requires: doxygen
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
## AUTOBUILDREQ-END
# ------------------------------------------------------------------------
# liboggz 1.1.1: Automatic configuration OK.
# General configuration:
# Experimental code: ........... no
# Reading support: ............. yes
# Writing support: ............. yes
# Tools:
# oggz-dump oggz-info oggz-scan oggz-codecs
# oggz-rip oggz-merge oggz-chop oggz-comment oggz-sort oggz-validate
# Example programs will be built but not installed.
# ------------------------------------------------------------------------
%description
%{name} provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
%{name} provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format.
This package contains libraries and header files needed for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
%{name} provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format.
This package contains static libraries needed for development.
%package tools
Summary: Various tools using the %{name} library
Group: Development/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
%{name} provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format.
This package contains various tools using the liboggz library.
%package doc
Group: Documentation
Summary: Documentation for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description doc
%{name} provides a simple programming interface for reading and writing Ogg files and streams. Ogg is an interleaving data container developed by Monty at Xiph.Org, originally to support the Ogg Vorbis audio format.
This package contains HTML documentation needed for development.
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/liboggz.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/oggz
%{_includedir}/oggz/oggz*.h
%{_libdir}/liboggz.so
%{_libdir}/pkgconfig/oggz.pc
%doc ChangeLog README
%files static
%defattr(-,root,root)
%{_libdir}/liboggz.*a
%files tools
%defattr(-,root,root)
%{_bindir}/oggz*
%{_mandir}/man1/oggz*.1.gz
%files doc
%defattr(-,root,root)
%doc %{_docdir}/liboggz/html
%doc %{_docdir}/liboggz/latex
%changelog
* Sun Feb 09 2025 Automatic Build System <autodist@openmamba.org> 1.1.2-1mamba
- automatic version update by autodist
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-3mamba
- rebuilt with debug package and aarch64 build fix
* Mon Dec 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-2mamba
- automatic port from devel-gil
* Mon Dec 20 2010 gil <puntogil@libero.it> 1.1.1-1mamba
- update to 1.1.1
* Fri Apr 02 2010 gil <puntogil@libero.it> 1.1.0-1mamba
- update to 1.1.0
* Mon May 25 2009 gil <puntogil@libero.it> 0.9.9-1mamba
- update to 0.9.9
* Wed Aug 27 2008 gil <puntogil@libero.it> 0.9.8-1mamba
- package created by autospec