]>
Commit | Line | Data |
---|---|---|
b05ece86 JB |
1 | Summary: Command-line source client for Icecast media streaming servers |
2 | Summary(pl.UTF-8): Klient źródłowy dla serwerów strumieni multimedialnych Icecast | |
3 | Name: ezstream | |
8e0a5d12 | 4 | Version: 1.0.2 |
4f60aa41 | 5 | Release: 2 |
b05ece86 JB |
6 | License: GPL v2 |
7 | Group: Applications/Multimedia | |
7e3cdb0d | 8 | Source0: https://downloads.xiph.org/releases/ezstream/%{name}-%{version}.tar.gz |
8e0a5d12 JB |
9 | # Source0-md5: 247867e7c1e3c349aa9c7af79e666d4d |
10 | URL: https://www.icecast.org/ezstream/ | |
b05ece86 | 11 | BuildRequires: libshout-devel >= 2.2 |
b05ece86 JB |
12 | BuildRequires: libxml2-devel >= 2.0 |
13 | BuildRequires: pkgconfig | |
c5c49251 | 14 | BuildRequires: sed >= 4.0 |
b05ece86 | 15 | BuildRequires: taglib-devel >= 1.4 |
7e3cdb0d JB |
16 | Requires: libshout >= 2.2 |
17 | Requires: taglib >= 1.4 | |
b05ece86 JB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | The ezstream utility is command-line source client for the Icecast | |
22 | media streaming server. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | ezstream to obsługiwany z linii poleceń klient źródłowy dla serwerów | |
26 | strumieni multimedialnych Icecast. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
c5c49251 | 31 | # strip GPL text |
7e3cdb0d | 32 | %{__sed} -i -e '12,$d' COPYING |
c5c49251 | 33 | |
b05ece86 JB |
34 | %build |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
c5c49251 JB |
44 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ezstream |
45 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/examples | |
46 | %{__rm} examples/Makefile* | |
47 | ||
b05ece86 JB |
48 | %clean |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
7e3cdb0d | 53 | %doc COPYING ChangeLog NEWS README.md examples |
b05ece86 | 54 | %attr(755,root,root) %{_bindir}/ezstream |
7e3cdb0d | 55 | %attr(755,root,root) %{_bindir}/ezstream-cfgmigrate |
c5c49251 | 56 | %attr(755,root,root) %{_bindir}/ezstream-file.sh |
b05ece86 | 57 | %{_mandir}/man1/ezstream.1* |
7e3cdb0d | 58 | %{_mandir}/man1/ezstream-cfgmigrate.1* |
c5c49251 | 59 | %{_mandir}/man1/ezstream-file.sh.1* |