X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdarkice.git;a=blobdiff_plain;f=darkice.spec;h=6c9c4b8d62da8a6e24c8e7b89a5bbb4414cddd76;hp=eb02c2501ecc2f065061f9a8c67bea3601e46b8e;hb=32f0dbe9343de0d5f31e6c102411c3444d06b681;hpb=143bb344c080ce5054f5054c46b21863bff2437d diff --git a/darkice.spec b/darkice.spec index eb02c25..6c9c4b8 100644 --- a/darkice.spec +++ b/darkice.spec @@ -1,19 +1,21 @@ Summary: DarkIce live IceCast / ShoutCast streamer Summary(pl): DarkIce live IceCast / ShoutCast streamer Name: darkice -Version: 0.7 +Version: 0.10 Release: 1 License: GPL Group: Networking/Daemons Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-shared.patch +Patch1: %{name}-no_libnsl.patch +Patch2: %{name}-am_fixes.patch URL: http://darkice.sourceforge.net/ -BuildRequires: readline-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: lame-libs-devel -BuildRequires: libvorbis-devel BuildRequires: libstdc++-devel +BuildRequires: libvorbis-devel >= 1:1.0 +BuildRequires: readline-devel Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -33,6 +35,8 @@ serwer %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build rm -f missing @@ -51,14 +55,12 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -gzip -9nf AUTHORS ChangeLog NEWS README TODO - %clean rm -r $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz +%doc AUTHORS ChangeLog NEWS README TODO %config(noreplace) %attr(600,root,root) %{_sysconfdir}/*.cfg %attr(755,root,root) %{_bindir}/* %{_mandir}/man?/*