Group :: System/Servers
RPM: icecast
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: icecast
Version: 2.3.1
Release: alt3
Summary: Icecast - Streaming Media Server
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: System/Servers
Url: http://www.icecast.org
Source0: %name-%version.tar.gz
Source1: %name.init
Source2: %name.logrotate
Source3: %name.xml
Patch1: icecast-2.3.0-alt.patch
Patch2: icecast-2.3.1-ugly-workaround-hack-newcurl.patch
BuildRequires: libcurl-devel libogg-devel libspeex-devel libtheora-devel libvorbis-devel libxslt-devel
%description
Icecast is an Internet based broadcasting system based on the Mpeg Layer III
streaming technology. It is, however, not limited to streaming mp3 files.
%prep
%setup -q
%patch1 -p1
%patch2 -p2
%build
%configure \
--datadir=%_localstatedir
%make_build
%install
%make_install DESTDIR=%buildroot install
install -p -m755 -D %SOURCE1 %buildroot%_initdir/%name
install -p -m640 -D %SOURCE2 %buildroot%_sysconfdir/logrotate.d/%name
install -p -m640 -D %SOURCE3 %buildroot%_sysconfdir/%name.xml
mkdir -p %buildroot/var/run/%name
mkdir -p -m750 %buildroot%_localstatedir/%name/logs
mkdir -p %buildroot%_datadir
mv %buildroot%_localstatedir/doc %buildroot%_datadir
%pre
%_sbindir/groupadd -r -f %name &>/dev/null
%_sbindir/useradd -r -g %name -d %_datadir/%name -s /dev/null \
-c "Icecast Streaming Media Server" -M -n %name &>/dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%files
%attr(750, root, %name) %dir %_localstatedir/%name
%attr(750, %name, %name) %_localstatedir/%name/logs
%attr(755, %name, %name) /var/run/%name
%config %_sysconfdir/logrotate.d/%name
%config (noreplace) %_sysconfdir/%name.xml
%_initdir/%name
%_bindir/%name
%_datadir/doc/%name-%version
%_localstatedir/%name
%changelog
…
Full changelog you can see here
Version: 2.3.1
Release: alt3
Summary: Icecast - Streaming Media Server
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: System/Servers
Url: http://www.icecast.org
Source0: %name-%version.tar.gz
Source1: %name.init
Source2: %name.logrotate
Source3: %name.xml
Patch1: icecast-2.3.0-alt.patch
Patch2: icecast-2.3.1-ugly-workaround-hack-newcurl.patch
BuildRequires: libcurl-devel libogg-devel libspeex-devel libtheora-devel libvorbis-devel libxslt-devel
%description
Icecast is an Internet based broadcasting system based on the Mpeg Layer III
streaming technology. It is, however, not limited to streaming mp3 files.
%prep
%setup -q
%patch1 -p1
%patch2 -p2
%build
%configure \
--datadir=%_localstatedir
%make_build
%install
%make_install DESTDIR=%buildroot install
install -p -m755 -D %SOURCE1 %buildroot%_initdir/%name
install -p -m640 -D %SOURCE2 %buildroot%_sysconfdir/logrotate.d/%name
install -p -m640 -D %SOURCE3 %buildroot%_sysconfdir/%name.xml
mkdir -p %buildroot/var/run/%name
mkdir -p -m750 %buildroot%_localstatedir/%name/logs
mkdir -p %buildroot%_datadir
mv %buildroot%_localstatedir/doc %buildroot%_datadir
%pre
%_sbindir/groupadd -r -f %name &>/dev/null
%_sbindir/useradd -r -g %name -d %_datadir/%name -s /dev/null \
-c "Icecast Streaming Media Server" -M -n %name &>/dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%files
%attr(750, root, %name) %dir %_localstatedir/%name
%attr(750, %name, %name) %_localstatedir/%name/logs
%attr(755, %name, %name) /var/run/%name
%config %_sysconfdir/logrotate.d/%name
%config (noreplace) %_sysconfdir/%name.xml
%_initdir/%name
%_bindir/%name
%_datadir/doc/%name-%version
%_localstatedir/%name
%changelog
…
Full changelog you can see here