netlrts: cleanup CmiNotifyStillIdle & CmiNotifyIdle
[charm.git] / charm.spec
blob8ea4fd1d1d927b1abe0776de6f7a9d9ca2de7578
2 # spec file for building charm rpm for redhat.
4 Summary: Charm++
6 %define buildsmp 0
7 %define charm_options %{nil}
9 %if %{buildsmp}
10 Name: Charm-smp
11 %define charm_options %{charm_option} smp
12 %else
13 Name: Charm
14 %endif
16 Version: 5.9
17 Release: 12
18 Copyright: GPL
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>
25 %description
26 Charm++ RPM for Linux
28 %prep
29 %setup -n %{name}-%{version}-%{release}
30 bzip2 -dc %{_sourcedir}/Charm-%{version}-%{release}.tar.bz2 | tar xvf -
31 %build
32 ./build AMPI net-linux %{charm_options} -O -DCMK_OPTIMIZE
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35 %install
36 mkdir -p $RPM_BUILD_ROOT
37 cd tmp; make DESTDIR=$RPM_BUILD_ROOT/usr/local/%{name} install
38 %post
40 %files
41 /usr/local/%{name}/*
42 %doc README LICENSE CHANGES README.cygwin README.win32