Mageia Bugzilla – Attachment 3202 Details for
Bug 7932
opencpn = A concise ChartPlotter and Navigation software
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
a spec file including the logbook plugin
opencpnplug.spec (text/plain), 3.02 KB, created by
Philippe Didier
on 2012-12-06 12:21:42 CET
(
hide
)
Description:
a spec file including the logbook plugin
Filename:
MIME Type:
Creator:
Philippe Didier
Created:
2012-12-06 12:21:42 CET
Size:
3.02 KB
patch
obsolete
>## NOTE Please read README_packaging.txt before updating this package. > >%define tarname OpenCPN > >Name: opencpn >Summary: A concise Chartplotter and Navigation software, with a logbook >Version: 3.0.2 >Release: %mkrel 2 >License: GPLv2+ >Group: Geography >URL: http://%{name}.org >Source0: http://%{name}.org/ocpn/downloads/beta/%{tarname}-%{version}-Source.tar.gz ># in spite of the directory name, IT IS NOT A BETA VERSION ! >Source1: LogbookKonni_pi.tar.gz >Source2: Readme_packaging.txt ># the source file Source1 downloaded with ># git clone git://github.com/konnibe/LogbookKonni-1.2.git LogbookKonni_pi ># must be compressed as LogbookKonni_pi.tar.gz : for this purpose use mk_git_tar ># Source3: mk_git_tar > >BuildRequires: cmake >BuildRequires: bzip2-devel >BuildRequires: gettext >BuildRequires: wxgtku-devel >#BuildRequires: pkgconfig(freetype2) >BuildRequires: pkgconfig(gl) >BuildRequires: pkgconfig(glu) >BuildRequires: pkgconfig(gtk+-2.0) >BuildRequires: pkgconfig(libgps) >BuildRequires: pkgconfig(zlib) >BuildRequires: tinyxml-devel > >Requires: gpsd-clients > > > >%description >A cross-platform ship-borne GUI application supporting >* GPS/GPDS Position Input >* BSB Raster Chart display >* S57 Vector ENC chart display >* CM93 Vector chart display >* AIS Input Decoding >* Waypoint Autopilot Navigation > >Pilot charts can be downloaded from http://opencpn.org/ocpn/downloadpilotcharts > >This version provides too the Konni's logbook plugin >NB : the needed LogbookKonni_Layouts.zip et LogbookKonni_Other.zip may be found in the >/usr/share/opencpn directory >NB : locale language is automatically set in the logbook when it has been set in OpenCPN : >no need to search for the languages.zip file > >%prep >%setup -q -n %{tarname}-%{version}-Source > >cd plugins >gzip -dc %{SOURCE1} | tar -xvf - > > > >%build >cmake . \ > -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ > -DCMAKE_BUILD_TYPE=release \ > -DCMAKE_SKIP_RPATH:BOOL=ON >%make > >%install >%makeinstall_std > >%find_lang %{name} --all-name > > desktop-file-install \ > --dir=%{buildroot}%{_datadir}/applications \ > --remove-category='Science' \ > %{buildroot}%{_datadir}/applications/%{name}.desktop > >mkdir -p %{buildroot}%{_datadir}/%{name} >cp -f %{_builddir}/OpenCPN-3.0.2-Source/plugins/LogbookKonni_pi/LogbookKonni_Layouts.zip %{buildroot}%{_datadir}/%{name}/LogbookKonni_Layouts.zip >cp -f %{_builddir}/OpenCPN-3.0.2-Source/plugins/LogbookKonni_pi/LogbookKonni_Other.zip %{buildroot}%{_datadir}/%{name}/LogbookKonni_Other.zip > >%files -f %{name}.lang >%doc README >%{_bindir}/* >%{_datadir}/%{name} >%dir %{_libdir}/%{name} >%{_libdir}/%{name}/*.so >%{_datadir}/applications/%{name}.desktop >%{_iconsdir}/hicolor/*/apps/%{name}.* > > >%changelog >* Tue Oct 30 2012 Philippe Didier <> 3.0.2-2.mga2 >+ same version built with the Konni's logbook plugin > >* Sun Oct 28 2012 Philippe Didier <> 3.0.2-1.mga2 >+ Import into Mageia (long time since initial spec for Mandriva 2008.1 improved by Funda) >- new version 3.0.2 : no patch needed now, desktop file provided in source > > >* Sun Feb 07 2010 Funda Wang <fwang@mandriva.org> 1.3.6-1mdv2010.1 >+ Revision: 501636 >- fix summary >- import opencpn >
## NOTE Please read README_packaging.txt before updating this package. %define tarname OpenCPN Name: opencpn Summary: A concise Chartplotter and Navigation software, with a logbook Version: 3.0.2 Release: %mkrel 2 License: GPLv2+ Group: Geography URL: http://%{name}.org Source0: http://%{name}.org/ocpn/downloads/beta/%{tarname}-%{version}-Source.tar.gz # in spite of the directory name, IT IS NOT A BETA VERSION ! Source1: LogbookKonni_pi.tar.gz Source2: Readme_packaging.txt # the source file Source1 downloaded with # git clone git://github.com/konnibe/LogbookKonni-1.2.git LogbookKonni_pi # must be compressed as LogbookKonni_pi.tar.gz : for this purpose use mk_git_tar # Source3: mk_git_tar BuildRequires: cmake BuildRequires: bzip2-devel BuildRequires: gettext BuildRequires: wxgtku-devel #BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libgps) BuildRequires: pkgconfig(zlib) BuildRequires: tinyxml-devel Requires: gpsd-clients %description A cross-platform ship-borne GUI application supporting * GPS/GPDS Position Input * BSB Raster Chart display * S57 Vector ENC chart display * CM93 Vector chart display * AIS Input Decoding * Waypoint Autopilot Navigation Pilot charts can be downloaded from http://opencpn.org/ocpn/downloadpilotcharts This version provides too the Konni's logbook plugin NB : the needed LogbookKonni_Layouts.zip et LogbookKonni_Other.zip may be found in the /usr/share/opencpn directory NB : locale language is automatically set in the logbook when it has been set in OpenCPN : no need to search for the languages.zip file %prep %setup -q -n %{tarname}-%{version}-Source cd plugins gzip -dc %{SOURCE1} | tar -xvf - %build cmake . \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_SKIP_RPATH:BOOL=ON %make %install %makeinstall_std %find_lang %{name} --all-name desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ --remove-category='Science' \ %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{_datadir}/%{name} cp -f %{_builddir}/OpenCPN-3.0.2-Source/plugins/LogbookKonni_pi/LogbookKonni_Layouts.zip %{buildroot}%{_datadir}/%{name}/LogbookKonni_Layouts.zip cp -f %{_builddir}/OpenCPN-3.0.2-Source/plugins/LogbookKonni_pi/LogbookKonni_Other.zip %{buildroot}%{_datadir}/%{name}/LogbookKonni_Other.zip %files -f %{name}.lang %doc README %{_bindir}/* %{_datadir}/%{name} %dir %{_libdir}/%{name} %{_libdir}/%{name}/*.so %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/*/apps/%{name}.* %changelog * Tue Oct 30 2012 Philippe Didier <> 3.0.2-2.mga2 + same version built with the Konni's logbook plugin * Sun Oct 28 2012 Philippe Didier <> 3.0.2-1.mga2 + Import into Mageia (long time since initial spec for Mandriva 2008.1 improved by Funda) - new version 3.0.2 : no patch needed now, desktop file provided in source * Sun Feb 07 2010 Funda Wang <fwang@mandriva.org> 1.3.6-1mdv2010.1 + Revision: 501636 - fix summary - import opencpn
View Attachment As Raw
Actions:
View
Attachments on
bug 7932
:
3013
|
3018
|
3189
|
3190
|
3191
|
3192
|
3193
|
3194
|
3195
|
3196
|
3200
|
3201
| 3202 |
3206
|
3210
|
3211