]> git.pld-linux.org Git - packages/ntop.git/blobdiff - ntop.spec
- adapterized.
[packages/ntop.git] / ntop.spec
index 860b56a20b239a9d446797aa0350edc2cba70bca..5510bc0e7a0b21d04b72cc3dc720b694a73fb208 100644 (file)
--- a/ntop.spec
+++ b/ntop.spec
@@ -1,31 +1,30 @@
-%define        snap    01-03-26
+%define        snap    01-10-26
 Summary:       Network monitoring tool
 Summary(pl):   Narzêdzie do monitorowania sieci
 Name:          ntop
 Version:       1.3.2
-Release:       1.%(echo %{snap} | sed -e "s/-//g")
+Release:       4.%(echo %{snap} | sed -e "s/-//g")
 License:       GPL
 Group:         Networking
-Group(de):     Netzwerkwesen
-Group(pl):     Sieciowe
 Source0:       http://snapshot.ntop.org/tgz/%{name}-%{snap}.tgz
 Patch0:                %{name}-configure.patch
 Patch1:                %{name}-externallib.patch
 Patch2:                %{name}-perl.patch
+Patch3:                %{name}-am.patch
 URL:           http://www.ntop.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gd-devel >= 2.0.1
+BuildRequires: gdbm-devel
 BuildRequires: libpcap-devel
+BuildRequires: libpng-devel
 BuildRequires: libwrap-devel
+BuildRequires: libtool
 BuildRequires: ncurses-devel >= 5.2
+BuildRequires: openssl-devel >= 0.9.6a
 BuildRequires: readline-devel >= 4.2
-BuildRequires: openssl-devel
 BuildRequires: ucd-snmp-devel
-BuildRequires: gd-devel >= 1.8.2
-BuildRequires: gdbm-devel
-BuildRequires: libpng-devel
 BuildRequires: zlib-devel
-BuildRequires: libtool
-BuildRequires: automake
-BuildRequires: autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,30 +39,34 @@ robi to popularna Unixowa komenda top.
 %setup -q -n %{name}-current
 cd %{name}*
 rm -f missing ltconfig
-%patch0 -p1
+#%patch0 -p1
 %patch2 -p1
+%patch3 -p1
 cd ../gdchart*
 %patch1 -p1
 
 %build
 cd gdchart*
 rm -rf gd-* zlib-*
+libtoolize --copy --force
+aclocal
+autoconf
 %configure
 %{__make}
 
 cd ../%{name}*
+mv -f acinclude.m4.in acinclude.m4
 libtoolize --copy --force
-automake -a -c -i
-autoheader
 aclocal
 autoconf
+automake -a -c -i
 %configure \
        --with-gdchart-root=../gdchart0.94c \
        --with-ossl-root=%{_prefix} \
        --enable-tcpwrap \
        --with-gnu-ld \
        --localstatedir=%{_var}/%{ntop}
-       
+
 %{__make}
 
 %install
@@ -73,7 +76,7 @@ install -d    $RPM_BUILD_ROOT%{_var}/%{name}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-       
+
 mv $RPM_BUILD_ROOT%{_bindir}/*.pem     $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 gzip -9nf AUTHORS NEWS README THANKS
This page took 0.031825 seconds and 4 git commands to generate.