forked from HewlettPackard/foedus_code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrpm.spec.cmake
39 lines (33 loc) · 1.25 KB
/
rpm.spec.cmake
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
Buildroot: @CPACK_TARGET_RPM_DIR@/@CPACK_PACKAGE_FILE_NAME@
Summary: FOEDUS-CORE: Fast Optimistic Engine for Data Unification Services Core Library
Name: @CPACK_PACKAGE_NAME@
Version: @CPACK_PACKAGE_VERSION@
Release: @CPACK_PACKAGE_RELEASE@
License: Other
Group: Development/Tools/Other
Vendor: @CPACK_PACKAGE_VENDOR@
Prefix: @CPACK_PACKAGING_INSTALL_PREFIX@
# Requires:
%define _rpmdir @CPACK_TARGET_RPM_DIR@
%define _rpmfilename @[email protected]
%define _unpackaged_files_terminate_build 0
%define _topdir @CPACK_TARGET_RPM_DIR@
%description
This library is the gut of FOEDUS as a transactional key-value storage system.
Any client program can link to it as a shared library.
# This is a shortcutted spec file generated by CMake RPM generator
# we skip _install step because CPack does that for us.
# We do only save CPack installed tree in _prepr
# and then restore it in build.
# %prep
# %build
# %install
%clean
%files
%defattr(-,root,root,-)
@CPACK_PACKAGING_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/*
@CPACK_PACKAGING_INSTALL_PREFIX@/bin/foedus
@CPACK_PACKAGING_INSTALL_PREFIX@/share/doc/foedus-core
%changelog
* Fri May 16 2014 Hideaki Kimura <[email protected]> 0.1.0
- Initial RPM Release