r564: *** empty log message ***
[ctsim.git] / rpm / ctsim.spec
index 9ede988aa42814c89ba91429b40ccac670659162..8369d9fb6f6d4927ae25caac8efc806f14f0f4d6 100644 (file)
@@ -1,5 +1,5 @@
 # Version of CTSim
-%define version 3.0.0alpha4
+%define version 3.0.3
 
 Summary: CTSim - Open-Source Computed Tomography Simulator
 Name: ctsim
@@ -18,13 +18,16 @@ CTSim is a Computed Tomography Simulator.
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" \
-       ./configure --prefix=/usr/local --enable-static
+       ./configure --prefix=/usr/local --enable-static --without-lam
 make
 
 %install
+strip src/ctsim
+strip tools/ctsimtext
 install -s -m 755 -o 0 -g 0 src/ctsim /usr/local/bin/ctsim
 install -s -m 755 -o 0 -g 0 tools/ctsimtext /usr/local/bin/ctsimtext
 install -m 755 -o 0 -g 0 tools/sample-ctsim.sh /usr/local/bin/sample-ctsim.sh
+install -m 755 -o 0 -g 0 doc/ctsim.htb /usr/local/man/ctsim.htb
 rm -f /usr/local/bin/if1
 rm -f /usr/local/bin/if2
 rm -f /usr/local/bin/ifexport
@@ -49,6 +52,7 @@ ln -s /usr/local/bin/ctsimtext /usr/local/bin/pjrec
 
 /usr/local/bin/ctsim
 /usr/local/bin/ctsimtext
+/usr/local/man/ctsim.htb
 /usr/local/bin/sample-ctsim.sh