gle-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define name gle
  2. %define version 3.1.0
  3. %define release 2%{?_dist_release}
  4. Summary: The GLE Tubing and Extrusion Library
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. URL: http://www.linas.org/gle/
  9. Source: %{name}-%{version}.tar.gz
  10. License: distributable
  11. Group: System Environment/Libraries
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: mesa-libGLU-devel
  14. BuildRequires: mesa-libGL-devel
  15. BuildRequires: freeglut-devel
  16. BuildRequires: libXi-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. GLE is a library package of C functions that draw extruded surfaces,
  21. including surfaces of revolution, sweeps, tubes, polycones,
  22. polycylinders and helicoids. Generically, the extruded surface is
  23. specified with a 2D polyline that is extruded along a 3D path. A
  24. local coordinate system allows for additional flexibility in the
  25. primitives drawn. Extrusions may be texture mapped in a variety of
  26. ways. The GLE library generates 3D triangle coordinates, lighting
  27. normal vectors and texture coordinates as output. GLE uses the GL or
  28. OpenGL(R) API's to perform the actual rendering. The demos use GLUT
  29. and require GLUT to be installed.
  30. %package devel
  31. Summary: Static libraries and header files for gle
  32. Group: Development/Libraries
  33. Requires: gle
  34. %description devel
  35. gle-devel contains the static libraries and header files you'll
  36. need to develop gle applications.
  37. %prep
  38. %setup -q
  39. %build
  40. %configure
  41. make
  42. %install
  43. rm -rf %{buildroot}
  44. %makeinstall
  45. ## remove unuse files
  46. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  47. %clean
  48. rm -rf %{buildroot}
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-, root, root)
  53. %doc AUTHORS COPYING ChangeLog INSTALL README examples/
  54. %{_libdir}/libgle.so.*
  55. %{_mandir}/man3/*
  56. %{_datadir}/doc
  57. %files devel
  58. %defattr(-, root, root)
  59. %{_includedir}/GL/gle.h
  60. %{_libdir}/libgle.a
  61. #%{_libdir}/libgle.la
  62. %{_libdir}/libgle.so
  63. %changelog
  64. * Mon Sep 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1.0-2vl5
  65. - added BuildRequires: mesa-libGL[U]-devel, freeglut-devel, libXi-devel
  66. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.0-1vl5
  67. - applied new versioning policy, spec in utf-8
  68. - removed *.la
  69. - modified paths about X11R6
  70. * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 3.1.0-0vl1
  71. - new upstream release
  72. - s/Copyright/License/
  73. - updated _libdir with /usr/X11R6/%%{_lib}
  74. * Fri Jun 15 2001 Jun Nishii <jun@vinelinux.org> 3.0.3-0vl1
  75. - ver.up
  76. * Wed Mar 28 2001 Jun Nishii <jun@vinelinux.org> 3.0.1-0vl1
  77. - first build