yaplot-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: yaplot - an easy 3D modeller and animator
  2. Name: yaplot
  3. Version: 3.3
  4. Release: 2%{?_dist_release}
  5. Source: yaplot-%{version}.tar.bz2
  6. Patch1: yaplot-common.patch
  7. Patch2: yaplot-include.patch
  8. Patch3: yaplot-config.patch
  9. Patch4: yaplot-deltatime.patch
  10. Patch5: yaplot-3.3-cache.patch
  11. Patch6: yaplot-3.3-fix.patch
  12. License: distributable
  13. Group: Applications/Engineering
  14. URL: http://www.chem.nagoya-u.ac.jp/matto/yaplot/
  15. Packager: KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp>
  16. Requires: gtk+
  17. BuildRequires: gtk+-devel automake16
  18. Buildroot: %{_tmppath}/%{name}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. yaplot is an easy 3D modeller and animator for visualizing the results
  23. from computer simulation easily. You can browse the motion of the
  24. 3 dimentional wire frame model with text labels and some marks on the
  25. cheap PC based X terminals. Data format is simple and intuitive.
  26. It is the least beautiful and not durable for presentation,
  27. but enough quick and smooth for daily use. (Do not expect much to yaplot!)
  28. %prep
  29. %setup -q
  30. %patch1 -p1 -b .common
  31. %patch2 -p1 -b .include
  32. %patch3 -p0 -b .conf
  33. %patch4 -p0 -b .delta
  34. %patch5 -p1 -b .cache
  35. %patch6 -p1 -b .fix
  36. for i in `grep -lr /usr/local/bin/perl *`
  37. do
  38. perl -pi -e "s@/usr/local/bin/perl@/usr/bin/perl@g" $i
  39. done
  40. perl -pi -e "s@/usr/local/@/usr/@g" common.h
  41. %build
  42. aclocal
  43. automake -a
  44. autoconf
  45. %configure --datadir=/usr/share
  46. make
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. #mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/yaplot}
  50. make DESTDIR=$RPM_BUILD_ROOT install
  51. #install -m 755 -s yaplot_gtk $RPM_BUILD_ROOT/usr/bin/yaplot
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post
  55. #ln -s /usr/bin/yaplot_gtk /usr/bin/yaplot
  56. %preun
  57. #rm -f /usr/bin/yaplot
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS COPYING ChangeLog README* WelcomeJ.html samples/* utils/*
  61. %{_bindir}/*
  62. %{_datadir}/yaplot/*
  63. %changelog
  64. * Mon Jun 15 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.3-2
  65. - add Patch6 to fix build failure (unsigned/singed int et al.)
  66. * Tue Oct 07 2008 KOBAYASHI Taizo <tkoba@vinelinux.org> 3.3-1
  67. - applied new versioning policy
  68. * Wed Nov 28 2007 Shu KONNO <owa@bg.wakwak.com> 3.3-0vl4
  69. - added Patch5: yaplot-3.3-cache.patch (for x86_64)
  70. * Tue Nov 27 2007 KOBAYASHI <tkoba@vinelinux.org> 3.3-0vl3
  71. - build for VineSeed Plus
  72. * Tue Nov 27 2007 KOBAYASHI <tkoba@vinelinux.org> 3.3-0vl2
  73. - added deltatime patch
  74. * Fri Sep 08 2006 KOBAYASHI <tkoba@vinelinux.org> 3.3-0vl1
  75. - source update
  76. * Fri Jul 21 2006 KOBAYASHI <tkoba@vinelinux.org> 3.0-0vl4
  77. - rebuild
  78. * Wed Mar 10 2004 KOBAYASHI <tkoba@vinelinux.org> 3.0-0vl3
  79. - rebuild
  80. * Wed Feb 13 2002 KOBAYASHI <tkoba@vinelinux.org> 3.0-0vl2
  81. - fixed Group: section (by sagami@mwc.biglobe.ne.jp [VineSeed:05647])
  82. - rebuild on XF86-4
  83. * Tue Dec 11 2001 KOBAYASHI <tkoba@vinelinux.org>
  84. - update to yaplot-3.0
  85. * Thu Jan 20 2000 T.R. Kobayashi <tkoba@ike-dyn.ritsumei.ac.jp>
  86. - yaplot-2-1
  87. - first release