]> git.pld-linux.org Git - packages/darkice.git/blame_incremental - darkice.spec
- rel 1 with init script, dropping privs and logging
[packages/darkice.git] / darkice.spec
... / ...
CommitLineData
1# TODO:
2# - logrotate support?
3# - add /etc/sysconfig/darkice with log level selection and maybe not dropping
4# privs (so that realtime=yes could work)
5# - or some other way to keep realtime scheduling while not running as root
6Summary: DarkIce live IceCast / ShoutCast streamer
7Summary(pl): DarkIce - dostarczyciel strumieni IceCast/ShoutCast
8Name: darkice
9Version: 0.17.1
10Release: 1
11License: GPL
12Group: Networking/Daemons
13Source0: http://dl.sourceforge.net/darkice/%{name}-%{version}.tar.gz
14# Source0-md5: 91221134cec3d52af842a9d50c06ee7d
15Source1: %{name}.init
16Patch0: %{name}-shared.patch
17Patch1: %{name}-no_libnsl.patch
18Patch2: %{name}-amd64.patch
19URL: http://darkice.sourceforge.net/
20BuildRequires: alsa-lib-devel
21BuildRequires: autoconf
22BuildRequires: automake
23BuildRequires: lame-libs-devel
24BuildRequires: libstdc++-devel
25BuildRequires: libvorbis-devel >= 1:1.0
26BuildRequires: pkgconfig
27BuildRequires: readline-devel
28BuildRequires: rpmbuild(macros) >= 1.165
29Requires(post,preun): /sbin/chkconfig
30Requires(postun): /usr/sbin/groupdel
31Requires(postun): /usr/sbin/userdel
32Requires(pre): /bin/id
33Requires(pre): /usr/bin/getgid
34Requires(pre): /usr/lib/rpm/user_group.sh
35Requires(pre): /usr/sbin/groupadd
36Requires(pre): /usr/sbin/useradd
37Requires(pre): /usr/sbin/usermod
38Requires: daemon
39Requires: rc-scripts
40Provides: group(darkice)
41Provides: user(darkice)
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
46takes audio input from a sound card, encodes it into MP3 and/or Ogg
47Vorbis, and sends the MP3 stream to one or more IceCast and/or
48ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
49servers.
50
51%description -l pl
52DarkIce to dostarczyciel strumienia audio IceCast, IceCast2 oraz
53