1 Summary: checkpoint/restore functionality for Linux in userspace
6 Group: Applications/System
7 Source0: http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
8 # Source0-md5: 67c4ca5ca36a3514f247e86743c9ceee
10 BuildRequires: autoconf >= 2.50
11 BuildRequires: protobuf-c-devel
12 BuildRequires: rpmbuild(macros) >= 1.228
13 BuildRequires: sed >= 4.0
14 Requires: uname(release) >= 3.9
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux
19 operating system. Using this tool, you can freeze a running
20 application (or part of it) and checkpoint it to a hard drive as a
21 collection of files. You can then use the files to restore and run the
22 application from the point it was frozen at. The distinctive feature
23 of the CRIU project is that it is mainly implemented in user space.
25 %description -l en.UTF-8
26 Checkpoint/Restore In Userspace, or CRIU (pronounced kree-oo, IPA:
27 /krɪʊ/, Russian: криу), is a software tool for Linux operating system.
28 Using this tool, you can freeze a running application (or part of it)
29 and checkpoint it to a hard drive as a collection of files. You can
30 then use the files to restore and run the application from the point
31 it was frozen at. The distinctive feature of the CRIU project is that
32 it is mainly implemented in user space.
36 sed -i -e 's#-O2#$(OPT)#g' Makefile*
41 OPT="%{rpmcppflags} %{rpmcflags}" \
46 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %attr(755,root,root) /sbin/criu
59 %{_mandir}/man8/criu.8*