- revert: have look at template-webapp.spec how to do it with single package with...
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 May 2008 11:12:26 +0000 (11:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd.spec -> 1.25

collectd.spec

index 831f4de4ff85572de1e14ffbfca7cddebb7dcfde..076bbf4f3808cd4ca79867ba01a36717b3e8b50b 100644 (file)
@@ -135,26 +135,13 @@ This plugin collectd data provided by Apache's `mod_status'.
 Wtyczka collectd zbierająca informacje udostępniane przez moduł
 'mod_status' Apacha.
 
-%package collection-apache
+%package collection
 Summary:       Web script for collectiond
 Summary(pl_PL.UTF-8):  Web script for collectiond
 Group:         Applications/WWW
 Requires:      %{name} = %{version}-%{release}
-Requires:      perl-HTML-Parser
-Requires:      perl-URI
 
-%description collection-apache
-Web script for collectiond
-
-%package collection-lighttpd
-Summary:       Web script for collectiond
-Summary(pl_PL.UTF-8):  Web script for collectiond
-Group:         Applications/WWW
-Requires:      %{name} = %{version}-%{release}
-Requires:      perl-HTML-Parser
-Requires:      perl-URI
-
-%description collection-lighttpd
+%description collection
 Web script for collectiond
 
 %package dns
@@ -281,16 +268,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-
 install -d $RPM_BUILD_ROOT%{_var}/{log/,lib/%{name}}
-install -d $RPM_BUILD_ROOT/home/services/{httpd,lighttpd}/cgi-bin
+install -d $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d/
 #install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
 touch $RPM_BUILD_ROOT%{_var}/log/collectd.log
 install src/collectd.conf $RPM_BUILD_ROOT%{_sysconfdir}/collectd.conf
-install collection.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install contrib/collection.conf $RPM_BUILD_ROOT%{_sysconfdir}
 install contrib/collection.cgi $RPM_BUILD_ROOT/home/services/httpd/cgi-bin
-install contrib/collection.cgi $RPM_BUILD_ROOT/home/services/lighttpd/cgi-bin
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
@@ -383,16 +368,11 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/apache.so
 
-%files collection-apache
+%files collection
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/collection.conf
 %attr(755,root,root) /home/services/httpd/cgi-bin/collection.cgi
 
-%files collection-lighttpd
-%defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/collection.conf
-%attr(755,root,root) /home/services/lighttpd/cgi-bin/collection.cgi
-
 %files dns
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/dns.so
This page took 0.260119 seconds and 4 git commands to generate.