forked from hpc/xpmem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xpmem-lib.spec
37 lines (30 loc) · 865 Bytes
/
xpmem-lib.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#define buildforkernels newest
#define buildforkernels current
#define buildforkernels akmod
%global debug_package %{nil}
Summary: XPMEM: Cross-partition memory
Name: xpmem
Version: 0.2
Release: 0
License: GPLv2
Group: System Environment/Libraries
Packager: Nathan Hjelm
Source: xpmem-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: xpmem-kmod
Provides: xpmem xpmem-devel
%description
XPMEM is a Linux kernel module that enables a process to map the
memory of another process into its virtual address space. Source code
can be obtained by cloning the Git repository, original Mercurial
repository or by downloading a tarball from the link above.
%prep
%setup -n xpmem-%{version}
%build
./configure --prefix=/opt/xpmem --disable-kernel-module
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-, root, root)
/opt