geomview-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: geomview
  2. Version: 1.9.3
  3. Release: 1%{?_dist_release}
  4. Vendor: Project Vine
  5. Distribution: Vine Linux
  6. License: GPL
  7. Group: Applications/Engineering
  8. URL: http://www.geomview.org/
  9. Source0: http://geomview.sourceforge.net/%{name}-%{version}.tar.gz
  10. Source1: %{name}.png
  11. BuildRoot: %{_tmppath}/%{name}-root
  12. Requires: openMotif mesa-libGL
  13. Prereq: install-info
  14. BuildPrereq: openMotif-devel mesa-libGL-devel
  15. Summary: An interactive 3D viewing program
  16. %description
  17. Geomview is an interactive 3D viewing program for Unix. It lets you view and
  18. manipulate 3D objects: you use the mouse to rotate, translate, zoom in and out,
  19. etc. It can be used as a standalone viewer for static objects or as a display
  20. engine for other programs which produce dynamically changing geometry. It can
  21. display objects described in a variety of file formats. It comes with a wide
  22. selection of example objects, and you can create your own objects too.
  23. %package devel
  24. Group: Applications/Engineering
  25. Requires: %{name} = %{version}-%{release}
  26. Summary: geomview libraries and headers
  27. %description devel
  28. geomview libraries and headers.
  29. %prep
  30. %setup -q
  31. %build
  32. %configure
  33. %__make
  34. %install
  35. %__rm -rf %{buildroot}
  36. %makeinstall
  37. ## remove unuse files
  38. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  39. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  40. %clean
  41. %__rm -rf %{buildroot}
  42. %post
  43. /sbin/install-info %{_infodir}/%{name}.* %{_infodir}/dir
  44. %preun
  45. if [ $1 = 0 ]; then
  46. /sbin/install-info --delete %{_infodir}/%{name}.* %{_infodir}/dir
  47. fi
  48. %files
  49. %defattr(-,root,root)
  50. %doc AUTHORS ChangeLog COPYING NEWS README
  51. %{_bindir}/anytooff
  52. %{_bindir}/anytoucd
  53. %{_bindir}/bdy
  54. %{_bindir}/bez2mesh
  55. %{_bindir}/clip
  56. %{_bindir}/geomview
  57. ## only hvectext has finding error: fix me!
  58. #%{_bindir}/hvectext
  59. %{_bindir}/math2oogl
  60. %{_bindir}/offconsol
  61. %{_bindir}/oogl2rib
  62. %{_bindir}/oogl2vrml
  63. %{_bindir}/oogl2vrml2
  64. %{_bindir}/polymerge
  65. %{_bindir}/remotegv
  66. %{_bindir}/togeomview
  67. %{_bindir}/ucdtooff
  68. %{_bindir}/vrml2oogl
  69. %{_libdir}/*.so
  70. %{_libexecdir}/%{name}/
  71. %{_mandir}/man?/*
  72. %{_infodir}/%{name}*
  73. %{_infodir}/figs/*
  74. %{_docdir}/%{name}/
  75. %{_datadir}/%{name}/
  76. %files devel
  77. %defattr(-,root,root)
  78. %{_includedir}/%{name}/
  79. %{_libdir}/*.a
  80. %changelog
  81. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.9.3-1vl5
  82. - applied new versioning policy
  83. - removed *.la
  84. * Thu Aug 16 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.9.3-0vl1
  85. - New upstream.
  86. - Add devel package.
  87. - Remove plugins package.
  88. * Mon Aug 4 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.8.1-0vl2
  89. - Rebuild for new Vine.
  90. - Add Requires and BuildPreReq XFree86-gl
  91. * Wed Jun 4 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 1.8.1-0vl1
  92. - Initial build.