-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnomad.spec
More file actions
38 lines (32 loc) · 764 Bytes
/
Copy pathnomad.spec
File metadata and controls
38 lines (32 loc) · 764 Bytes
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
%define _prefix /usr
Name: nomad
Version: 3.7.2
Release: 1
Summary: NOMAD (Nonsmooth Optimization by Mesh Adaptive Direct Search)
License: LGPL
Group: science
Source: %{name}-%{version}.tar.gz
URL: https://www.gerad.ca/nomad/
Packager: Miroslav Shaltev <miroslav.shaltev@aei.mpg.de>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc-c++, autoconf, automake, doxygen, graphviz
#Requires:
Prefix: %{_prefix}
%description
NOMAD (Nonsmooth Optimization by Mesh Adaptive Direct Search)
%prep
%setup -q
%build
./autogen.sh
%configure
make
%makeinstall
%clean
#[ ${RPM_BUILD_ROOT} != "/" ] && rm -Rf ${RPM_BUILD_ROOT}
#rm -Rf ${RPM_BUILD_DIR}/%{name}-%{version}
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/*
%{_includedir}/*
%{_libdir}/*