File ices.spec of Package ices

#
# spec file for package ices (Version 2.0.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           ices
BuildRequires:  alsa-devel libshout-devel libtheora-devel libvorbis-devel libxml2-devel pkgconfig
Summary:        Source Client for icecast Streaming Server
Version:        2.0.1
Release:        82
Group:          Productivity/Multimedia/Other
Autoreqprov:    on
License:        GNU General Public License (GPL)
Url:            http://www.icecast.org/
Source:         %{name}-%{version}.tar.bz2
Source1:        run_ices
Patch:          ices-gcc-warning-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
IceS is a source client for a streaming server. The purpose of this
client is to provide an audio stream to a streaming server such that
one or more listeners can access the stream.  With this layout, this
source client can be situated remotely from the icecast server.



Authors:
--------
    Xiph.org Foundation <team@icecast.org>

%prep
%setup -q
%patch
%{?suse_update_config:%{suse_update_config -f}}

%build
autoreconf --force --install
%configure
make

%install
%makeinstall
install -c -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
rm -rf $RPM_BUILD_ROOT%{_datadir}/ices

%clean
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS COPYING TODO
%doc doc/*.html
%doc doc/*.css
%doc conf/*.xml
%{_bindir}/*

%changelog
* Tue Jun 12 2007 - tiwai@suse.de
- fix compile warning, comparison with string literal.
- clean up spec file.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jun 17 2005 - tiwai@suse.de
- initial version: 2.0.1.
openSUSE Build Service is sponsored by