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 Suggests: fonts-TTF-DejaVu
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Mapnik is a Free Toolkit for developing mapping applications. It's written in
35 C++ and there are Python bindings to facilitate fast-paced agile development.
36 It can comfortably be used for both desktop and web development, which was
37 something I wanted from the beginning.
39 Mapnik is about making beautiful maps. It uses the AGG library and offers world
40 class anti-aliasing rendering with subpixel accuracy for geographic data. It is
41 written from scratch in modern C++ and doesn't suffer from design decisions
44 %package -n python-%{name}
45 Summary: Python bindings for Mapnik
46 Group: Libraries/Python
47 Requires: %{name} = %{version}-%{release}
49 %description -n python-%{name}
50 Python binding for Mapnik, the toolkit for developing GIS (Geographic
51 Information Systems) applications.
54 Summary: Header files for Mapnik
55 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mapnik
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
60 Header files for Mapnik.
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki Mapnik.
66 Summary: Static ... library
67 Summary(pl.UTF-8): Statyczna biblioteka ...
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
74 %description static -l pl.UTF-8
75 Statyczna biblioteka ....
87 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
93 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
94 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
97 # DejaVu fonts are available in a separate package
98 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 %defattr(644,root,root,755)
108 %doc AUTHORS CHANGELOG INSTALL README
109 %attr(755,root,root) %{_bindir}/*
110 %attr(755,root,root) %{_libdir}/lib*.so.*.*
111 %dir %{_libdir}/%{name}
112 %dir %{_libdir}/%{name}/input
113 %attr(755,root,root) %{_libdir}/%{name}/input/*.input
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*.so
120 %files -n python-%{name}
121 %defattr(644,root,root,755)
122 %dir %{py_sitedir}/%{name}
123 %{py_sitedir}/%{name}/*.py[co]
124 %attr(755,root,root) %{py_sitedir}/%{name}/*.so
125 %dir %{py_sitedir}/%{name}/ogcserver
126 %{py_sitedir}/%{name}/ogcserver/*.py[co]