-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathfluidmem-memcached.spec
114 lines (98 loc) · 3.34 KB
/
fluidmem-memcached.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
%define _unpackaged_files_terminate_build 0
%define _missing_doc_files_terminate_build 0
%define _libdir /usr/lib
%define _bindir /usr/local/bin
%define _includedir /usr/include
%{!?_version:%define _version 2}
%{!?_release:%define _release 1}
Name: fluidmem-memcached
Version: %{_version}
Release: %{_release}
Summary: RPM spec file for FluidMem
License: GPL
URL: https://github.com/blakecaldwell/fluidmem
Source0: fluidmem.tar.gz
BuildArch: x86_64
BuildRequires: boost-devel, libmemcached-devel, gcc-c++, autoconf, automake, libtool, libzookeeper-devel
Requires: libzookeeper, libmemcached, kernel-headers >= 4.3.0
%description
FluidMem
%package client
Summary: Client library of FluidMem
%description client
Client-side including library to connect to fluidmem monitor
%package -n fluidmem-patches
Summary: Patches to various components of FluidMem
%description -n fluidmem-patches
Patches used for CI
%prep
%setup -n fluidmem-memcached
%build
sh ./autogen.sh
./configure --enable-memcached --enable-pagecache --enable-threadedprefetch \
--enable-threadedwrite --enable-asynread --prefix=/usr --bindir=/usr/local/bin
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%post client
/sbin/ldconfig
%postun client
/sbin/ldconfig
%files
%defattr(-,root,root)
%exclude %{_includedir}/userfault-client.h
%{_bindir}/monitor
%{_bindir}/ui
%{_bindir}/test_for_corruption
%{_bindir}/test_readahead
%{_bindir}/test_cases
%{_includedir}/*.h
%{_libdir}/libuserfault.so*
%{_libdir}/liblrubuffer.so*
%{_libdir}/libexternram.so*
%{_libdir}/libpagecache.so*
%{_libdir}/libmonitorstats.so*
%{_datadir}/fluidmem/scripts/attachMemory.py
%{_datadir}/fluidmem/scripts/online_mem.sh
%{_datadir}/fluidmem/tests/*.sh
%files client
%defattr(-,root,root)
%{_includedir}/userfault-client.h
%{_includedir}/dbg.h
%{_libdir}/libuserfault_client.so*
%files -n fluidmem-patches
%defattr(-,root,root)
%{_datadir}/qemu/*.patch
%{_datadir}/libvirt/*.patch
%{_datadir}/nova/*.patch
%{_datadir}/ramcloud/*.patch
#%{_datadir}/kernel/*.patch
#%doc
%changelog
* Fri Dec 29 2018 Blake Caldwell <[email protected]> 0.2.1
- Rename test to test_for_corruption
* Fri Dec 21 2018 Blake Caldwell <[email protected]> 0.2.0
- FluidMem release
* Sat Dec 01 2018 Blake Caldwell <[email protected]> 0.1.10
- Bringing up to date after aknown good state
* Sat Jan 14 2017 Blake Caldwell <[email protected]> 0.1.9
- Removed pagetracker library
* Wed Aug 17 2016 Blake Caldwell <[email protected]> 0.1.8
- Build with enable-threadedprefetch
* Sat Jul 30 2016 Blake Caldwell <[email protected]> 0.1.7
- Build with enable-threadedwrite
* Tue Jun 21 2016 Blake Caldwell <[email protected]> 0.1.6
- Build with enable-pagecache-zeropageopt
* Sun Jun 12 2016 Blake Caldwell <[email protected]> 0.1.5
- Removed pagetracker from config options
* Thu May 05 2016 Blake Caldwell <[email protected]> 0.1.4
- Added scripts for managing hotplug memory
* Thu Apr 21 2016 Blake Caldwell <[email protected]> 0.1.3
- Added libmonitorstats to generated RPM
* Mon Feb 15 2016 Blake Caldwell <[email protected]> 0.1.2
- Tweaked file after compiling qemu with client
* Wed Feb 10 2016 Blake Caldwell <[email protected]> 0.1.1
- Working RPM release
* Wed Jan 13 2016 Ravi <[email protected]> 1.0
- Initial RPM release