1 |
sashby |
1.2 |
### RPM external fastjet 2.1.0b1
|
2 |
ratnik |
1.4 |
Requires: gcc-wrapper
|
3 |
ratnik |
1.1 |
Source: http://www.lpthe.jussieu.fr/~salam/repository/software/fastjet/%n-%v.tgz
|
4 |
|
|
|
5 |
|
|
%prep
|
6 |
|
|
%setup -n %n-%v
|
7 |
|
|
|
8 |
|
|
%build
|
9 |
ratnik |
1.4 |
## IMPORT gcc-wrapper
|
10 |
ratnik |
1.1 |
cd src
|
11 |
elmer |
1.3 |
# The following is a hack, whether it works should be checked whenever
|
12 |
|
|
# the version is updated from 2.1.0b1
|
13 |
|
|
perl -p -i -e "s|CXXFLAGS \+\=|CXXFLAGS += -fPIC|" Makefile
|
14 |
ratnik |
1.1 |
make
|
15 |
|
|
make install
|
16 |
|
|
|
17 |
|
|
%install
|
18 |
|
|
# Take everything including sources, makefiles, documentation and examples (only 16MB).
|
19 |
|
|
gtar -cv ./| gtar -x -C %i
|