icecast.spec 1.68 KB
Newer Older
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
1
Name:		icecast
Karl Heyes's avatar
Karl Heyes committed
2
Version:	2.3.2
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
3
Release:	0
Karl Heyes's avatar
Karl Heyes committed
4
Summary:	Xiph Streaming media server that supports multiple formats.
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
5 6 7 8
Group:		Applications/Multimedia
License:	GPL
URL:		http://www.icecast.org/
Vendor:		Xiph.org Foundation <team@icecast.org>
9
Source:     	http://downloads.us.xiph.org/releases/icecast/%{name}-%{version}.tar.gz
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
10 11 12 13 14 15 16 17 18 19 20 21 22
Prefix:		%{_prefix}
BuildRoot:	%{_tmppath}/%{name}-root

Requires:       libvorbis >= 1.0
BuildRequires:	libvorbis-devel >= 1.0
Requires:       libogg >= 1.0
BuildRequires:	libogg-devel >= 1.0
Requires:       curl >= 7.10.0
BuildRequires:	curl-devel >= 7.10.0
Requires:       libxml2
BuildRequires:	libxml2-devel
Requires:       libxslt
BuildRequires:	libxslt-devel
23 24
Requires:       libtheora
BuildRequires:	libtheora-devel
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
25 26
Requires:       speex
BuildRequires:	speex-devel
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
27 28 29 30 31 32 33 34 35 36 37 38

%description
Icecast is a streaming media server which currently supports Ogg Vorbis 
and MP3 audio streams. It can be used to create an Internet radio 
station or a privately running jukebox and many things in between. 
It is very versatile in that new formats can be added relatively 
easily and supports open standards for commuincation and interaction.

%prep
%setup -q -n %{name}-%{version}

%build
39
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=/etc
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
40 41 42 43 44 45 46 47 48 49 50 51 52
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}

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

%files
%defattr(-,root,root)
53
%doc README AUTHORS COPYING NEWS TODO ChangeLog
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
54 55 56
%doc doc/*.html
%doc doc/*.jpg
%doc doc/*.css
57
%config(noreplace) /etc/%{name}.xml
Ed "oddsock" Zaleski's avatar
Ed "oddsock" Zaleski committed
58 59 60 61
%{_bindir}/icecast
%{_prefix}/share/icecast/*

%changelog