Summary: X11IRAF v1.3.1 - programs for running NOAO's IRAF under X windows Name: x11iraf Version: 1.3.1 Release: 9.el5.uson Source: ftp://iraf.noao.edu/iraf/x11iraf/x11iraf-v%{version}-bin.redhat.tar.gz Source1: IRAF.desktop Source2: XGterm.desktop Source3: XImtool-alt.desktop Source4: XImtool-mag.desktop Source5: XImtool.desktop Source6: XTapemon.desktop Source7: iraf.png Source8: xgterm.fedora Source9: EIRAF.desktop License: distributable Packager: Fernando Avila Castro Distribution: Area de Astronomia, USON Vendor: NOAO IRAF Group Group: Applications/Scientific Requires: iraf BuildRoot: %{_tmppath}/x11iraf %description x11iraf is a (currently minimal) X11 GUI for NOAO's Interactive Analysis and Reduction Facility (IRAF; http://iraf.noao.edu). The primary programs this package provides are an image display program, ximtool, and an xterm-emulator with enhanced graphics capabilities, xgterm. It also provides a GUI tape monitor, xtapemon, and x11iraf's own version of tcl's wish, obmsh, to allow users to build upon the x11iraf GUI. %prep mkdir -p $RPM_BUILD_DIR/x11iraf %build cd $RPM_BUILD_DIR/x11iraf tar xvvzf $RPM_SOURCE_DIR/x11iraf-v%{version}-bin.redhat.tar.gz %install cd $RPM_BUILD_DIR/x11iraf rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin mkdir -p $RPM_BUILD_ROOT/usr/X11R6/man/man1 mkdir -p $RPM_BUILD_ROOT/usr/local/bin mkdir -p $RPM_BUILD_ROOT/usr/local/man/man1 mkdir -p $RPM_BUILD_ROOT/usr/share/applications mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps cp $RPM_SOURCE_DIR/IRAF.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/EIRAF.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/XGterm.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/XImtool.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/XImtool-alt.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/XTapemon.desktop $RPM_BUILD_ROOT/usr/share/applications/. cp $RPM_SOURCE_DIR/iraf.png $RPM_BUILD_ROOT/usr/share/pixmaps/. mv app-defaults/* $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/. mv bin.redhat/x* $RPM_BUILD_ROOT/usr/X11R6/bin/. mv bin.redhat/vximtool $RPM_BUILD_ROOT/usr/X11R6/bin/. #mv bin.redhat/resize $RPM_BUILD_ROOT/usr/X11R6/bin/. mv bin.redhat/obmsh $RPM_BUILD_ROOT/usr/local/bin/. cp -f $RPM_SOURCE_DIR/xgterm.fedora $RPM_BUILD_ROOT/usr/X11R6/bin/xgterm mv man/xgterm.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/xgterm.1x mv man/vximtool.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/vximtool.1x mv man/xtapemon.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/xtapemon.1x #mv man/resize.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/resize.1x mv man/obmsh.1 $RPM_BUILD_ROOT/usr/local/man/man1/. mv man/ximtool.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/ximtool.1x chmod +x $RPM_BUILD_ROOT/usr/X11R6/bin/* %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/x11iraf %files %defattr(-,root,root) %config /usr/X11R6/lib/X11/app-defaults/XGterm %config /usr/X11R6/lib/X11/app-defaults/XTapemon /usr/X11R6/bin/* /usr/local/bin/obmsh /usr/local/man/man1/* /usr/X11R6/man/man1/* /usr/share/pixmaps/iraf.png /usr/share/applications/* %changelog * Wed Apr 18 2007 - rebuild for rhel 5 * Thu Nov 16 2006 Tim Pickering - rebuild * Tue Jul 12 2005 Tim Pickering - add support for ECL * Wed Jun 22 2005 Tim Pickering - build under FC 4 * Wed Oct 20 2004 Tim Pickering - build under FC 3 * Tue Sep 14 2004 Tim Pickering - include fixed xgterm from 09042004 * Mon Aug 16 2004 Tim Pickering - build under FC 2 using pre-built binaries and patched xgterm * Fri Aug 22 2003 Tim Pickering - build under RH 9 - update desktop files * Mon Dec 09 2002 Tim Pickering - update to 1.3.1 and build under redhat 8.0 * Mon Oct 23 2000 Tim Pickering - built under RH 7.0 * Mon May 15 2000 Tim Pickering - version 1.2 - compressed postscript docs - compressed man pages - removed wmconfig stuff and replaced it with KDE and gnome entries - included full-size iraf.xpm along with the mini icon * Thu Nov 11 1999 Tim Pickering - built under RH 6.1 * Tue Jan 19 1999 Tim Pickering - cleaned up .spec file - changed Description to Summary and added a real description - finally added a changelog