source: projects/specs/branches/6/G/GMT/GMT-vl.spec @ 5569

Revision 5569, 2.4 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1# This the rpm spec file for GMT programs
2%define name GMT
3%define version 4.5.1
4
5Summary: Generic Mapping Tools
6Name: %{name}
7Version: %{version}
8Release: 2%{?_dist_release}
9Source0: GMT%{version}_src.tar.bz2
10Source1: GMT%{version}_share.tar.bz2
11Source4: GMT%{version}_suppl.tar.bz2
12Source8: GMT%{version}_doc.tar.bz2
13
14License: GPL
15Group: Applications/Engineering
16URL: http://imina.soest.hawaii.edu/gmt/
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19Requires: netcdf >= 4.0
20BuildRequires: netcdf-devel >= 4.0
21
22%description
23GMT is a free, public-domain collection of ~60 UNIX tools
24that allow users to manipulate (x,y) and (x,y,z) data sets
25(including filtering, trend fitting, gridding, projecting,
26etc.) and produce Encapsulated PostScript File (EPS)
27illustrations ranging from simple x-y plots through contour
28maps to artificially illuminated surfaces and 3-D perspective
29views in black and white, gray tone, hachure patterns, and
3024-bit color. GMT supports 25 common map projections plus
31linear, log, and power scaling, and comes with support data
32such as coastlines, rivers, and political boundaries.
33
34%prep
35%setup -D -b1 -b4 -b8 -n GMT%{version}
36
37%build
38CFLAGS="$RPM_OPT_FLAGS -I/usr/include/netcdf" \
39%configure --enable-shared --disable-flock
40%__make
41
42%install
43rm -rf %{buildroot}
44%makeinstall
45%makeinstall-suppl
46%makeinstall-data
47%makeinstall-man
48
49%clean
50rm -rf %{buildroot}
51
52%post -p /sbin/ldconfig
53
54%postun -p /sbin/ldconfig
55
56
57%files
58%defattr(-,root,root)
59%doc README
60%{_bindir}
61%{_includedir}
62%{_libdir}
63%{_datadir}
64
65%changelog
66* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.1-2
67- rebuild with Vine6 environment
68
69* Sat Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.1-1
70- new upstream release
71- remove SOURCE2 (GMT%{version}_man.tar.bz2)
72- remove SOURCE3 (GMT%{version}_web.tar.bz2)
73- remove SOURCE5 (GMT%{version}_pdf.tar.bz2)
74- remove SOURCE6 (GMT%{version}_scripts.tar.bz2)
75- remove SOURCE7 (GMT%{version}_tut.tar.bz2)
76- remove Patch0 (GMT-conf.patch)
77- add SOURCE8 (GMT%{version}_doc.tar.bz2)
78
79* Sat Apr 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.4-0vl1
80- new upstream major version
81
82* Sat Apr 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.6-0vl1
83- new upstream release
84- fix <BTS:435>
85
86* Sat Oct 22 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.4.2-0vl2
87- added BuildRequires: netcdf-devel > 3.6
88- BTW the changelog of 3.4.2-0vl1 was empty!
89
90* Fri Oct 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.2-0vl1
91- initial build
92
Note: See TracBrowser for help on using the repository browser.