1 |
%define piname iacfleet_pi |
2 |
|
3 |
Name: opencpn-iacfleet-plugin |
4 |
Summary: Plugin for OpenCpn for visualizing data in weather bulletins |
5 |
Version: 0.21.1 |
6 |
Release: %mkrel 1 |
7 |
License: GPLv3+ |
8 |
Group: Geography |
9 |
URL: https://github.com/nohal/%{piname} |
10 |
Source0: https://github.com/nohal/%{piname}/archive/v%{version}/%{piname}-%{version}.tar.gz |
11 |
|
12 |
BuildRequires: cmake |
13 |
BuildRequires: gettext |
14 |
BuildRequires: wxgtku3.0-devel < 3.1 |
15 |
BuildRequires: pkgconfig(bzip2) |
16 |
BuildRequires: pkgconfig(libcurl) |
17 |
BuildRequires: pkgconfig(gl) |
18 |
BuildRequires: pkgconfig(glu) |
19 |
BuildRequires: pkgconfig(zlib) |
20 |
BuildRequires: pkgconfig(tinyxml) |
21 |
|
22 |
Requires: opencpn |
23 |
Provides: %{piname} = %{version} |
24 |
|
25 |
%description |
26 |
IAC Fleet Code plugin for opencpn visualizes the encoded data issued as part of |
27 |
the weather bulletins. |
28 |
|
29 |
The IAC Fleet Code provides size effective encoded synoptic charts for several |
30 |
areas of the world, especially useful with slow and limited connection to the |
31 |
Internet. |
32 |
|
33 |
Coverage areas: |
34 |
* South Pacific weather issued by Fiji Meteorologica Service in Nadi and |
35 |
available from Saildocs |
36 |
* Weather over Brazil and adjacent parts of Pacific and Atlantic oceans, |
37 |
including direct download of the data from the Internet |
38 |
* Weather analysis and 24 hour forecast for North Atlantic and Europe |
39 |
issued by NOAA, including direct download of the data from the Internet. |
40 |
|
41 |
%prep |
42 |
%setup -q -n %{piname}-%{version} |
43 |
|
44 |
%build |
45 |
%cmake |
46 |
|
47 |
%cmake_build |
48 |
|
49 |
%install |
50 |
%cmake_install |
51 |
|
52 |
%ifarch x86_64 aarch64 |
53 |
mkdir -p %{buildroot}%{_libdir}/opencpn |
54 |
mv %{buildroot}/usr/lib/opencpn/* %{buildroot}%{_libdir}/opencpn/ |
55 |
%endif |
56 |
|
57 |
%find_lang opencpn-%{piname} |
58 |
|
59 |
%files -f opencpn-%{piname}.lang |
60 |
%{_libdir}/opencpn/lib%{piname}.so |
61 |
%{_datadir}/opencpn/plugins/%{piname}/ |