SPECS: varnish.spec - added initscripts - libstd++-devel BR

glen glen at pld-linux.org
Mon Nov 27 00:44:01 CET 2006


Author: glen                         Date: Sun Nov 26 23:44:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added initscripts
- libstd++-devel BR

---- Files affected:
SPECS:
   varnish.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/varnish.spec
diff -u SPECS/varnish.spec:1.3 SPECS/varnish.spec:1.4
--- SPECS/varnish.spec:1.3	Mon Nov 27 00:38:20 2006
+++ SPECS/varnish.spec	Mon Nov 27 00:43:56 2006
@@ -8,8 +8,11 @@
 URL:		http://www.varnish-cache.org/
 Source0:	http://downloads.sourceforge.net/varnish/%{name}-%{version}.tar.gz
 # Source0-md5:	d905f63a6665224c370154eb006ca4cc
+Source1:	%{name}.init
+Source2:	%{name}.sysconfig
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	ncurses-devel
 Requires(post):	/sbin/ldconfig
@@ -55,7 +58,10 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{init.d,sysconfig},/var/lib/varnish}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig},/var/lib/varnish}
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/varnish
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/varnish
+install etc/vcl.conf $RPM_BUILD_ROOT%{_sysconfdir}/vcl.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -76,9 +82,9 @@
 %files
 %defattr(644,root,root,755)
 %doc INSTALL LICENSE README ChangeLog
-#%config(noreplace) %{_sysconfdir}/vcl.conf
-#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/varnish
-#%attr(754,root,root) /etc/rc.d/init.d/varnish
+%config(noreplace) %{_sysconfdir}/vcl.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/varnish
+%attr(754,root,root) /etc/rc.d/init.d/varnish
 %attr(755,root,root) %{_sbindir}/varnishd
 %attr(755,root,root) %{_bindir}/varnishhist
 %attr(755,root,root) %{_bindir}/varnishlog
@@ -118,6 +124,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/11/26 23:43:56  glen
+- added initscripts
+- libstd++-devel BR
+
 Revision 1.3  2006/11/26 23:38:20  glen
 - initscripts not present, cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/varnish.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list