SPECS (DEVEL): shaperd.2.spec - updated to snap 060505

andree andree at pld-linux.org
Mon Jun 27 16:47:03 CEST 2005


Author: andree                       Date: Mon Jun 27 14:47:03 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- updated to snap 060505

---- Files affected:
SPECS:
   shaperd.2.spec (1.28 -> 1.28.2.1) 

---- Diffs:

================================================================
Index: SPECS/shaperd.2.spec
diff -u SPECS/shaperd.2.spec:1.28 SPECS/shaperd.2.spec:1.28.2.1
--- SPECS/shaperd.2.spec:1.28	Mon Mar 21 21:13:14 2005
+++ SPECS/shaperd.2.spec	Mon Jun 27 16:46:58 2005
@@ -2,14 +2,16 @@
 Summary:	Shaperd - bandwidth limiting
 Summary(pl):	Shaperd - dzielenie łącza
 Name:		shaperd.2
+%define		snap	060505
 Version:	2.24
-Release:	0.11
+Release:	0.%{snap}.1
 License:	GPL
 Group:		Networking/Admin
 #Source0:	http://sp9wun.republika.pl/prg/%{name}.%{version}.tar.gz
 # Changed source to decrease traffic at republika.pl
-Source0:	http://www.cbq.trzepak.net/prg/%{name}.%{version}.tar.gz
-# Source0-md5:	e6e7a91c5c08e2dbcf8c48fa54bff559
+#Source0:	http://www.cbq.trzepak.net/prg/%{name}.%{version}.tar.gz
+Source0:	http://www.cbq.trzepak.net/prg/shaperd_snapshot.tar.gz
+# Source0-md5:	5695ba2968d40fd7045eb5859f31597f
 Source1:	%{name}.init
 Source2:	%{name}.conf
 Patch0:		%{name}-fhs.patch
@@ -55,20 +57,19 @@
 %patch1 -p1
 
 %build
-%{__make} clean
-# this file has its own rule in Makefile, without CFLAGS...
-%{__cc} %{rpmcflags} -c shaperd_old.c
-%{__make} \
-	CC=%{__cc} \
-	CFLAGS="%{rpmcflags} -Wall"
+%{__make}
+
+#{__make} \
+#CC=%{__cc} \
+#CFLAGS="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_initrddir},/var/lib/shaper,%{_phpdir},/etc/httpd}
 
-install shaperd $RPM_BUILD_ROOT%{_sbindir}
-install etc/shaper/* $RPM_BUILD_ROOT%{_sysconfdir}
-install var/www/html/kto.php $RPM_BUILD_ROOT%{_phpdir}/shaperd.php
+install src/shaperd $RPM_BUILD_ROOT%{_sbindir}
+install config/* $RPM_BUILD_ROOT%{_sysconfdir}
+install scripts/kto.php $RPM_BUILD_ROOT%{_phpdir}/shaperd.php
 install %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/shaperd
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/apache-%{name}.conf
 
@@ -127,8 +128,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc kto-daemon usr/share/docs/shaperd-2.%{version}/shaperd_cbq.html
-%doc usr/share/docs/shaperd-2.%{version}/shaperd_cbq_en.html
+%doc scripts/kto-daemon doc/shaperd_cbq.html doc/shaperd_cbq_en.html
 %dir %{_sysconfdir}
 %attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/[iqs]*
 %attr(755,root,root) %{_sbindir}/shaperd
@@ -147,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28.2.1  2005/06/27 14:46:58  andree
+- updated to snap 060505
+
 Revision 1.28  2005/03/21 20:13:14  andree
 - moved apache1,2 toys to -php package
 - rel. 0.11
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/shaperd.2.spec?r1=1.28&r2=1.28.2.1&f=u




More information about the pld-cvs-commit mailing list