Mageia Bugzilla – Attachment 3211 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
corrected spec file, bringing the logbook plugin, splitted in two rpms
opencpnplugsplit.spec (text/plain), 4.20 KB, created by
Philippe Didier
on 2012-12-07 19:21:42 CET
(
hide
)
Description:
corrected spec file, bringing the logbook plugin, splitted in two rpms
Filename:
MIME Type:
Creator:
Philippe Didier
Created:
2012-12-07 19:21:42 CET
Size:
4.20 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 3 >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(gl) >BuildRequires: pkgconfig(glu) >BuildRequires: pkgconfig(gtk+-2.0) >BuildRequires: pkgconfig(libgps) >BuildRequires: pkgconfig(zlib) >BuildRequires: tinyxml-devel > >Requires: gpsd-clients >Suggests: opencpn-logbook-plugin > > >%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/pilotcharts >Other useful addons may be found inside the "Download" tab http://opencpn.org/ocpn > >%files -f %{name}.lang -f %{name}-dashboard_pi.lang -f %{name}-grib_pi.lang >%doc README >%{_bindir}/* >%dir %{_datadir}/%{name} >%{_datadir}/%{name}/doc/*.* >%{_datadir}/%{name}/doc/*/*.* >%{_datadir}/%{name}/s57data/*.* >%{_datadir}/%{name}/sounds/*.* >%{_datadir}/%{name}/tcdata/* >%{_datadir}/%{name}/wvsdata/*.* >%{_datadir}/%{name}/license.txt >%dir %{_libdir}/%{name} >%{_libdir}/%{name}/libdashboard_pi.so >%{_libdir}/%{name}/libgrib_pi.so >%{_datadir}/applications/%{name}.desktop >%{_iconsdir}/hicolor/*/apps/%{name}.* > >#-------------------------------------------------------------------- > >%package -n %{name}-logbook-plugin >Summary: A logbook for %{tarname} >Version: 3.0.2 >Release: %mkrel 3 >License: GPLv2+ >Group: Geography > >Requires: %{name} = %{version}-%{release} > >%description -n %{name}-logbook-plugin >The Konni's logbook plugin is fully integrated inside the graphical interface of %{tarname} >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 for the logbook when it has been set for OpenCPN : >no need to search for the languages.zip file > >%files -n %{name}-logbook-plugin -f %{name}-logbookkonni_pi.lang >%dir %{_datadir}/%{name} >%{_datadir}/%{name}/*.zip >%dir %{_libdir}/%{name} >%{_libdir}/%{name}/liblogbookkonni_pi.so > >#----------------------------------------------------------------------- > >%prep >%setup -q -n %{tarname}-%{version}-Source > >cd plugins >gzip -dc %{SOURCE1} | tar -xvf - >#mv LogbookKonni_pi -t plugins/ > >%build >cmake . \ > -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ > -DCMAKE_BUILD_TYPE=release \ > -DCMAKE_SKIP_RPATH:BOOL=ON >%make > >%install >%makeinstall_std > >%find_lang %{name} >%find_lang %{name}-grib_pi >%find_lang %{name}-dashboard_pi >%find_lang %{name}-logbookkonni_pi > > 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 > > >%changelog >* Thu Nov 06 2012 Philippe Didier <> 3.0.2-3.mga2 >+ same version built with the Konni's logbook plugin, splitted in 2 rpms > >* 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 3 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(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libgps) BuildRequires: pkgconfig(zlib) BuildRequires: tinyxml-devel Requires: gpsd-clients Suggests: opencpn-logbook-plugin %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/pilotcharts Other useful addons may be found inside the "Download" tab http://opencpn.org/ocpn %files -f %{name}.lang -f %{name}-dashboard_pi.lang -f %{name}-grib_pi.lang %doc README %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/doc/*.* %{_datadir}/%{name}/doc/*/*.* %{_datadir}/%{name}/s57data/*.* %{_datadir}/%{name}/sounds/*.* %{_datadir}/%{name}/tcdata/* %{_datadir}/%{name}/wvsdata/*.* %{_datadir}/%{name}/license.txt %dir %{_libdir}/%{name} %{_libdir}/%{name}/libdashboard_pi.so %{_libdir}/%{name}/libgrib_pi.so %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/*/apps/%{name}.* #-------------------------------------------------------------------- %package -n %{name}-logbook-plugin Summary: A logbook for %{tarname} Version: 3.0.2 Release: %mkrel 3 License: GPLv2+ Group: Geography Requires: %{name} = %{version}-%{release} %description -n %{name}-logbook-plugin The Konni's logbook plugin is fully integrated inside the graphical interface of %{tarname} 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 for the logbook when it has been set for OpenCPN : no need to search for the languages.zip file %files -n %{name}-logbook-plugin -f %{name}-logbookkonni_pi.lang %dir %{_datadir}/%{name} %{_datadir}/%{name}/*.zip %dir %{_libdir}/%{name} %{_libdir}/%{name}/liblogbookkonni_pi.so #----------------------------------------------------------------------- %prep %setup -q -n %{tarname}-%{version}-Source cd plugins gzip -dc %{SOURCE1} | tar -xvf - #mv LogbookKonni_pi -t plugins/ %build cmake . \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_SKIP_RPATH:BOOL=ON %make %install %makeinstall_std %find_lang %{name} %find_lang %{name}-grib_pi %find_lang %{name}-dashboard_pi %find_lang %{name}-logbookkonni_pi 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 %changelog * Thu Nov 06 2012 Philippe Didier <> 3.0.2-3.mga2 + same version built with the Konni's logbook plugin, splitted in 2 rpms * 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