Name: vzpkg Version: 2.7.0 Release: 18 Summary: OpenVZ template management tools Source: %{name}-%{version}-%{release}.tar.bz2 License: QPL Vendor: SWsoft URL: http://openvz.org/ Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch Requires: sed, gawk, coreutils Requires: procmail Requires: vzctl >= 2.7.0-23 Requires: vzyum >= 2.4.0-5 # NOTE this package actually requires vzrpm of some version installed, # but the version of vzrpm depends on OS template used. # Thus this requirement for vzrpmXX is put to OS template metadata instead. # New vzpkg does not work with old template metadata. Conflicts: vztmpl-fedora-core-3 > 2.0 Conflicts: vztmpl-fedora-core-4 > 2.0 Conflicts: vztmpl-centos-4 > 2.0 %define libdir %_datadir/%name %description OpenVZ template management tools are used for software installation inside Virtual Private Servers. %prep %setup -n %{name}-%{version}-%{release} %install make DESTDIR=%buildroot install %files %defattr(-, root, root) %attr(755,root,root) %_bindir/vzpkgcache %attr(755,root,root) %_bindir/vzyum %attr(755,root,root) %_bindir/vzrpm %attr(755,root,root) %_bindir/vzpkgadd %attr(755,root,root) %_bindir/vzpkgrm %attr(755,root,root) %_bindir/vzpkgls %attr(755,root,root) %_bindir/vzosname %dir %libdir %attr(644,root,root) %libdir/functions %attr(755,root,root) %libdir/cache-os %attr(755,root,root) %libdir/myinit.* %_mandir/man8/vzpkgcache.8.* %_mandir/man8/vzyum.8.* %_mandir/man8/vzrpm.8.* %doc README NEWS TODO LICENSE.QPL %clean test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT %changelog * Thu Oct 27 2005 st@sw.com.sg - auto rebuild