]> git.pld-linux.org Git - packages/darkice.git/blame - darkice.spec
- rel 1 with init script, dropping privs and logging
[packages/darkice.git] / darkice.spec
CommitLineData
e6928a7e
MM
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
63d732eb 6Summary: DarkIce live IceCast / ShoutCast streamer
d4ead3e4 7Summary(pl): DarkIce - dostarczyciel strumieni IceCast/ShoutCast
63d732eb 8Name: darkice
d6b12c70 9Version: 0.17.1
e6928a7e 10Release: 1
63d732eb
AM
11License: GPL
12Group: Networking/Daemons
abb87a42 13Source0: http://dl.sourceforge.net/darkice/%{name}-%{version}.tar.gz
0a93c7b8 14# Source0-md5: 91221134cec3d52af842a9d50c06ee7d
e6928a7e 15Source1: %{name}.init
63d732eb 16Patch0: %{name}-shared.patch
32f0dbe9 17Patch1: %{name}-no_libnsl.patch
d6b12c70 18Patch2: %{name}-amd64.patch
63d732eb 19URL: http://darkice.sourceforge.net/
d6b12c70 20BuildRequires: alsa-lib-devel
63d732eb
AM
21BuildRequires: autoconf
22BuildRequires: automake
58db8d31 23BuildRequires: lame-libs-devel
63d732eb 24BuildRequires: libstdc++-devel
32f0dbe9 25BuildRequires: libvorbis-devel >= 1:1.0
d6b12c70 26BuildRequires: pkgconfig
32f0dbe9 27BuildRequires: readline-devel
e6928a7e
MM
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)
9ab7471f 42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63d732eb
AM
43
44%description
45DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
cebd12c4 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
63d732eb
AM
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
cebd12c4 53