source: projects/specs/trunk/g/geomview/geomview-vl.spec @ 521

Revision 521, 2.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name: geomview
2Version: 1.9.3
3Release: 1%{?_dist_release}
4Vendor: Project Vine
5Distribution: Vine Linux
6License: GPL
7Group: Applications/Engineering
8URL: http://www.geomview.org/
9Source0: http://geomview.sourceforge.net/%{name}-%{version}.tar.gz
10Source1: %{name}.png
11BuildRoot: %{_tmppath}/%{name}-root
12Requires: openMotif mesa-libGL
13Prereq: install-info
14BuildPrereq: openMotif-devel mesa-libGL-devel
15Summary: An interactive 3D viewing program
16
17%description
18Geomview is an interactive 3D viewing program for Unix. It lets you view and
19manipulate 3D objects: you use the mouse to rotate, translate, zoom in and out,
20etc. It can be used as a standalone viewer for static objects or as a display
21engine for other programs which produce dynamically changing geometry. It can
22display objects described in a variety of file formats. It comes with a wide
23selection of example objects, and you can create your own objects too.
24
25%package devel
26Group: Applications/Engineering
27Requires: %{name} = %{version}-%{release}
28Summary: geomview libraries and headers
29%description devel
30geomview 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
44rm -f $RPM_BUILD_ROOT%{_infodir}/dir
45rm -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
55if [ $1 = 0 ]; then
56    /sbin/install-info --delete %{_infodir}/%{name}.* %{_infodir}/dir
57fi
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
Note: See TracBrowser for help on using the repository browser.