Summary: IRAF Client Display Library Name: cdl Version: 1.8 Release: 7.el5.uson URL: http://iraf.noao.edu/new_stuff/cdl.html Source0: %{name}-%{version}.tar.gz Patch0: cdl.patch License: Other (see http://iraf.noao.edu) Group: Applications/Scientific Packager: Fernando Avila Castro Distribution: Area de Astronomia, USON BuildRoot: %{_tmppath}/%{name}-root %description The CDL is a host interface for C or Fortran programs allowing them to display images or overlay graphics to display servers such as XImtool or SAOimage / SAOtng. High-level procedures allow IRAF or FITS images to be displayed simply, other routines permit access to all other server functions (e.g. cursor and image readback, frame selection, etc). The library also features a number of functions for doing image overlay graphics; supported graphics primitives include numerous point shapes, lines, circles, ellipses, polygons, annular shapes, and text. This package is made up of several interfaces, specifically CDL - high-level image display and graphics overlay IMD - mid-level image display routines COMM - server communications (currently IIS) See the Notes file or Reference Guide in the doc subdirectory for more information. %prep mkdir $RPM_BUILD_DIR/cdl cd $RPM_BUILD_DIR/cdl tar xvvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz %patch0 -p1 %build cd $RPM_BUILD_DIR/cdl ./configure make %install rm -rf $RPM_BUILD_ROOT cd $RPM_BUILD_DIR/cdl mkdir -p $RPM_BUILD_ROOT/usr/lib/ cp libcdl.a $RPM_BUILD_ROOT/usr/lib/. mkdir -p $RPM_BUILD_ROOT/usr/include/ cp cdl*.h $RPM_BUILD_ROOT/usr/include/. mkdir -p $RPM_BUILD_ROOT/usr/bin/ cp vximtool $RPM_BUILD_ROOT/usr/bin/. mkdir -p $RPM_BUILD_ROOT/usr/share/cdl/ cp -r examples $RPM_BUILD_ROOT/usr/share/cdl/. cp -r test $RPM_BUILD_ROOT/usr/share/cdl/. mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/ mv doc/vximtool.man $RPM_BUILD_ROOT/usr/share/man/man1/vximtool.1 %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/cdl %files %defattr(-,root,root) /usr/share/man/man1/* /usr/share/cdl /usr/bin/* /usr/lib/* /usr/include/* %doc cdl/Notes %doc cdl/README %doc cdl/Revisions %doc cdl/TODO %doc cdl/doc/* %changelog * Wed Apr 18 2007 - rebuild for rhel 5 * Fri Jun 24 2005 tim pickering - build under FC 4 * Tue Oct 19 2004 tim pickering - build under FC 3 * Fri Aug 13 2004 tim pickering - build under FC 2 * Wed Jan 14 2004 tim pickering - build under FC 1 * Fri Dec 06 2002 tim pickering - version 1.8 * Thu Aug 31 2001 tim pickering - Initial build.