Author: glen Date: Sat Oct 8 19:51:58 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: libvserver.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libvserver.spec diff -u /dev/null SPECS/libvserver.spec:1.1 --- /dev/null Sat Oct 8 21:51:58 2005 +++ SPECS/libvserver.spec Sat Oct 8 21:51:53 2005 @@ -0,0 +1,92 @@ +# $Revision$, $Date$ +Summary: Linux-VServer syscall library +Name: libvserver +Version: 0.2.1 +Release: 0.1 +License: GPL v2 +Group: Applications/System +Source0: http://dev.gentoo.org/~hollow/vserver/libvserver/%{name}-%{version}.tar.bz2 +# Source0-md5: 61cb0a655e40116e1b4eba917018cdce +URL: http://dev.gentoo.org/~hollow/vserver/libvserver +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a clean implementation of the Linux-VServer 2.0 API using a +library which handles all vserver syscalls and provides a interface +usable in other applications such as the tools provided with +libvserver. The tools directory contains the most basic implementation +of the syscall commands in user space. High-level programs such as the +"vserver" command of util-vserver can use these tools to access the +VServer API. + +%package devel +Summary: Development libraries and header files for libvserver library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: linux-libc-headers + +%description devel +This is the package containing the development libraries and header +files for libvserver. + +%package static +Summary: Static libvserver library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libvserver library. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README TODO +%attr(755,root,root) %{_libdir}/libvserver.so.*.*.* +%attr(755,root,root) %{_sbindir}/vcontext +%attr(755,root,root) %{_sbindir}/vdlimit +%attr(755,root,root) %{_sbindir}/vinfo +%attr(755,root,root) %{_sbindir}/vlimit +%attr(755,root,root) %{_sbindir}/vnamespace +%attr(755,root,root) %{_sbindir}/vnetwork +%attr(755,root,root) %{_sbindir}/vsched +%attr(755,root,root) %{_sbindir}/vsignal +%attr(755,root,root) %{_sbindir}/vuname + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libvserver.so +%{_libdir}/libvserver.la +%{_includedir}/linux/vserver +%{_includedir}/vserver.h + +%files static +%defattr(644,root,root,755) +%{_libdir}/libvserver.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/10/08 19:51:53 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
