Summary: Topdrawer - histgram display Name: topdraw %define version 1.4c %define _ugsversion 2.10d Version: %{version} Release: 3e %define PREFIX /usr License: The Board of Trustees of the Leland, Stanford Junior University Group: Applications/Math Source0: ftp://iris.riken.go.jp/pub/topdrawer/topdrawer-all.tar.gz Source1: ftp://iris.riken.go.jp/pub/ugs/ugs.tar.gz Patch0: topdrawer%{version}-macosx.patch Patch1: ugs%{_ugsversion}-macosx.patch Patch2: topdrawer%{version}-td2ugs.patch Patch3: ugs%{_ugsversion}-gfortran.patch Patch4: topdrawer%{version}-gfortran.patch Patch5: topdrawer%{version}-color.patch Packager: Keifuke Fujii BuildRoot: %{_tmppath}/td-root %description This is a port of Topdrawer 5.12 to Linux with a number of en- hanced features (most of them are the revival of ones lost in the FNAL version). Please report problems to okamu- ra@timshel.riken.go.jp. This is a private release and is NOT of- ficially supported by Univ. of Tokyo or by RIKEN. The latest release is available from ftp://iris.riken.go.jp/pub/topdrawer/ . %prep %setup -n topdraw-%{version} -q -c -a 1 cd topdrawer %ifos darwin %patch0 -p1 %endif %patch2 -p1 cd .. %patch4 -p1 -b .gfort cd ugs %ifos darwin %patch1 -p1 %endif %patch5 -p2 -b .color cd .. %patch3 -p1 -b .gfort rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{PREFIX}/X11R6/bin %build cd ugs xmkmf -a %ifos darwin make XLIB+='-undefined dynamic_lookup' %else make %endif cd ../topdrawer xmkmf -a %ifos darwin make XLIB+='-undefined dynamic_lookup' %else make %endif cd .. %install cd topdrawer install -c -m 755 td $RPM_BUILD_ROOT%{PREFIX}/X11R6/bin/ rm -f doc/doc2gih rm -f doc/doc2tex mv HINTS INSTALL* README* examples doc .. %clean rm -rf $RPM_BUILD_ROOT %files %{PREFIX}/X11R6/bin/td %doc HINTS INSTALL* README* examples doc %changelog * Fri Nov 25 2005 Keisuke Fujii 1.4c-3e - 4th release on MacOSX 10.4. - linked against libgfortran.1.dylib instead of libgfortran.0.dylib. * Tue Nov 15 2005 Keisuke Fujii 1.4c-3d - 3rd release on MacOSX 10.4. - added XLIB+='-undefined dynamic_lookup' to accomodate with Xtools update. * Tue Nov 15 2005 Keisuke Fujii 1.4c-3c - 1st release on Scientific Linux 4.1 - reorginized pathces * Sun Nov 13 2005 Keisuke Fujii 1.4c-3b - 2nd release on MacOSX 10.4. - fixed a bug in ugs2.10d-gfortran patch for ugenab.f. * Fri Nov 11 2005 Keisuke Fujii 1.4c-3a - 2nd release on MacOSX 10.4. - added color patch. * Thu Oct 14 2005 Keisuke Fujii 1.4c-2a - 1st release on MacOSX 10.4. * Fri Jan 09 2004 Keisuke Fujii 1.4c-1d - 1st release on MacOSX 10.3. * Mon Jul 15 2003 Keisuke Fujii - Separated macosx and td2ugs patches * Mon Jul 14 2003 Keisuke Fujii - X now works as subscript/superscript control * Tue Oct 9 2002 Keisuke Fujii - 1st release built on MacOS X 10.2