| 1 |
Name: GMT-coastlines
|
| 2 |
Version: 2.0.1
|
| 3 |
Release: 1%{?dist}
|
| 4 |
Summary: Coastline data for GMT
|
| 5 |
|
| 6 |
Group: Applications/Engineering
|
| 7 |
License: GPLv2
|
| 8 |
URL: http://gmt.soest.hawaii.edu/
|
| 9 |
# seems to be derived at least from 2 Public Domain datasets,
|
| 10 |
# CIA World DataBank II and World Vector Shoreline (already in fedora),
|
| 11 |
# then modified.
|
| 12 |
Source0: ftp://ftp.soest.hawaii.edu/gmt/GSHHS%{version}_coast.tar.bz2
|
| 13 |
Source1: ftp://ftp.soest.hawaii.edu/gmt/GSHHS%{version}_full.tar.bz2
|
| 14 |
Source2: ftp://ftp.soest.hawaii.edu/gmt/GSHHS%{version}_high.tar.bz2
|
| 15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 16 |
BuildArch: noarch
|
| 17 |
Provides: gmt-coastlines = %{version}-%{release}
|
| 18 |
Requires: GMT
|
| 19 |
|
| 20 |
|
| 21 |
%description
|
| 22 |
Crude, low, and intermediate resolutions coastline data for GMT.
|
| 23 |
|
| 24 |
|
| 25 |
%package full
|
| 26 |
Summary: Full resolution coastline data for GMT
|
| 27 |
Group: Applications/Engineering
|
| 28 |
Requires: GMT-coastlines
|
| 29 |
Provides: gmt-coastlines = %{version}-%{release}
|
| 30 |
|
| 31 |
%description full
|
| 32 |
%{summary}.
|
| 33 |
|
| 34 |
|
| 35 |
%package high
|
| 36 |
Summary: High resolution coastline data for GMT
|
| 37 |
Group: Applications/Engineering
|
| 38 |
Requires: GMT-coastlines
|
| 39 |
Provides: gmt-coastlines = %{version}-%{release}
|
| 40 |
|
| 41 |
%description high
|
| 42 |
%{summary}.
|
| 43 |
|
| 44 |
|
| 45 |
%package all
|
| 46 |
Summary: All coastline data for GMT
|
| 47 |
Group: Applications/Engineering
|
| 48 |
Requires: GMT-coastlines
|
| 49 |
Requires: GMT-coastlines-full
|
| 50 |
Requires: GMT-coastlines-high
|
| 51 |
Provides: gmt-coastlines-all = %{version}-%{release}
|
| 52 |
|
| 53 |
%description all
|
| 54 |
%{summary}.
|
| 55 |
|
| 56 |
|
| 57 |
%prep
|
| 58 |
%setup -q -c -b1 -b2
|
| 59 |
|
| 60 |
|
| 61 |
%build
|
| 62 |
|
| 63 |
|
| 64 |
%install
|
| 65 |
rm -rf $RPM_BUILD_ROOT
|
| 66 |
mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/GMT
|
| 67 |
cp -a share/coast ${RPM_BUILD_ROOT}/%{_datadir}/GMT/
|
| 68 |
|
| 69 |
|
| 70 |
%clean
|
| 71 |
rm -rf $RPM_BUILD_ROOT
|
| 72 |
|
| 73 |
|
| 74 |
%files
|
| 75 |
%defattr(-,root,root,-)
|
| 76 |
%doc LICENSE.TXT README.TXT
|
| 77 |
%dir %{_datadir}/GMT/coast
|
| 78 |
%{_datadir}/GMT/coast/*_[cil].cdf
|
| 79 |
|
| 80 |
%files full
|
| 81 |
%defattr(-,root,root,-)
|
| 82 |
%{_datadir}/GMT/coast/*_f.cdf
|
| 83 |
|
| 84 |
%files high
|
| 85 |
%defattr(-,root,root,-)
|
| 86 |
%{_datadir}/GMT/coast/*_h.cdf
|
| 87 |
|
| 88 |
%files all
|
| 89 |
%defattr(-,root,root,-)
|
| 90 |
|
| 91 |
|
| 92 |
%changelog
|
| 93 |
* Fri Oct 16 2009 Orion Poplawski <orion@cora.nwra.com> 2.0.1-1
|
| 94 |
- Update to 2.0.1
|
| 95 |
|
| 96 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
|
| 97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 98 |
|
| 99 |
* Fri Jul 17 2009 Orion Poplawski <orion@cora.nwra.com> 2.0-1
|
| 100 |
- Update to 2.0
|
| 101 |
|
| 102 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
|
| 103 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 104 |
|
| 105 |
* Sat Nov 29 2008 Orion Poplawski <orion@cora.nwra.com> 1.10-2
|
| 106 |
- Add Requires: GMT to get needed directories (bug #473592)
|
| 107 |
|
| 108 |
* Mon May 5 2008 Orion Poplawski <orion@cora.nwra.com> 1.10-1
|
| 109 |
- Update to 1.10
|
| 110 |
|
| 111 |
* Fri Apr 25 2008 Orion Poplawski <orion@cora.nwra.com> 1.9-3
|
| 112 |
- Add lowercase provides
|
| 113 |
- Fix URLs and timestamps
|
| 114 |
- Add comment about source
|
| 115 |
|
| 116 |
* Mon Mar 24 2008 Orion Poplawski <orion@cora.nwra.com> 1.9-2
|
| 117 |
- Merged version
|
| 118 |
|
| 119 |
* Mon Mar 17 2008 Orion Poplawski <orion@cora.nwra.com> 1.9-1
|
| 120 |
- Initial version
|