]> git.pld-linux.org Git - packages/criu.git/blame - criu.spec
needs mostly 3.9 kernel, may need some more patching, see http://criu.org/Installation
[packages/criu.git] / criu.spec
CommitLineData
6be8c1d2
AM
1Summary: checkpoint/restore functionality for Linux in userspace
2Name: criu
3Version: 1.0
4Release: 1
5License: GPL v2
6Group: Applications/System
7Source0: http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
8# Source0-md5: 67c4ca5ca36a3514f247e86743c9ceee
9URL: http://criu.org/
10BuildRequires: autoconf >= 2.50
11BuildRequires: protobuf-c-devel
12BuildRequires: rpmbuild(macros) >= 1.228
7a8067bd 13BuildRequires: sed >= 4.0
3d5585be 14Requires: uname(release) >= 3.9
6be8c1d2
AM
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
7a8067bd
ER
18Checkpoint/Restore In Userspace, or CRIU, is a software tool for Linux
19operating system. Using this tool, you can freeze a running
20application (or part of it) and checkpoint it to a hard drive as a
21collection of files. You can then use the files to restore and run the
22application from the point it was frozen at. The distinctive feature
23of the CRIU project is that it is mainly implemented in user space.
24
25%description -l en.UTF-8
6be8c1d2
AM
26Checkpoint/Restore In Userspace, or CRIU (pronounced kree-oo, IPA:
27/krɪʊ/, Russian: криу), is a software tool for Linux operating system.
28Using this tool, you can freeze a running application (or part of it)
29and checkpoint it to a hard drive as a collection of files. You can
30then use the files to restore and run the application from the point
31it was frozen at. The distinctive feature of the CRIU project is that
32it is mainly implemented in user space.
33
34%prep
35%setup -q
36sed -i -e 's#-O2#$(OPT)#g' Makefile*
37
38%build
39%{__make} \
40 CC="%{__cc}" \
41 OPT="%{rpmcppflags} %{rpmcflags}" \
42 V=1 \
43 WERROR=0
44
45%install
46rm -rf $RPM_BUILD_ROOT
6be8c1d2
AM
47%{__make} install \
48 SBINDIR=/sbin \
49 MANDIR=%{_mandir} \
50 DESTDIR=$RPM_BUILD_ROOT
7a8067bd 51
6be8c1d2
AM
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc CREDITS README
58%attr(755,root,root) /sbin/criu
59%{_mandir}/man8/criu.8*
This page took 0.07321 seconds and 4 git commands to generate.