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

Revision 7034, 3.0 KB checked in by Takemikaduchi, 11 years ago (diff)

GMT-coastlines: new package
others: new upstream release

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