]> git.pld-linux.org Git - packages/darkice.git/blob - darkice.spec
- added ac25x patch (fixes for autoconf 2.5x).
[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.10
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-shared.patch
10 Patch1:         %{name}-no_libnsl.patch
11 Patch2:         %{name}-am_fixes.patch
12 Patch3:         %{name}-ac25x.patch
13 URL:            http://darkice.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  lame-libs-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libvorbis-devel >= 1:1.0
19 BuildRequires:  readline-devel
20 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
24 takes audio input from a sound card, encodes it into mp3 and/or Ogg
25 Vorbis, and sends the mp3 stream to one or more IceCast and/or
26 ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
27 servers.
28
29 %description -l pl
30 DarkIce to dostarczyciel strumienia audio IceCast, IceCast2 oraz
31 ShoutCast. DarkIce enkoduje dane z karty d¼wiêkowej do mp3 i/lub Ogg
32 Vorbis, a nastêpnie wysy³a strumieñ mp3 do jednego lub wiêcej serwerów
33 IceCast i/lub ShoutCast, strumieñ Ogg Vorbis do jednego lub wiêcej
34 serwerów IceCast2.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40 %patch2 -p1
41 %patch3 -p1
42
43 %build
44 rm -f missing
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 -r $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.039223 seconds and 3 git commands to generate.