X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vsys.spec;h=b877bd560a981431717c042690ecd2fd57753f12;hb=ebe92cf9df5ea1530396582584940d34ea0105d5;hp=567948c9f542b839c5fc2acfe560ab8176eeb978;hpb=1126d7e497e6c3f68186ce484bab7346e468f5d7;p=vsys.git diff --git a/vsys.spec b/vsys.spec index 567948c..b877bd5 100644 --- a/vsys.spec +++ b/vsys.spec @@ -9,7 +9,7 @@ %define url $URL$ %define name vsys -%define version 0.95 +%define version 0.99 %define taglevel 0 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -39,34 +39,48 @@ invoke services installed by the PlanetLab administration. Slices invoke and interact with these services through fifo pipes. Services can be added and removed dynamically. +%package -n vsyssh +Summary: Vsys client +Group: System Environment/Libraries + +%description -n vsyssh +vsyssh is a simple shell to use vsys through. + %prep %setup %build rm -rf $RPM_BUILD_ROOT make +make -C vsyssh %install mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/vsys #cp factory/* $RPM_BUILD_ROOT/vsys -cp vsys $RPM_BUILD_ROOT/usr/bin -cp vsys-initscript $RPM_BUILD_ROOT/etc/init.d/vsys -cp vsys.conf $RPM_BUILD_ROOT/etc +cp -p vsys $RPM_BUILD_ROOT/usr/bin +cp -p vsys-initscript $RPM_BUILD_ROOT/etc/init.d/vsys +cp -p vsys.conf $RPM_BUILD_ROOT/etc +cp -p vsyssh/vsyssh $RPM_BUILD_ROOT/usr/bin -install -D -m 644 vsys.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/vsys +install -D -p -m 644 vsys.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/vsys %clean rm -rf $RPM_BUILD_ROOT %files +%defattr(-,root,root,-) /usr/bin/vsys /etc/init.d/vsys /vsys %config(noreplace) /etc/vsys.conf %{_sysconfdir}/logrotate.d/vsys +%files -n vsyssh +%defattr(-,root,root,-) +/usr/bin/vsyssh + %post chkconfig --add vsys chkconfig vsys on @@ -77,6 +91,10 @@ fi %postun %changelog +* Thu Dec 16 2010 Sapan Bhatia - vsys-0.99-0 +- Fixed a memory leak, mainly. The other changes are simply commits that got lost between the move from svn/head to +- git/master. + * Sun Dec 27 2009 Thierry Parmentelat - vsys-0.9-4 - fix build for f12