2 %define version 2.0.0b8
4 Summary: CTSim - Open-Source Computed Tomography Simulator
8 Packager: Kevin Rosenberg <kevin@rosenberg.net>
9 Source: ftp.ctsim.org:/pub/ctsim/ctsim-%{version}.tar.gz
11 Group: Applications/Scientific
14 CTSim is a Computed Tomography Simulator.
20 CFLAGS="$RPM_OPT_FLAGS" \
21 ./configure --prefix=/usr/local --enable-static
25 install -s -m 755 -o 0 -g 0 src/ctsim /usr/local/bin/ctsim
26 install -s -m 755 -o 0 -g 0 tools/pjrec /usr/local/bin/pjrec
27 install -s -m 755 -o 0 -g 0 tools/pj2if /usr/local/bin/pj2if
28 install -s -m 755 -o 0 -g 0 tools/phm2pj /usr/local/bin/phm2pj
29 install -s -m 755 -o 0 -g 0 tools/phm2if /usr/local/bin/phm2if
30 install -s -m 755 -o 0 -g 0 tools/if-1 /usr/local/bin/if-1
31 install -s -m 755 -o 0 -g 0 tools/if-2 /usr/local/bin/if-2
32 install -s -m 755 -o 0 -g 0 tools/if2img /usr/local/bin/if2img
33 install -s -m 755 -o 0 -g 0 tools/if-1 /usr/local/bin/ifinfo
34 install -m 755 -o 0 -g 0 tools/sample-ctsim.sh /usr/local/bin/sample-ctsim.sh
37 %doc README COPYING ChangeLog INSTALL
48 /usr/local/bin/sample-ctsim.sh