Mageia Bugzilla – Attachment 12747 Details for
Bug 28975
opencpn needs a new build, some of its plugin rpms need to be corrected or added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
draft of a spec file for opencpn-oesenc-plugin
opencpn-oesenc-plugin.specessai (text/plain), 2.25 KB, created by
Philippe Didier
on 2021-05-27 13:50:21 CEST
(
hide
)
Description:
draft of a spec file for opencpn-oesenc-plugin
Filename:
MIME Type:
Creator:
Philippe Didier
Created:
2021-05-27 13:50:21 CEST
Size:
2.25 KB
patch
obsolete
>%define piname oesenc_pi > >Name: opencpn-oesenc-plugin >Summary: Plugin for OpenCpn allowing the use of encrypted vectorial charts >Version: 4.0.10 >Release: %mkrel 1 >License: GPLv2 >Group: Geography >URL: https://opencpn.org/OpenCPN/plugins/oesenc.html >#URL ofSource0: https://github.com/bdbcat/%{piname}/archive/refs/tags/v%{version}.tar.gz >Source0: %{piname}-%{version}.tar.gz > >BuildRequires: cmake >BuildRequires: bzip2-devel >BuildRequires: gettext >BuildRequires: wxgtku3.0-devel >BuildRequires: pkgconfig(gl) >BuildRequires: pkgconfig(glu) >BuildRequires: pkgconfig(zlib) >BuildRequires: tinyxml-devel > >Requires: opencpn >Requires: gzip >Provides: %{piname} = %{version} > >%description >oeSENC Plugin for OpenCPN allows you to download and install vector charts you have purchased from https://o-charts.org/ >These are licensed and sourced from Hydrographic Offices. >Your purchased charts will be installed with appropriate encryption certificates in place. > >%prep >%setup -q -n %{piname}-%{version} > >%build >%cmake > >%make -C build > >%install >%make_install -C build > >%find_lang opencpn-%{piname} > >%ifarch x86_64 >cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/libsgllnx64-2.29.02.so \ >%{buildroot}/%{_bindir} >cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/oeserverd \ >%{buildroot}/%{_bindir} >%endif > >%ifarch i586 >cp -r %{_builddir}/%{uname}-%{version}/buildlinux/oeserverd/libsgllnx-2.29.01.so \ >%{buildroot}/%{_bindir} >cp -r %{_builddir}/%{uname}-%{version}/buildlinux/oeserverd/oeserverd \ >%{buildroot}/%{_bindir} >%endif > >%ifarch armv7hl >cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm/oeserverd/libsglarmhf32-2.30.0.0.so \ >%{buildroot}/%{_bindir} >cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm/oeserverd/oeserverd \ >%{buildroot}/%{_bindir} >%endif > >%ifarch aarch64 >cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/libsgllnx64-2.29.02.so \ >%{buildroot}/usr/lib64 >cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm64/oeserverd/oeserverd \ >%{buildroot}/%{_bindir} >%endif > >%files -f opencpn-%{piname}.lang >%dir %{_libdir}/opencpn >%{_libdir}/opencpn/lib%{piname}.so >%{_bindir}/* >%{_datadir}/opencpn/plugins/%{piname}/data/* >%{_datadir}/opencpn/plugins/%{piname}/*.txt > > >%changelog >* Wed Apr 14 2021 philippedidier 4.0.10-1mga8 >- Import opencpn-oesenc-plugin
%define piname oesenc_pi Name: opencpn-oesenc-plugin Summary: Plugin for OpenCpn allowing the use of encrypted vectorial charts Version: 4.0.10 Release: %mkrel 1 License: GPLv2 Group: Geography URL: https://opencpn.org/OpenCPN/plugins/oesenc.html #URL ofSource0: https://github.com/bdbcat/%{piname}/archive/refs/tags/v%{version}.tar.gz Source0: %{piname}-%{version}.tar.gz BuildRequires: cmake BuildRequires: bzip2-devel BuildRequires: gettext BuildRequires: wxgtku3.0-devel BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(zlib) BuildRequires: tinyxml-devel Requires: opencpn Requires: gzip Provides: %{piname} = %{version} %description oeSENC Plugin for OpenCPN allows you to download and install vector charts you have purchased from https://o-charts.org/ These are licensed and sourced from Hydrographic Offices. Your purchased charts will be installed with appropriate encryption certificates in place. %prep %setup -q -n %{piname}-%{version} %build %cmake %make -C build %install %make_install -C build %find_lang opencpn-%{piname} %ifarch x86_64 cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/libsgllnx64-2.29.02.so \ %{buildroot}/%{_bindir} cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/oeserverd \ %{buildroot}/%{_bindir} %endif %ifarch i586 cp -r %{_builddir}/%{uname}-%{version}/buildlinux/oeserverd/libsgllnx-2.29.01.so \ %{buildroot}/%{_bindir} cp -r %{_builddir}/%{uname}-%{version}/buildlinux/oeserverd/oeserverd \ %{buildroot}/%{_bindir} %endif %ifarch armv7hl cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm/oeserverd/libsglarmhf32-2.30.0.0.so \ %{buildroot}/%{_bindir} cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm/oeserverd/oeserverd \ %{buildroot}/%{_bindir} %endif %ifarch aarch64 cp -r %{_builddir}/%{uname}-%{version}/buildlinux64/oeserverd/libsgllnx64-2.29.02.so \ %{buildroot}/usr/lib64 cp -r %{_builddir}/%{uname}-%{version}/buildlinuxarm64/oeserverd/oeserverd \ %{buildroot}/%{_bindir} %endif %files -f opencpn-%{piname}.lang %dir %{_libdir}/opencpn %{_libdir}/opencpn/lib%{piname}.so %{_bindir}/* %{_datadir}/opencpn/plugins/%{piname}/data/* %{_datadir}/opencpn/plugins/%{piname}/*.txt %changelog * Wed Apr 14 2021 philippedidier 4.0.10-1mga8 - Import opencpn-oesenc-plugin
View Attachment As Raw
Actions:
View
Attachments on
bug 28975
:
12725
|
12726
|
12727
|
12728
|
12729
|
12730
|
12731
|
12732
|
12733
|
12734
|
12735
|
12736
|
12737
|
12738
|
12739
|
12740
|
12741
|
12742
|
12743
|
12744
|
12745
|
12746
|
12747
|
12748
|
12775
|
12776
|
12778
|
12779
|
12780
|
12781
|
12782
|
12783
|
12784
|
12785
|
12786
|
12787
|
12788
|
12789
|
12790
|
12791
|
12792
|
12793
|
12794
|
12795
|
12796
|
12797
|
12798
|
12799
|
12800
|
12801
|
12804
|
12805
|
12806
|
12807
|
12808
|
12809
|
12810
|
12811
|
12812
|
12813
|
12814
|
12815
|
12816
|
12817
|
12818
|
12819