GMT-coastlines-vl.spec 3.6 KB

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