2 # spec file for building charm rpm for redhat.
7 %define charm_options
%{nil}
11 %define charm_options
%{charm_option} smp
19 Group: Applications
/System
20 BuildRoot: /var
/tmp
/%{name}-root
21 Source: http
://charm.cs.illinois.edu
/distrib
/Charm
-%{version}-%{release}.tar.bz2
22 URL: http
://charm.cs.illinois.edu
23 Vendor: PPL
<charm@cs.illinois.edu
>
29 %setup -n
%{name}-%{version}-%{release}
30 bzip2
-dc
%{_sourcedir}/Charm-%{version}-%{release}.tar.bz2 | tar xvf
-
32 .
/build AMPI net
-linux
%{charm_options} -O
-DCMK_OPTIMIZE
34 rm -rf $RPM_BUILD_ROOT
36 mkdir -p $RPM_BUILD_ROOT
37 cd tmp
; make DESTDIR
=$RPM_BUILD_ROOT
/usr
/local/%{name} install
42 %doc README LICENSE CHANGES README.cygwin README.win32