1 Summary: Geography Education application built on top of SpatiaLite and RasterLite
2 Summary(pl.UTF-8): Geograficzny program edukacyjny stworzony w oparciu o SpatiaLite i RasterLite
8 Source0: http://www.gaia-gis.it/gaia-sins/libreatlas-sources/%{name}-%{version}.tar.gz
9 # Source0-md5: d09d57d2cbb0b05be0e3ff9ad925d86a
10 Patch0: %{name}-link.patch
11 URL: https://www.gaia-gis.it/fossil/libreatlas
12 BuildRequires: autoconf >= 2.61
13 BuildRequires: automake
14 BuildRequires: freexl-devel
15 BuildRequires: geos-devel
16 BuildRequires: libgeotiff-devel >= 1.2.5
17 BuildRequires: libjpeg-devel
18 BuildRequires: libpng-devel
19 BuildRequires: librasterlite-devel
20 BuildRequires: libspatialite-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtiff-devel
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: pkgconfig
25 BuildRequires: proj-devel >= 4
26 BuildRequires: wxGTK2-unicode-devel >= 2.8.12-4
27 BuildRequires: zlib-devel
28 Requires: libgeotiff-devel >= 1.2.5
29 Requires: wxGTK2-unicode >= 2.8.12-4
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 LibreAtlas is an open source Geography Education application built on
34 top of SpatiaLite and RasterLite. It uses LibreAtlas databases which
35 are a digital alternative to a paper atlas.
37 %description -l pl.UTF-8
38 LibreAtlas to mający otwarte źródła geograficzny program edukacyjny,
39 stworzony w oparciu o SpatiaLite i RasterLite. Wykorzystuje bazy
40 danych LibreAtlas, będące cyfrową alternatywą dla atlasu papierowego.
47 ln -sf /usr/bin/wx-gtk2-unicode-config wx-bin/wx-config
55 # configure refers to wx-config with no option to override
56 PATH=$(pwd)/wx-bin:$PATH
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
68 sed -ne '2,$p' gnome_resource/LibreAtlas.desktop >$RPM_BUILD_ROOT%{_desktopdir}/LibreAtlas.desktop
69 cp -p gnome_resource/LibreAtlas.png $RPM_BUILD_ROOT%{_pixmapsdir}
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/LibreAtlas
77 %{_desktopdir}/LibreAtlas.desktop
78 %{_pixmapsdir}/LibreAtlas.png