File OpenCPN-s63_pi.spec of Package OpenCPN-s63_pi
Summary: S-63 Charts PlugIn for OpenCPN 5.x.x
Name: OpenCPN-s63_pi
Version: 5.2.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Group: Productivity/Other
URL: http://opencpn.org/
Distribution: OpenSuse
License: GPL-2.0
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: gtk3-devel
BuildRequires: wxWidgets-3_0-nostl-devel
BuildRequires: lsb-release
BuildRequires: openSUSE-release
BuildRequires: gettext-runtime
BuildRequires: gettext-tools
BuildRequires: libbz2-devel
BuildRequires: gpsd-devel
BuildRequires: portaudio-devel
BuildRequires: tinyxml-devel
BuildRequires: rpm-build
Requires: OpenCPN-5.x-Base
Source0: s63_pi-%{version}.tar.xz
Patch0: openSUSE-detection.patch
%description
OpenCPN is a free software (GPLv2) project to create a concise chartplotter
and navigation software for use as an underway or planning tool. OpenCPN
is developed by a team of active sailors using real world conditions for
program testing and refinement. With some additional Plugins.
S-63 is the encrypted distribution format for S-57 vector charts. Today, hydrographical offices all over the world are producing their official vector charts in the S-57 format. Distribution is done under the S-63 standard.
To use the encrypted charts, you must get a license for your particular machine (called Permit), make sure to visit http://o-charts.org/ for more information and to get the permits.
http://opencpn.org/ocpn/downloadplugins
Source
https://github.com/bdbcat/s63_pi/
%prep
%setup -n s63_pi-%{version}
%patch0 -p1
%build
cmake -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCFLAGS="-O2 -march=native" \
./
make
%install
%{__make} DESTDIR=%{buildroot} install
%find_lang opencpn --all-name
%files -f opencpn.lang
%defattr(-, root, root)
%{_prefix}/lib64/opencpn/
%{_prefix}/bin/OCPNsenc
%{_prefix}/share
%changelog
* Wed Aug 30 2017 Dominig
- upgrade to OpenCPN 4.8
* Tue May 17 2017 Dominig
- upgrade to plugin V 1.5 and returnto bdcat git repo for source
* Thu Mar 23 2017 Dominig
- upgrade to OpenCPN 4.6 and move to git source service
* Fri Jul 01 2016 Dominig
- update OpenCPN 4.4.0
* Wed Mar 09 2016 Dominig
- Bug workaround "OCPNsenc contains faulty RPATH -> https://github.com/bdbcat/s63_pi/issues/13"
* Mon Feb 29 2016 Dominig
- Update 4.2.0
* Tue Jun 2 2015 dominig
- Creation 4.0.0