[521] | 1 | Summary: yaplot - an easy 3D modeller and animator |
---|
| 2 | Name: yaplot |
---|
| 3 | Version: 3.3 |
---|
| 4 | Release: 2%{?_dist_release} |
---|
| 5 | Source: yaplot-%{version}.tar.bz2 |
---|
| 6 | Patch1: yaplot-common.patch |
---|
| 7 | Patch2: yaplot-include.patch |
---|
| 8 | Patch3: yaplot-config.patch |
---|
| 9 | Patch4: yaplot-deltatime.patch |
---|
| 10 | Patch5: yaplot-3.3-cache.patch |
---|
| 11 | Patch6: yaplot-3.3-fix.patch |
---|
| 12 | License: distributable |
---|
| 13 | Group: Applications/Engineering |
---|
| 14 | URL: http://www.chem.nagoya-u.ac.jp/matto/yaplot/ |
---|
| 15 | Packager: KOBAYASHI R. Taizo <tkoba@ike-dyn.ritsumei.ac.jp> |
---|
| 16 | Requires: gtk+ |
---|
| 17 | BuildRequires: gtk+-devel automake16 |
---|
| 18 | Buildroot: %{_tmppath}/%{name}-root |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | yaplot is an easy 3D modeller and animator for visualizing the results |
---|
| 25 | from computer simulation easily. You can browse the motion of the |
---|
| 26 | 3 dimentional wire frame model with text labels and some marks on the |
---|
| 27 | cheap PC based X terminals. Data format is simple and intuitive. |
---|
| 28 | It is the least beautiful and not durable for presentation, |
---|
| 29 | but 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 | |
---|
| 40 | for i in `grep -lr /usr/local/bin/perl *` |
---|
| 41 | do |
---|
| 42 | perl -pi -e "s@/usr/local/bin/perl@/usr/bin/perl@g" $i |
---|
| 43 | done |
---|
| 44 | perl -pi -e "s@/usr/local/@/usr/@g" common.h |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | aclocal |
---|
| 49 | automake -a |
---|
| 50 | autoconf |
---|
| 51 | %configure --datadir=/usr/share |
---|
| 52 | make |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | #mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/yaplot} |
---|
| 57 | |
---|
| 58 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 59 | #install -m 755 -s yaplot_gtk $RPM_BUILD_ROOT/usr/bin/yaplot |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -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 | |
---|