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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1766986 - (show annotations) (download)
Wed Jan 5 16:18:50 2022 UTC (2 years, 3 months ago) by wally
File size: 1700 byte(s)
- rebuild for wxgtk 3.1.5 (mga#29848)
1 %define piname objsearch_pi
2
3 Name: opencpn-objsearch-plugin
4 Summary: Chart Object Search plugin for OpenCPN
5 Version: 0.21
6 %define subrel 2
7 Release: %mkrel 6
8 License: GPLv3+
9 Group: Geography
10 URL: https://opencpn.org/OpenCPN/plugins/chartobject.html
11 Source0: https://github.com/nohal/%{piname}/archive/v%{version}/%{piname}-%{version}.tar.gz
12
13 BuildRequires: cmake
14 BuildRequires: gettext
15 BuildRequires: wxgtku3.0-devel < 3.1
16 BuildRequires: pkgconfig(bzip2)
17 BuildRequires: pkgconfig(gl)
18 BuildRequires: pkgconfig(glu)
19 BuildRequires: pkgconfig(zlib)
20 BuildRequires: pkgconfig(tinyxml)
21
22 Requires: opencpn
23 Provides: %{piname} = %{version}
24
25 %description
26 Allows search of named objects on S-57 s63 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 %cmake_build
45
46 %install
47 %cmake_install
48
49 %find_lang opencpn-%{piname}
50
51 %ifarch x86_64 aarch64
52 mkdir -p %{buildroot}%{_libdir}/opencpn
53 mv %{buildroot}/usr/lib/opencpn/* %{buildroot}%{_libdir}/opencpn/
54 %endif
55
56 %files -f opencpn-%{piname}.lang
57 %{_libdir}/opencpn/lib%{piname}.so
58 %{_datadir}/opencpn/plugins/%{piname}/data/

  ViewVC Help
Powered by ViewVC 1.1.30