diff --git a/.gitignore b/.gitignore index e69de29..23ad532 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dcw-gmt-1.1.0.tar.gz diff --git a/dcw-gmt.spec b/dcw-gmt.spec new file mode 100644 index 0000000..32fc0e7 --- /dev/null +++ b/dcw-gmt.spec @@ -0,0 +1,41 @@ +Name: dcw-gmt +Version: 1.1.0 +Release: 2%{?dist} +Summary: Digital Chart of the World (DCW) for GMT + +License: LGPLv3+ +URL: http://www.soest.hawaii.edu/wessel/dcw/ +Source0: http://www.soest.hawaii.edu/pwessel/dcw/%{name}-%{version}.tar.gz +BuildArch: noarch + + +%description +DCW-GMT is an enhancement to the original 1:1,000,000 scale vector basemap of +the world available from the Princeton University Digital Map and Geospatial +Information Center and from GeoCommunity at +http://data.geocomm.com/readme/dcw/dcw.html. To read and process the data you +should install GMT, the Generic Mapping Tools. + + +%prep +%setup -q + +# Nothing to build + +%install +mkdir -p %{buildroot}/%{_datadir}/%{name} +cp -a *.nc *.txt %{buildroot}/%{_datadir}/%{name}/ + + +%files +%doc COPYING.LESSERv3 COPYINGv3 LICENSE.TXT README.TXT +%{_datadir}/%{name}/ + + +%changelog +* Mon Nov 11 2013 Orion Poplawski 1.1.0-2 +- Fix URL and Source0 +- Use buildroot macro + +* Mon Nov 11 2013 Orion Poplawski 1.1.0-1 +- Initial package diff --git a/sources b/sources index e69de29..e4eb855 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +87c050c1d6462f2c872ea0f23f920427 dcw-gmt-1.1.0.tar.gz