source: projects/specs/trunk/G/GMT/GMT-vl.spec @ 521

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

import VineSeed package specs

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: 1%{?_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* Sat Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.5.1-1
67- new upstream release
68- remove SOURCE2 (GMT%{version}_man.tar.bz2)
69- remove SOURCE3 (GMT%{version}_web.tar.bz2)
70- remove SOURCE5 (GMT%{version}_pdf.tar.bz2)
71- remove SOURCE6 (GMT%{version}_scripts.tar.bz2)
72- remove SOURCE7 (GMT%{version}_tut.tar.bz2)
73- remove Patch0 (GMT-conf.patch)
74- add SOURCE8 (GMT%{version}_doc.tar.bz2)
75
76* Sat Apr 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.4-0vl1
77- new upstream major version
78
79* Sat Apr 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.6-0vl1
80- new upstream release
81- fix <BTS:435>
82
83* Sat Oct 22 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.4.2-0vl2
84- added BuildRequires: netcdf-devel > 3.6
85- BTW the changelog of 3.4.2-0vl1 was empty!
86
87* Fri Oct 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 3.4.2-0vl1
88- initial build
89
Note: See TracBrowser for help on using the repository browser.