2 Summary: Toolkit for developing GIS (Geographic Information Systems) applications.
8 Source0: http://download.berlios.de/mapnik/%{name}-%{version}.tar.bz2
9 # Source0-md5: 981271ac1cd1432314a963809c245fe1
10 Patch0: %{name}-boost_lib_names.patch
11 URL: http://prdownload.berlios.de/
12 BuildRequires: boost-devel
13 BuildRequires: boost-python-devel
14 BuildRequires: cairomm-devel
15 BuildRequires: curl-devel
16 BuildRequires: freetype-devel
17 BuildRequires: libicu-devel
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libtiff-devel
21 BuildRequires: libxml2-devel
22 BuildRequires: ogdi-devel
23 BuildRequires: postgresql-devel
24 BuildRequires: proj-devel
25 BuildRequires: python-devel
26 BuildRequires: python-pycairo-devel
28 BuildRequires: sqlite3-devel
29 BuildRequires: zlib-devel
30 Requires: %{name}-libs = %{name}-%{release}
31 Suggests: fonts-TTF-DejaVu
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Mapnik is a Free Toolkit for developing mapping applications. It's written in
36 C++ and there are Python bindings to facilitate fast-paced agile development.
37 It can comfortably be used for both desktop and web development, which was
38 something I wanted from the beginning.
40 Mapnik is about making beautiful maps. It uses the AGG library and offers world
41 class anti-aliasing rendering with subpixel accuracy for geographic data. It is
42 written from scratch in modern C++ and doesn't suffer from design decisions
45 %package -n python-%{name}
46 Summary: Python bindings for Mapnik
47 Group: Libraries/Python
48 Requires: %{name} = %{name}-%{release}
50 %description -n python-%{name}
51 Python binding for Mapnik, the toolkit for developing GIS (Geographic
52 Information Systems) applications.
55 Summary: Header files for Mapnik
56 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mapnik
57 Group: Development/Libraries
58 Requires: %{name} = %{name}-%{release}
61 Header files for Mapnik.
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe biblioteki Mapnik.
67 Summary: Static ... library
68 Summary(pl.UTF-8): Statyczna biblioteka ...
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{version}-%{release}
75 %description static -l pl.UTF-8
76 Statyczna biblioteka ....
88 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
94 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
95 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
98 # DejaVu fonts are available in a separate package
99 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc AUTHORS CHANGELOG INSTALL README
110 %attr(755,root,root) %{_bindir}/*
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
112 %dir %{_libdir}/%{name}
113 %dir %{_libdir}/%{name}/input
114 %attr(755,root,root) %{_libdir}/%{name}/input/*.input
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/lib*.so
121 %files -n python-%{name}
122 %defattr(644,root,root,755)
123 %dir %{py_sitedir}/%{name}
124 %{py_sitedir}/%{name}/*.py[co]
125 %attr(755,root,root) %{py_sitedir}/%{name}/*.so
126 %dir %{py_sitedir}/%{name}/ogcserver
127 %{py_sitedir}/%{name}/ogcserver/*.py[co]