# Version of CTSim %define version 2.0.0b8 Summary: CTSim - Open-Source Computed Tomography Simulator Name: ctsim Version: %{version} Release: 1 Packager: Kevin Rosenberg Source: ftp.ctsim.org:/pub/ctsim/ctsim-%{version}.tar.gz Copyright: GPL Group: Applications/Scientific %description CTSim is a Computed Tomography Simulator. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr/local --enable-static make %install install -s -m 755 -o 0 -g 0 src/ctsim /usr/local/bin/ctsim install -s -m 755 -o 0 -g 0 tools/pjrec /usr/local/bin/pjrec install -s -m 755 -o 0 -g 0 tools/pj2if /usr/local/bin/pj2if install -s -m 755 -o 0 -g 0 tools/phm2pj /usr/local/bin/phm2pj install -s -m 755 -o 0 -g 0 tools/phm2if /usr/local/bin/phm2if install -s -m 755 -o 0 -g 0 tools/if-1 /usr/local/bin/if-1 install -s -m 755 -o 0 -g 0 tools/if-2 /usr/local/bin/if-2 install -s -m 755 -o 0 -g 0 tools/if2img /usr/local/bin/if2img install -s -m 755 -o 0 -g 0 tools/if-1 /usr/local/bin/ifinfo install -m 755 -o 0 -g 0 tools/sample-ctsim.sh /usr/local/bin/sample-ctsim.sh %files %doc README COPYING ChangeLog INSTALL /usr/local/bin/ctsim /usr/local/bin/pjrec /usr/local/bin/pj2if /usr/local/bin/phm2pj /usr/local/bin/phm2if /usr/local/bin/if-1 /usr/local/bin/if-2 /usr/local/bin/if2img /usr/local/bin/ifinfo /usr/local/bin/sample-ctsim.sh