/[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 908779 - (show annotations) (download)
Mon Dec 7 23:25:33 2015 UTC (8 years, 4 months ago) by barjac
Original Path: cauldron/opencpn-objsearch-plugin/current/SPECS/opencpn-objsearch-plugin.spec
File size: 1554 byte(s)
new package opencpn-objsearch-plugin
1 %define piname objsearch_pi
2
3 Name: opencpn-objsearch-plugin
4 Summary: Chart Object Search plugin for OpenCpn
5 Version: 0.6
6 Release: %mkrel 1
7 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: bzip2-devel
15 BuildRequires: gettext
16 BuildRequires: wxgtku2.8-devel
17 BuildRequires: pkgconfig(gl)
18 BuildRequires: pkgconfig(glu)
19 BuildRequires: pkgconfig(zlib)
20 BuildRequires: tinyxml-devel
21
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 %make
45
46 %install
47 %make_install -C build
48
49 %find_lang opencpn-%{piname}
50
51 %ifarch x86_64
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 %dir %{_libdir}/opencpn
58 %{_libdir}/opencpn/lib%{piname}.so

  ViewVC Help
Powered by ViewVC 1.1.30