]> git.pld-linux.org Git - packages/darkice.git/blobdiff - darkice.spec
- updated to 0.14, rel remains 1, commented am_fixes patch (no idea why it was needed...
[packages/darkice.git] / darkice.spec
index 561ee33c9521a86f63fb70e1650667ee0cb03610..1ac67bd42a9f40fe6afad009c846679e663e0d7d 100644 (file)
@@ -1,20 +1,24 @@
 Summary:       DarkIce live IceCast / ShoutCast streamer
 Summary(pl):   DarkIce live IceCast / ShoutCast streamer
 Name:          darkice
-Version:       0.7
+Version:       0.14
 Release:       1
 License:       GPL
 Group:         Networking/Daemons
-Source0:       http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: e196487f376ab29c43277add33be15be
 Patch0:                %{name}-shared.patch
+Patch1:                %{name}-no_libnsl.patch
+Patch2:                %{name}-am_fixes.patch
+Patch3:                %{name}-ac25x.patch
 URL:           http://darkice.sourceforge.net/
-BuildRequires: readline-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: lame-libs-devel
-BuildRequires: libvorbis-devel
 BuildRequires: libstdc++-devel
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: readline-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
@@ -33,12 +37,15 @@ serwer
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+#%patch2 -p1
+%patch3 -p1
 
 %build
 rm -f missing
-aclocal
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --with-lame \
        --with-vorbis
@@ -51,14 +58,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
+rm -rf $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?/*
This page took 0.031117 seconds and 4 git commands to generate.