libshout/libshout.spec

125 lines
4.2 KiB
RPMSpec

Name: libshout
Version: 2.4.6
Release: 1mamba
Summary: A library for communicating with and sending data to an icecast server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.icecast.org
Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
Patch0: %{name}-2.2.2-missing_lib.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: libspeex-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig >= 0.15.0
%description
Libshout is a library for communicating with and sending data to an icecast server. It handles the socket connection, the timing of the data, and prevents bad data from getting to the icecast server.
With just a few lines of code, a programmer can easily turn any application into a streaming source for an icecast server. Libshout also allows developers who want a specific feature set (database access, request taking) to concentrate on that feature set, instead of worrying about how server communication works.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}
%description devel
Libshout is a library for communicating with and sending data to an icecast server. It handles the socket connection, the timing of the data, and prevents bad data from getting to the icecast server.
With just a few lines of code, a programmer can easily turn any application into a streaming source for an icecast server. Libshout also allows developers who want a specific feature set (database access, request taking) to concentrate on that feature set, instead of worrying about how server communication works.
This package contains static libraries and header files needed for development.
%package tools
Group: Applications/Multimedia
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains the tools provided by %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libshout.so.*
%{_libdir}/ckport/db/libshout.ckport
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/shout
%{_includedir}/shout/*.h
%{_libdir}/libshout.a
%{_libdir}/libshout.la
%{_libdir}/libshout.so
%{_datadir}/aclocal/shout.m4
%{_libdir}/pkgconfig/*.pc
%doc README
%files tools
%defattr(-,root,root)
%{_bindir}/shout
%{_mandir}/man1/shout.1*
%changelog
* Tue Apr 12 2022 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
- automatic version update by autodist
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.5-2mamba
- updated maintainer
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
- automatic version update by autodist
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
- automatic update by autodist
* Mon Jun 24 2019 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic update by autodist
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Sun Apr 15 2012 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Mon Dec 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-3mamba
- added patch to link correctly to libspeex
* Wed Jun 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-2mamba
- specfile vendor and distribution updated
* Wed Jun 11 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.2.2-1mamba
- update to 2.2.2
* Tue Jun 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.1-1qilnx
- package created by autospec