1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Name: mapcache
Version: 1.1dev
Release: 1%{?dist}
Summary: Caching server for WMS layers
Group: Development/Tools
License: MIT
URL: http://mapserver.org/trunk/en/mapcache/
Source: mapcache-%{version}.tar.gz
#Obtain source using git archive available at https://github.com/mapserver/mapcache:
#git archive --format=tar --prefix=mapcache-1.1dev/ master | gzip > mapcache-1.1dev.tar.gz
#or adjust archive available at: https://github.com/mapserver/mapcache/archive/master.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: webserver
BuildRequires: httpd-devel fcgi-devel cmake libcurl-devel
BuildRequires: geos-devel proj-devel gdal-devel libjpeg-turbo-devel
BuildRequires: libpng-devel libtiff-devel pixman-devel sqlite-devel
%description
MapCache is a server that implements tile caching to speed up access to WMS layers.
The primary objectives are to be fast and easily deployable, while offering the
essential features (and more!) expected from a tile caching solution.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} \
install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc INSTALL README* LICENSE
%{_bindir}/*
%{_libdir}/*
%changelog
|