X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=rpm%2Fctsim-2.0.0b9-1.spec;fp=rpm%2Fctsim-2.0.0b9-1.spec;h=948cf19fef08183930c812ce57147e65e283eb52;hb=74a34e63a9a356e1467acdba65497ab15190dde0;hp=0000000000000000000000000000000000000000;hpb=a5139613f6b92aeb8db9daa87f021c78d17d82a5;p=ctsim.git diff --git a/rpm/ctsim-2.0.0b9-1.spec b/rpm/ctsim-2.0.0b9-1.spec new file mode 100644 index 0000000..948cf19 --- /dev/null +++ b/rpm/ctsim-2.0.0b9-1.spec @@ -0,0 +1,50 @@ +# 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 +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 + +