libshout/libshout.spec

93 lines
2.4 KiB
RPMSpec
Raw Normal View History

Name: libshout
2006-03-10 15:48:41 +00:00
Version: 2.2
Release: 1%{?dist}
2006-03-05 17:07:59 +00:00
Summary: icecast source streaming library
2006-03-10 15:48:41 +00:00
Group: System Environment/Libraries
License: LGPL
URL: http://www.icecast.org/
2006-03-10 15:48:41 +00:00
Source: http://downloads.us.xiph.org/releases/libshout/libshout-%{version}.tar.gz
Patch: libshout.autotools.patch
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: libtheora-devel
BuildRequires: speex-devel
# so it generates and installs the .pc file
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
2006-03-10 15:48:41 +00:00
ibshout 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 most bad data from getting to the icecast server.
%package devel
Summary: static libraries and header files for %{name} development.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The libshout-devel package contains the header files needed for developing
applications that send data to an icecast server. Install libshout-devel if
you want to develop applications using libshout.
%prep
%setup -q
%patch -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
2006-03-10 15:48:41 +00:00
%makeinstall
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
2006-03-10 15:48:41 +00:00
rm -rf $RPM_BUILD_ROOT%{_docdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
2006-03-10 15:48:41 +00:00
%doc COPYING NEWS README
%{_libdir}/libshout.so.*
%files devel
%defattr(-,root,root,-)
2006-03-10 15:48:41 +00:00
%doc examples/*.c doc/*.xml doc/*.xsl
%{_libdir}/libshout.a
%{_libdir}/libshout.so
2006-03-10 15:48:41 +00:00
%{_libdir}/pkgconfig/shout.pc
%dir %{_includedir}/shout/
%{_includedir}/shout/shout.h
2006-03-10 15:48:41 +00:00
%{_datadir}/aclocal/shout.m4
%changelog
2006-03-10 15:48:41 +00:00
* Fri Mar 10 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 2.2-1
- new (incompatible) version, but deps are updated
- various cleanups
2005-05-22 23:50:52 +00:00
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.9-4
- rebuild on all arches
* Fri Apr 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.9-3
- Include headers directory entry in -devel package.
* Sat Feb 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.0.9-2
- Remove redundant explicit /sbin/ldconfig dependency.
* Wed Jun 04 2003 Thomas Vander Stichele <thomas at apestaart dot org>
- 1.0.9-0.fdr.1: initial RPM release