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