]> git.pld-linux.org Git - packages/darkice.git/blob - darkice.spec
d4fc5fc13f17bba04be4afbc445f8fb2ea51f205
[packages/darkice.git] / darkice.spec
1 Summary:        DarkIce live IceCast / ShoutCast streamer
2 Summary(pl):    DarkIce - dostarczyciel strumieni IceCast/ShoutCast
3 Name:           darkice
4 Version:        0.14
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://dl.sourceforge.net/darkice/%{name}-%{version}.tar.gz
9 # Source0-md5:  e196487f376ab29c43277add33be15be
10 Patch0:         %{name}-shared.patch
11 Patch1:         %{name}-no_libnsl.patch
12 Patch2:         %{name}-am_fixes.patch
13 Patch3:         %{name}-ac25x.patch
14 URL:            http://darkice.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  lame-libs-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libvorbis-devel >= 1:1.0
20 BuildRequires:  readline-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
25 takes audio input from a sound card, encodes it into MP3 and/or Ogg
26 Vorbis, and sends the MP3 stream to one or more IceCast and/or
27 ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
28 servers.
29
30 %description -l pl
31 DarkIce to dostarczyciel strumienia audio IceCast, IceCast2 oraz
32 ShoutCast. DarkIce enkoduje dane z karty d¼wiêkowej do MP3 i/lub Ogg
33 Vorbis, a nastêpnie wysy³a strumieñ MP3 do jednego lub wiêcej serwerów
34 IceCast i/lub ShoutCast, strumieñ Ogg Vorbis do jednego lub wiêcej
35 serwerów IceCast2.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 #%patch2 -p1
42 %patch3 -p1
43
44 %build
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure \
49         --with-lame \
50         --with-vorbis
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %config(noreplace) %attr(600,root,root) %{_sysconfdir}/*.cfg
67 %attr(755,root,root) %{_bindir}/*
68 %{_mandir}/man?/*
This page took 0.069873 seconds and 2 git commands to generate.