]> git.pld-linux.org Git - packages/darkice.git/blob - darkice.spec
14151962538a3aa5bba5c7be01ee33fe8b23e35c
[packages/darkice.git] / darkice.spec
1 Summary:        DarkIce live IceCast / ShoutCast streamer
2 Summary(pl):    DarkIce live IceCast / ShoutCast streamer
3 Name:           darkice
4 Version:        0.13.1
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  d6a11d63e1d97f7bbf68c76269a434a4
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 rm -f missing
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure \
50         --with-lame \
51         --with-vorbis
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README TODO
67 %config(noreplace) %attr(600,root,root) %{_sysconfdir}/*.cfg
68 %attr(755,root,root) %{_bindir}/*
69 %{_mandir}/man?/*
This page took 0.044955 seconds and 2 git commands to generate.