]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- release 0.2: added PLD like rc-scripts, need cleanups (i think) :),
authordjrzulf <djrzulf@pld-linux.org>
Wed, 1 Oct 2003 07:28:49 +0000 (07:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntop.spec -> 1.43

ntop.spec

index f98a5cd203b9b5184adba430647d2ff8dc974bae..ea8fe11d0abf23cc4b613a71a265e650ed51b1bc 100644 (file)
--- a/ntop.spec
+++ b/ntop.spec
@@ -3,11 +3,13 @@ Summary:      Network monitoring tool
 Summary(pl):   Narzêdzie do monitorowania sieci
 Name:          ntop
 Version:       2.2
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         Networking
 Source0:       http://snapshot.ntop.org/tgz/%{name}-%{version}.tgz
 # Source0-md5: 4586e4173fcab64d2394502603fc73aa
+Source1:       %{name}.init
+Source2:       %{name}.sysconfig
 Patch0:                %{name}-acam.patch
 Patch1:                %{name}-externallib.patch
 Patch2:                %{name}-perl.patch
@@ -81,13 +83,16 @@ cd plugins
 %install
 rm -rf $RPM_BUILD_ROOT
 cd %{name}*
-install -d     $RPM_BUILD_ROOT%{_var}/lib/%{name}
+install -d     $RPM_BUILD_ROOT{%{_var}/lib/%{name},/etc/{rc.d/init.d,sysconfig}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 #mv $RPM_BUILD_ROOT%{_bindir}/*.pem $RPM_BUILD_ROOT%{_datadir}/%{name}
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ntop
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ntop
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -107,3 +112,5 @@ rm -rf $RPM_BUILD_ROOT
 #%dir %{_libdir}/%{name}/plugins
 %attr(755,root,root) %{_libdir}/%{name}/plugins
 %{_mandir}/man*/*
+%attr(755,root,root) /etc/rc.d/init.d/ntop
+%attr(644,root,root) /etc/sysconfig/ntop
This page took 0.133671 seconds and 4 git commands to generate.