[packages/criu] - initial

arekm arekm at pld-linux.org
Mon Nov 25 19:19:48 CET 2013


commit 6be8c1d202a82d52984e899c53ea85a8e8d01a33
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Nov 25 19:19:37 2013 +0100

    - initial

 criu.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/criu.spec b/criu.spec
new file mode 100644
index 0000000..9090d09
--- /dev/null
+++ b/criu.spec
@@ -0,0 +1,49 @@
+Summary:	checkpoint/restore functionality for Linux in userspace
+Name:		criu
+Version:	1.0
+Release:	1
+License:	GPL v2
+Group:		Applications/System
+Source0:	http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
+# Source0-md5:	67c4ca5ca36a3514f247e86743c9ceee
+URL:		http://criu.org/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	protobuf-c-devel
+BuildRequires:	rpmbuild(macros) >= 1.228
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Checkpoint/Restore In Userspace, or CRIU (pronounced kree-oo, IPA:
+/krɪʊ/, Russian: криу), is a software tool for Linux operating system.
+Using this tool, you can freeze a running application (or part of it)
+and checkpoint it to a hard drive as a collection of files. You can
+then use the files to restore and run the application from the point
+it was frozen at. The distinctive feature of the CRIU project is that
+it is mainly implemented in user space.
+
+%prep
+%setup -q
+sed -i -e 's#-O2#$(OPT)#g' Makefile*
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	OPT="%{rpmcppflags} %{rpmcflags}" \
+	V=1 \
+	WERROR=0
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	SBINDIR=/sbin \
+	MANDIR=%{_mandir} \
+	DESTDIR=$RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS README
+%attr(755,root,root) /sbin/criu
+%{_mandir}/man8/criu.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/criu.git/commitdiff/6be8c1d202a82d52984e899c53ea85a8e8d01a33



More information about the pld-cvs-commit mailing list