source: projects/specs/trunk/y/yaplot/yaplot-vl.spec @ 521

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

import VineSeed package specs

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