SPECS: libvirt.spec - added init file

paszczus paszczus at pld-linux.org
Wed Sep 24 13:56:50 CEST 2008


Author: paszczus                     Date: Wed Sep 24 11:56:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added init file

---- Files affected:
SPECS:
   libvirt.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/libvirt.spec
diff -u SPECS/libvirt.spec:1.6 SPECS/libvirt.spec:1.7
--- SPECS/libvirt.spec:1.6	Tue Sep 23 15:06:25 2008
+++ SPECS/libvirt.spec	Wed Sep 24 13:56:44 2008
@@ -32,6 +32,7 @@
 URL:		http://www.libvirt.org/
 Source0:	ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
 # Source0-md5:	dcb590a6202c332907eae7b44e47ca4b
+Source1:	%{name}.init
 %{?with_lokkit:BuildRequires: /usr/sbin/lokkit}
 %{?with_polkit:BuildRequires:	PolicyKit-devel >= 0.6}
 BuildRequires:	avahi-devel
@@ -158,6 +159,12 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/etc/sysconfig
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+
+install qemud/libvirtd.sysconf $RPM_BUILD_ROOT/etc/sysconfig/libvirtd
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd
+
 %find_lang %{name}
 
 %clean
@@ -206,8 +213,8 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/sasl2/libvirt.conf
 %attr(755,root,root) %{_bindir}/virsh
 %attr(755,root,root) %{_sbindir}/libvirtd
-#%attr(755,root,root) %{_sbindir}/libvirt_qemud
-#/etc/rc.d/init.d/libvirtd
+%attr(754,root,root) /etc/rc.d/init.d/libvirtd
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/libvirtd
 %{_libdir}/libvirt_parthelper
 %{_mandir}/man1/virsh.1*
 
@@ -217,6 +224,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/09/24 11:56:44  paszczus
+- added init file
+
 Revision 1.6  2008/09/23 13:06:25  paszczus
 - fixed files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libvirt.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list