Mageia Bugzilla – Attachment 12743 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
spec file for opencpn-weatherfax-plugin
opencpn-weatherfax-plugin.spec (text/plain), 3.76 KB, created by
Philippe Didier
on 2021-05-27 13:30:27 CEST
(
hide
)
Description:
spec file for opencpn-weatherfax-plugin
Filename:
MIME Type:
Creator:
Philippe Didier
Created:
2021-05-27 13:30:27 CEST
Size:
3.76 KB
patch
obsolete
>%define piname weatherfax_pi >%define opencpnversion ov50 >Name: opencpn-weatherfax-plugin >Summary: Weatherfax plugin for OpenCpn >Version: 1.9.4 >Release: %mkrel 1 >License: GPLv3+ >Group: Geography >URL: https://opencpn.org/OpenCPN/plugins/weatherfax.html >#URL of Source0: https://github.com/rgleason/%{piname}/archive/refs/tags/v%{version}-%{opencpnversion}.tar.gz >Source0: %{piname}-%{version}-%{opencpnversion}.tar.gz ># link against system libaudiofile, and use system tinyxml.h >Patch1: weatherfax_pi-system-audiofile.patch > >BuildRequires: cmake >BuildRequires: bzip2-devel >BuildRequires: gettext >BuildRequires: wxgtk-devel >BuildRequires: portaudio-devel >BuildRequires: pkgconfig(gl) >BuildRequires: pkgconfig(glu) >BuildRequires: pkgconfig(librtlsdr) >BuildRequires: pkgconfig(zlib) >BuildRequires: pkgconfig(tinyxml) >BuildRequires: pkgconfig(audiofile) > >Requires: opencpn >Requires: rtlsdr-airband >Provides: %{piname} = %{version} > >%description >Can open image files directly, or decode audio faxes to an image. >With simple calibration, resulting image is overlaid on top of charts. >Converts images in Mercator, polar, conic and uniform coordinates. >Can convert any image into a raster chart. >Built-in database for HF radio fax stations via SSB. >Built-in database for internet retrieval from meteorological sites. > >%prep >%setup -q -n %{piname}-%{version}-%{opencpnversion} >%autopatch -p1 > ># To be sure to use system tinyxml headers and not bundled ones >rm -f plugins/%{piname}/src/tinyxml/tinyxml*.cpp include/tinyxml.h >rm -rf src/libaudiofile >rm -rf src/tinyxml > ># fix plugindir >sed -i -e '/PREFIX_LIB/s/PREFIX_LIB lib.*)/PREFIX_LIB %{_lib})/' cmake/PluginInstall.cmake > ># fix build >sed -i -e 's/\s-lwx_gtk2u_adv-3.0//' CMakeLists.txt > >%build >%cmake >%cmake_build > >%install >%cmake_install > >%find_lang opencpn-%{piname} > > >%files -f opencpn-%{piname}.lang >%{_libdir}/opencpn/lib%{piname}.so >%{_datadir}/opencpn/plugins/%{piname}/ > > >%changelog >* Wed Apr 14 2021 philippedidier 1.9.4-1mga8 >- new version 1.9.4 > >* Fri Jan 01 2021 wally <wally> 1.9.001-6.mga8 >+ Revision: 1667720 >- rebuild for wxgtk pre 3.1.5 snapshot > >* Sun Aug 16 2020 wally <wally> 1.9.001-5.mga8 >+ Revision: 1614361 >- rebuild for new wxgtk 3.1.4 > >* Tue Feb 18 2020 daviddavid <daviddavid> 1.9.001-4.mga8 >+ Revision: 1538687 >- use new cmake macros >+ umeabot <umeabot> >- Mageia 8 Mass Rebuild > >* Tue Nov 12 2019 wally <wally> 1.9.001-3.mga8 >+ Revision: 1459484 >- rebuild for wxgtk 3.1.3 > >* Sun Jul 14 2019 wally <wally> 1.9.001-2.mga8 >+ Revision: 1421060 >- rebuild with gtk3 enabled wxgtk 3.1.2 > >* Fri Apr 19 2019 barjac <barjac> 1.9.001-1.mga7 >+ Revision: 1393309 >- new version 1.9.001 >- re-diffed patch > >* Sun Sep 23 2018 umeabot <umeabot> 1.8.002-3.mga7 >+ Revision: 1300002 >- Mageia 7 Mass Rebuild > >* Sun Jul 22 2018 wally <wally> 1.8.002-2.mga7 >+ Revision: 1244933 >- fix plugin install dir on x84_64 and aarch64 >- own plugin dirs > >* Thu Apr 12 2018 barjac <barjac> 1.8.002-1.mga7 >+ Revision: 1217703 >- new version 1.8.002 >- re-diffed patch > >* Thu Dec 28 2017 barjac <barjac> 1.7.001-1.mga7 >+ Revision: 1186607 >- new version 1.7.001 >- dont own %%{_libdir}/opencpn >- re-diff weatherfax_pi-system-audiofile.patch >- new BR pkgconfig(librtlsdr) > >* Mon Oct 09 2017 cjw <cjw> 1.6.001-3.mga7 >+ Revision: 1170485 >- patch1: use system libaudiofile + system tinyxml header > >* Sat Jun 03 2017 akien <akien> 1.6.001-2.mga6 >+ Revision: 1106118 >- Rebuild for wxgtk 3.0.3.1 > >* Mon Oct 10 2016 barjac <barjac> 1.6.001-1.mga6 >+ Revision: 1059877 >- new version 1.6.001 > >* Thu Jun 02 2016 daviddavid <daviddavid> 1.5.001-3.mga6 >+ Revision: 1019839 >- rebuild for wxgtk3.0 built with GTK2 > >* Tue Feb 16 2016 barjac <barjac> 1.5.001-2.mga6 >+ Revision: 962355 >- changed buildrequire wxgtku3.0 > >* Tue Dec 08 2015 barjac <barjac> 1.5.001-1.mga6 >+ Revision: 908797 >- new package opencpn-weatherfax-plugin >
%define piname weatherfax_pi %define opencpnversion ov50 Name: opencpn-weatherfax-plugin Summary: Weatherfax plugin for OpenCpn Version: 1.9.4 Release: %mkrel 1 License: GPLv3+ Group: Geography URL: https://opencpn.org/OpenCPN/plugins/weatherfax.html #URL of Source0: https://github.com/rgleason/%{piname}/archive/refs/tags/v%{version}-%{opencpnversion}.tar.gz Source0: %{piname}-%{version}-%{opencpnversion}.tar.gz # link against system libaudiofile, and use system tinyxml.h Patch1: weatherfax_pi-system-audiofile.patch BuildRequires: cmake BuildRequires: bzip2-devel BuildRequires: gettext BuildRequires: wxgtk-devel BuildRequires: portaudio-devel BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(librtlsdr) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(tinyxml) BuildRequires: pkgconfig(audiofile) Requires: opencpn Requires: rtlsdr-airband Provides: %{piname} = %{version} %description Can open image files directly, or decode audio faxes to an image. With simple calibration, resulting image is overlaid on top of charts. Converts images in Mercator, polar, conic and uniform coordinates. Can convert any image into a raster chart. Built-in database for HF radio fax stations via SSB. Built-in database for internet retrieval from meteorological sites. %prep %setup -q -n %{piname}-%{version}-%{opencpnversion} %autopatch -p1 # To be sure to use system tinyxml headers and not bundled ones rm -f plugins/%{piname}/src/tinyxml/tinyxml*.cpp include/tinyxml.h rm -rf src/libaudiofile rm -rf src/tinyxml # fix plugindir sed -i -e '/PREFIX_LIB/s/PREFIX_LIB lib.*)/PREFIX_LIB %{_lib})/' cmake/PluginInstall.cmake # fix build sed -i -e 's/\s-lwx_gtk2u_adv-3.0//' CMakeLists.txt %build %cmake %cmake_build %install %cmake_install %find_lang opencpn-%{piname} %files -f opencpn-%{piname}.lang %{_libdir}/opencpn/lib%{piname}.so %{_datadir}/opencpn/plugins/%{piname}/ %changelog * Wed Apr 14 2021 philippedidier 1.9.4-1mga8 - new version 1.9.4 * Fri Jan 01 2021 wally <wally> 1.9.001-6.mga8 + Revision: 1667720 - rebuild for wxgtk pre 3.1.5 snapshot * Sun Aug 16 2020 wally <wally> 1.9.001-5.mga8 + Revision: 1614361 - rebuild for new wxgtk 3.1.4 * Tue Feb 18 2020 daviddavid <daviddavid> 1.9.001-4.mga8 + Revision: 1538687 - use new cmake macros + umeabot <umeabot> - Mageia 8 Mass Rebuild * Tue Nov 12 2019 wally <wally> 1.9.001-3.mga8 + Revision: 1459484 - rebuild for wxgtk 3.1.3 * Sun Jul 14 2019 wally <wally> 1.9.001-2.mga8 + Revision: 1421060 - rebuild with gtk3 enabled wxgtk 3.1.2 * Fri Apr 19 2019 barjac <barjac> 1.9.001-1.mga7 + Revision: 1393309 - new version 1.9.001 - re-diffed patch * Sun Sep 23 2018 umeabot <umeabot> 1.8.002-3.mga7 + Revision: 1300002 - Mageia 7 Mass Rebuild * Sun Jul 22 2018 wally <wally> 1.8.002-2.mga7 + Revision: 1244933 - fix plugin install dir on x84_64 and aarch64 - own plugin dirs * Thu Apr 12 2018 barjac <barjac> 1.8.002-1.mga7 + Revision: 1217703 - new version 1.8.002 - re-diffed patch * Thu Dec 28 2017 barjac <barjac> 1.7.001-1.mga7 + Revision: 1186607 - new version 1.7.001 - dont own %%{_libdir}/opencpn - re-diff weatherfax_pi-system-audiofile.patch - new BR pkgconfig(librtlsdr) * Mon Oct 09 2017 cjw <cjw> 1.6.001-3.mga7 + Revision: 1170485 - patch1: use system libaudiofile + system tinyxml header * Sat Jun 03 2017 akien <akien> 1.6.001-2.mga6 + Revision: 1106118 - Rebuild for wxgtk 3.0.3.1 * Mon Oct 10 2016 barjac <barjac> 1.6.001-1.mga6 + Revision: 1059877 - new version 1.6.001 * Thu Jun 02 2016 daviddavid <daviddavid> 1.5.001-3.mga6 + Revision: 1019839 - rebuild for wxgtk3.0 built with GTK2 * Tue Feb 16 2016 barjac <barjac> 1.5.001-2.mga6 + Revision: 962355 - changed buildrequire wxgtku3.0 * Tue Dec 08 2015 barjac <barjac> 1.5.001-1.mga6 + Revision: 908797 - new package opencpn-weatherfax-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