99 lines
2.9 KiB
RPMSpec
99 lines
2.9 KiB
RPMSpec
|
Name: libmapnik
|
||
|
Version: 2.1.0
|
||
|
Release: 1mamba
|
||
|
Summary: A Free Toolkit for developing mapping applications
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://mapnik.org/
|
||
|
Source: https://github.com/downloads/mapnik/mapnik/mapnik-v%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libboost-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libcairomm-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libicu-devel
|
||
|
BuildRequires: libjpeg-devel
|
||
|
BuildRequires: libltdl-devel
|
||
|
BuildRequires: libpng-devel
|
||
|
BuildRequires: libpostgresql-devel
|
||
|
BuildRequires: libproj-devel
|
||
|
BuildRequires: libpython-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libtiff-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: libz-devel
|
||
|
BuildRequires: python-boost-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Provides: mapnik
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Mapnik is a Free Toolkit for developing mapping applications. Above all Mapnik is about making beautiful maps. It is easily extensible and suitable for both desktop and web development.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Devel package for libmapnik
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
Mapnik is a Free Toolkit for developing mapping applications. Above all Mapnik is about making beautiful maps. It is easily extensible and suitable for both desktop and web development.
|
||
|
This is the devel package.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n mapnik-v%{version}
|
||
|
|
||
|
%build
|
||
|
%{__python} scons/scons.py configure PREFIX=%{_prefix}
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%{__python} scons/scons.py install DESTDIR=%{buildroot} %{_smp_mflags}
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/mapnik-speed-check
|
||
|
%{_bindir}/shapeindex
|
||
|
%{_bindir}/svg2png
|
||
|
%{_bindir}/upgrade_map_xml.py
|
||
|
%{_libdir}/libmapnik.so.*
|
||
|
%dir %{_libdir}/mapnik
|
||
|
%{_libdir}/mapnik/fonts
|
||
|
%{_libdir}/mapnik/input
|
||
|
%dir %{python_sitearch}/mapnik
|
||
|
%{python_sitearch}/mapnik/*
|
||
|
%dir %{python_sitearch}/mapnik2
|
||
|
%{python_sitearch}/mapnik2/*
|
||
|
%doc COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/mapnik-config
|
||
|
%dir %{_includedir}/mapnik
|
||
|
%{_includedir}/mapnik/*
|
||
|
%{_libdir}/libmapnik.so
|
||
|
#%doc README
|
||
|
|
||
|
%changelog
|
||
|
* Mon Dec 17 2012 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Nov 14 2011 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Dec 14 2010 Automatic Build System <autodist@mambasoft.it> 0.7.1-2mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Fri Nov 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
||
|
- package created by autospec
|