]> git.pld-linux.org Git - packages/darkice.git/blob - darkice.spec
5b18443e7b454af4c4a2ca654638f251236c0304
[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.7
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 URL:            http://darkice.sourceforge.net/
11 BuildRequires:  readline-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  lame-libs-devel
15 BuildRequires:  libvorbis-devel
16 BuildRequires:  libstdc++-devel
17 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
21 takes audio input from a sound card, encodes it into mp3 and/or Ogg
22 Vorbis, and sends the mp3 stream to one or more IceCast and/or
23 ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
24 servers.
25
26 %description -l pl
27 DarkIce to dostarczyciel strumienia audio IceCast, IceCast2 oraz
28 ShoutCast. DarkIce enkoduje dane z karty d¼wiêkowej do mp3 i/lub Ogg
29 Vorbis, a nastêpnie wysy³a strumieñ mp3 do jednego lub wiêcej serwerów
30 IceCast i/lub ShoutCast, strumieñ Ogg Vorbis do jednego lub wiêcej
31 serwerów IceCast2.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 rm -f missing
39 aclocal
40 autoconf
41 automake -a -c
42 %configure \
43         --with-lame \
44         --with-vorbis
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 gzip -9nf AUTHORS ChangeLog NEWS README TODO
55
56 %clean
57 rm -r $RPM_BUILD_ROOT
58
59 %files 
60 %defattr(644,root,root,755)
61 %doc *.gz
62 %config(noreplace) %attr(600,root,root) %{_sysconfdir}/*.cfg
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man?/*
This page took 0.046197 seconds and 2 git commands to generate.