X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=rpm%2Fctsim.spec;h=8369d9fb6f6d4927ae25caac8efc806f14f0f4d6;hb=d16eb37cbc73f67fc29a60645e0b1ac7fe32767e;hp=bd39ff0c66a23b3af537cc4ad16341fd4c5dfe8f;hpb=9b15cfd16ba017b7632a952b1f2f61a3c8ccaac0;p=ctsim.git diff --git a/rpm/ctsim.spec b/rpm/ctsim.spec index bd39ff0..8369d9f 100644 --- a/rpm/ctsim.spec +++ b/rpm/ctsim.spec @@ -1,5 +1,5 @@ # Version of CTSim -%define version 3.0.0alpha5 +%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