libshout/libshout.spec

99 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: libshout
Version: 2.4.3
Release: 1mamba
Summary: A library for communicating with and sending data to an icecast server
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
URL: http://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: libspeex-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig >= 0.15.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 need for development.
%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}/*.so.*
%{_libdir}/ckport/db/libshout.ckport
%doc COPYING INSTALL README
%files devel
%defattr(-,root,root)
%{_datadir}/aclocal/shout.m4
%{_includedir}/shout/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* 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