-
Notifications
You must be signed in to change notification settings - Fork 9
/
neurobayes.spec.in
43 lines (37 loc) · 1.55 KB
/
neurobayes.spec.in
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
Buildroot: @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/@CPACK_PACKAGE_FILE_NAME@
Summary: NeuroBayes with @MAXNODE_PREPRO@ Nodes
Name: @CPACK_PACKAGE_NAME@
Version: @CPACK_PACKAGE_VERSION@
Release: @CPACK_PACKAGE_RELEASE@
License: Copyright Blue Yonder
URL: blue-yonder.com
Group: Development/Libraries
Vendor: @CPACK_PACKAGE_VENDOR@
Prefix: @CPACK_PACKAGING_INSTALL_PREFIX@
%define _rpmdir @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM
%define _rpmfilename @[email protected]
%define _unpackaged_files_terminate_build 0
%define _topdir @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM
%description
NeuroBayes shared libraries and header files compiled for Scientific Linux 6 with 100 Nodes
Package includes NeuroBayes fortran library and C++ interface.
# 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
mv $RPM_BUILD_ROOT @CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot
%install
if [ -e $RPM_BUILD_ROOT ];
then
rm -Rf $RPM_BUILD_ROOT
fi
mv "@CMAKE_CURRENT_BINARY_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
@CPACK_PACKAGING_INSTALL_PREFIX@/lib/*
@CPACK_PACKAGING_INSTALL_PREFIX@/include/*
@CPACK_PACKAGING_INSTALL_PREFIX@/bin/minimaltest
%changelog
* Tue Oct 18 2016 Thomas Keck <[email protected]> 4.3.1
- Use CMAKE instead of autotools