/[packages]/updates/8/opencpn-objsearch-plugin/current/SPECS/opencpn-objsearch-plugin.spec
ViewVC logotype

Annotation of /updates/8/opencpn-objsearch-plugin/current/SPECS/opencpn-objsearch-plugin.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1679072 - (hide annotations) (download)
Wed Feb 24 21:28:20 2021 UTC (3 years, 1 month ago) by umeabot
File size: 1614 byte(s)
SILENT Branching for Mageia 8
1 barjac 908779 %define piname objsearch_pi
2    
3     Name: opencpn-objsearch-plugin
4     Summary: Chart Object Search plugin for OpenCpn
5 barjac 1387245 Version: 0.21
6 wally 1667714 Release: %mkrel 6
7 barjac 908779 License: GPLv3+
8     Group: Geography
9     URL: https://github.com/nohal/%{piname}
10     # See opencpn spec for obtaining the versioned tarball.
11     Source0: %{piname}-%{version}.tar.gz
12    
13     BuildRequires: cmake
14     BuildRequires: gettext
15 wally 1421019 BuildRequires: wxgtk-devel
16 daviddavid 1539486 BuildRequires: pkgconfig(bzip2)
17 barjac 908779 BuildRequires: pkgconfig(gl)
18     BuildRequires: pkgconfig(glu)
19     BuildRequires: pkgconfig(zlib)
20 ovitters 1145386 BuildRequires: pkgconfig(tinyxml)
21 barjac 908779
22     Requires: opencpn
23     Provides: %{piname} = %{version}
24    
25     %description
26     Allows search of named objects on S-57 and CM93 vector charts.
27    
28     Note: After the installation, the plug-in does not know anything about your
29     charts, you must view a chart at least once to populate the plug-in's database
30     with it's content.
31     This one time operation makes OpenCPN slower, however during subsequent views
32     of the same chart the speed of the application is unaffected.
33     Once the database is populated, the charts are no longer needed, so if you
34     prefer to use raster charts, you can populate the database from the ENC
35     chartset and then switch back to RNC charts and the search capabilities will
36     still be available.
37    
38     %prep
39     %setup -q -n %{piname}
40    
41     %build
42     %cmake
43    
44 daviddavid 1539486 %cmake_build
45 barjac 908779
46     %install
47 daviddavid 1539486 %cmake_install
48 barjac 908779
49     %find_lang opencpn-%{piname}
50    
51 wally 1239510 %ifarch x86_64 aarch64
52 barjac 908779 mkdir -p %{buildroot}%{_libdir}/opencpn
53     mv %{buildroot}/usr/lib/opencpn/* %{buildroot}%{_libdir}/opencpn/
54     %endif
55    
56     %files -f opencpn-%{piname}.lang
57     %dir %{_libdir}/opencpn
58 barjac 980793 %{_libdir}/opencpn/lib%{piname}.so
59     %{_datadir}/opencpn/plugins/%{piname}/data/*

  ViewVC Help
Powered by ViewVC 1.1.30