2013-11-04 11:37:28 +01:00
|
|
|
#
|
|
|
|
# spec file for package mapserver 6.4 series
|
|
|
|
# this build respect python,java,perl,php package naming convention under
|
|
|
|
# openSUSE.
|
|
|
|
#
|
2015-01-19 22:21:14 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2014 Ioda-Net Sàrl, Charmoille, Switzerland. Bruno Friedmann (tigerfoot)
|
|
|
|
# Copyright (c) 2015 Angelos Tzotsos (kalxas)
|
2013-11-04 11:37:28 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
2014-01-03 00:11:28 +01:00
|
|
|
# file, is the same license as for the mapserve package itself (unless the
|
2013-11-04 11:37:28 +01:00
|
|
|
# license for the mapserver package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2015-01-19 22:21:14 +01:00
|
|
|
|
2014-01-03 00:11:28 +01:00
|
|
|
%define fileversion 6.4.1
|
2013-11-04 11:37:28 +01:00
|
|
|
%define libname libmapserver1
|
2015-01-19 22:21:14 +01:00
|
|
|
%define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
|
|
|
%define _cgibindir /srv/www/cgi-bin
|
|
|
|
|
|
|
|
Name: mapserver
|
|
|
|
Version: 6.4.1
|
|
|
|
Release: 0
|
|
|
|
Summary: Environment for building spatially-enabled internet applications
|
|
|
|
License: MIT
|
2013-11-04 11:37:28 +01:00
|
|
|
#see http://www.mapserver.org/copyright.html#license
|
2015-01-19 22:21:14 +01:00
|
|
|
Group: Productivity/Networking/Web/Servers
|
|
|
|
Url: http://www.mapserver.org
|
|
|
|
Source: %{name}-%{fileversion}.tar.gz
|
2013-11-04 11:37:28 +01:00
|
|
|
#wget https://github.com/mapserver/mapserver/pull/#PATCH.patch
|
2015-01-19 22:21:14 +01:00
|
|
|
Patch1: 4788.patch
|
|
|
|
Patch2: 4788-php-mapscript.patch
|
|
|
|
Patch3: 4788-python-mapscript.patch
|
|
|
|
Patch4: 4875-incorrect-blending-tif.patch
|
|
|
|
Patch5: 4912-php56-php-input.patch
|
2016-02-07 19:25:10 +01:00
|
|
|
# Fix Build with GIFLIB >= 5.1.0
|
|
|
|
Patch6: giflib_5.1.0.patch
|
|
|
|
Patch7: swig_3.patch
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: FastCGI-devel
|
|
|
|
BuildRequires: apache2-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: cairo-devel
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: cmake >= 2.4
|
|
|
|
BuildRequires: freetype2
|
|
|
|
BuildRequires: freetype2-devel
|
|
|
|
BuildRequires: fribidi-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gd-devel >= 2.0.16
|
|
|
|
BuildRequires: giflib-devel
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcj-devel
|
|
|
|
BuildRequires: libgdal-devel >= 1.10
|
|
|
|
BuildRequires: libgeos-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libproj-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: mysql-devel
|
|
|
|
BuildRequires: openjpeg2-devel
|
|
|
|
BuildRequires: pam
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: postgresql-devel >= 9.1
|
|
|
|
BuildRequires: proj
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: rpm
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: update-alternatives
|
|
|
|
BuildRequires: zlib-devel
|
2015-02-10 12:14:35 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2008-08-26 15:12:25 +02:00
|
|
|
%if 0%{?suse_version} != 1010
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: xorg-x11-libXpm-devel
|
2008-08-26 15:12:25 +02:00
|
|
|
%endif
|
2015-01-19 22:21:14 +01:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
Requires: FastCGI
|
|
|
|
Requires: apache2
|
|
|
|
Requires: fribidi
|
|
|
|
Requires: librsvg
|
|
|
|
Requires: proj
|
|
|
|
Requires: mysql
|
|
|
|
Requires: postgresql >= 9.1
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Mapserver is an internet mapping program that converts GIS data to
|
2015-01-19 22:21:14 +01:00
|
|
|
map images in real time. With appropriate interface pages,
|
|
|
|
Mapserver can provide an interactive internet map based on
|
2008-03-16 18:15:39 +01:00
|
|
|
custom GIS data.
|
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Mapsserver library for mapserver or mapscript module
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
Mapserver library for mapserver or mapscript module. you need this lib to run mapserver
|
|
|
|
or any of the mapscript module (php, java, python, ruby)
|
|
|
|
|
|
|
|
# We don't require apache2_mod-php5 users could have php5 running
|
|
|
|
# with other modes (cgi, php-fpm etc)
|
2015-01-19 22:21:14 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n php-mapscript
|
2008-03-16 18:15:39 +01:00
|
|
|
Summary: PHP/Mapscript map making extensions to PHP
|
2013-11-04 11:37:28 +01:00
|
|
|
Group: Development/Libraries/PHP
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2008-08-26 15:12:25 +02:00
|
|
|
Requires: apache2
|
2015-01-19 22:21:14 +01:00
|
|
|
Provides: php-mapserver = %{version}-%{release}
|
|
|
|
Obsoletes: php-mapserver < %{version}-%{release}
|
2013-11-04 11:37:28 +01:00
|
|
|
%if 0%{?sles_version} >= 11
|
|
|
|
BuildRequires: php53-devel
|
|
|
|
Requires: php53
|
|
|
|
Requires: php53-gd
|
|
|
|
%else
|
|
|
|
BuildRequires: php-devel
|
|
|
|
Requires: php
|
|
|
|
Requires: php-gd
|
|
|
|
%endif
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%description -n php-mapscript
|
2008-08-26 15:12:25 +02:00
|
|
|
The PHP/Mapscript extension provides full map customization capabilities within the PHP scripting language.
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n perl-mapscript
|
2008-03-16 18:15:39 +01:00
|
|
|
Summary: Perl/Mapscript map making extensions to Perl
|
2013-11-04 11:37:28 +01:00
|
|
|
Group: Development/Languages/Perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: perl-base
|
2013-11-04 11:37:28 +01:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2011-11-23 17:39:36 +01:00
|
|
|
Requires: perl-base
|
2015-01-19 22:21:14 +01:00
|
|
|
Provides: mapserver-perl = %{version}-%{release}
|
|
|
|
Obsoletes: mapserver-perl < %{version}-%{release}
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%description -n perl-mapscript
|
2008-03-16 18:15:39 +01:00
|
|
|
The Perl/Mapscript extension provides full map customization capabilities
|
|
|
|
within the Perl programming language.
|
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n python-mapscript
|
2011-03-01 15:53:07 +01:00
|
|
|
Summary: Python/Mapscript map making extensions to Python
|
2013-11-04 11:37:28 +01:00
|
|
|
Group: Development/Languages/Python
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: python-devel
|
2013-11-04 11:37:28 +01:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2011-11-23 17:39:36 +01:00
|
|
|
Requires: python-base
|
2015-01-19 22:21:14 +01:00
|
|
|
Provides: mapserver-python = %{version}-%{release}
|
|
|
|
Obsoletes: mapserver-python < %{version}-%{release}
|
2011-03-01 15:53:07 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%description -n python-mapscript
|
2011-03-01 15:53:07 +01:00
|
|
|
The Python/Mapscript extension provides full map customization capabilities
|
|
|
|
within the Python programming language.
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n libjavamapscript
|
2012-11-14 16:45:22 +01:00
|
|
|
Summary: Java/Mapscript map making extensions to Java
|
2013-11-04 11:37:28 +01:00
|
|
|
Group: Development/Languages/Java
|
|
|
|
BuildRequires: java >= 1.6
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: java-devel >= 1.6
|
|
|
|
BuildRequires: swig
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
Requires: java >= 1.6
|
|
|
|
Requires: swig
|
|
|
|
Provides: java-mapscript = %{version}-%{release}
|
|
|
|
Provides: mapserver-java = %{version}-%{release}
|
|
|
|
Obsoletes: mapserver-java < %{version}-%{release}
|
|
|
|
Obsoletes: java-mapscript < %{version}-%{release}
|
2013-11-04 11:37:28 +01:00
|
|
|
%if 0%{?sles_version} == 10
|
|
|
|
%ifarch i586
|
|
|
|
BuildRequires: java-1_5_0-ibm-alsa
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n libjavamapscript
|
2012-11-14 16:45:22 +01:00
|
|
|
The Java/Mapscript extension provides full map customization capabilities
|
|
|
|
within the Java programming language.
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%package -n ruby-mapscript
|
|
|
|
Summary: Ruby/Mapscript map making extensions to Ruby
|
|
|
|
Group: Development/Languages/Ruby
|
2015-01-19 22:21:14 +01:00
|
|
|
BuildRequires: ruby-devel
|
|
|
|
BuildRequires: ruby-macros
|
2013-11-04 11:37:28 +01:00
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2015-01-19 22:21:14 +01:00
|
|
|
Requires: ruby
|
|
|
|
Provides: mapserver-ruby = %{version}-%{release}
|
|
|
|
Obsoletes: mapserver-ruby < %{version}-%{release}
|
2013-11-04 11:37:28 +01:00
|
|
|
|
|
|
|
%description -n ruby-mapscript
|
|
|
|
The Ruby/Mapscript extension provides full map customization capabilities
|
|
|
|
within the Ruby programming language.
|
|
|
|
|
2015-01-19 22:21:14 +01:00
|
|
|
%package devel
|
2012-11-29 04:12:25 +01:00
|
|
|
Summary: Mapserver development files
|
2013-11-04 11:37:28 +01:00
|
|
|
Group: Development/Libraries/Other
|
2012-11-29 04:12:25 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2015-01-19 22:21:14 +01:00
|
|
|
%description devel
|
2012-11-29 04:12:25 +01:00
|
|
|
The Mapserver development package provides necessary files to build
|
|
|
|
against the C Mapserver library.
|
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
%prep
|
2011-03-21 18:08:13 +01:00
|
|
|
%setup -q -n %{name}-%{fileversion}
|
2014-01-03 00:11:28 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2015-01-19 22:21:14 +01:00
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
2016-02-07 19:25:10 +01:00
|
|
|
%patch6 -p0
|
|
|
|
%patch7 -p0
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2012-11-14 16:45:22 +01:00
|
|
|
%build -n %{name}-%{fileversion}
|
2013-11-04 11:37:28 +01:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
#Pre export the PREFIX ( having it on the command line doesn't expand correctly for
|
|
|
|
#dynamic postgresql location
|
|
|
|
export CMAKE_PREFIX_PATH="%{_includedir}:%{_includedir}/fastcgi:%(pg_config --includedir):%(pg_config --includedir-server):%(pg_config --libdir)"
|
2015-01-19 22:21:14 +01:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
2013-11-04 11:37:28 +01:00
|
|
|
|
|
|
|
#specify all options and play with true/false
|
|
|
|
#so we always know which option are included in our build.
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2015-01-19 22:21:14 +01:00
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_C_FLAGS_RELEASE="%{optflags} -fno-strict-aliasing" \
|
|
|
|
-DCMAKE_CXX_FLAGS_RELEASE="%{optflags} -fno-strict-aliasing" \
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
-DCMAKE_SKIP_INSTALL_RPATH=ON \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DWITH_CAIRO=TRUE \
|
|
|
|
-DWITH_CLIENT_WFS=TRUE \
|
|
|
|
-DWITH_CLIENT_WMS=TRUE \
|
|
|
|
-DWITH_CURL=TRUE \
|
|
|
|
-DWITH_FCGI=TRUE \
|
|
|
|
-DWITH_FRIBIDI=TRUE \
|
|
|
|
-DWITH_GD=TRUE \
|
|
|
|
-DWITH_GDAL=TRUE \
|
|
|
|
-DWITH_GEOS=TRUE \
|
|
|
|
-DWITH_GIF=TRUE \
|
|
|
|
-DWITH_ICONV=TRUE \
|
|
|
|
-DWITH_JAVA=TRUE \
|
|
|
|
-DWITH_KML=TRUE \
|
|
|
|
-DWITH_LIBXML2=TRUE \
|
|
|
|
-DWITH_OGR=TRUE \
|
|
|
|
-DWITH_MYSQL=TRUE \
|
|
|
|
-DWITH_PERL=TRUE \
|
|
|
|
-DCUSTOM_PERL_SITE_ARCH_DIR="%{perl_vendorarch}" \
|
|
|
|
-DWITH_PHP=TRUE \
|
|
|
|
-DWITH_POSTGIS=TRUE \
|
|
|
|
-DWITH_PROJ=TRUE \
|
|
|
|
-DWITH_PYTHON=TRUE \
|
|
|
|
-DWITH_RUBY=TRUE \
|
|
|
|
-DWITH_SOS=TRUE \
|
|
|
|
-DWITH_THREAD_SAFETY=TRUE \
|
|
|
|
-DWITH_WCS=TRUE \
|
|
|
|
-DWITH_WMS=TRUE \
|
|
|
|
-DWITH_WFS=TRUE \
|
|
|
|
-DWITH_XMLMAPFILE=TRUE \
|
|
|
|
-DWITH_POINT_Z_M=TRUE \
|
|
|
|
-DWITH_APACHE_MODULE=FALSE \
|
|
|
|
-DWITH_SVGCAIRO=FALSE \
|
|
|
|
-DWITH_MYSQL=FALSE \
|
|
|
|
-DWITH_CSHARP=FALSE \
|
|
|
|
-DWITH_ORACLESPATIAL=FALSE \
|
|
|
|
-DWITH_ORACLE_PLUGIN=FALSE \
|
|
|
|
-DWITH_MSSQL2008=FALSE \
|
|
|
|
-DWITH_SDE=FALSE \
|
|
|
|
-DWITH_SDE_PLUGIN=FALSE \
|
|
|
|
-DWITH_EXEMPI=FALSE \
|
|
|
|
../%{name}-%{fileversion}/
|
2013-11-04 11:37:28 +01:00
|
|
|
|
|
|
|
## WARNING !!! using %%{?_smp_mflags} will break build
|
|
|
|
## This is not anymore true for 6x versions, if it happen then it's a bug :-)
|
|
|
|
make %{?jobs:-j%{jobs}}
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2014-01-03 00:11:28 +01:00
|
|
|
|
|
|
|
%check
|
|
|
|
# make test
|
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}/%{_sbindir}
|
2008-08-26 15:12:25 +02:00
|
|
|
mkdir -p %{buildroot}/%{_cgibindir}
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/php5/extensions
|
2008-03-16 18:15:39 +01:00
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2012-11-14 16:45:22 +01:00
|
|
|
mkdir -p %{buildroot}%{python_sitearch}/
|
2013-11-04 11:37:28 +01:00
|
|
|
mkdir -p %{buildroot}/%{_includedir}/%{name}
|
|
|
|
#Comment this look a bit wired to be usefull sub-dir should also needed
|
|
|
|
# agg, etc
|
|
|
|
cp *.h %{buildroot}/%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
# fix some exec bits essentially on examples to make rpmlint happy
|
|
|
|
# and avoid rpm adding require
|
|
|
|
find ./mapscript/ -type f -iname "*.p[ly]" -exec chmod -x {} \;
|
|
|
|
find ./mapscript/ -type f -iname "*.rb" -exec chmod -x {} \;
|
|
|
|
find ./mapscript/ -type f -iname "*.dist" -exec chmod -x {} \;
|
|
|
|
|
|
|
|
cd ../build
|
|
|
|
%makeinstall DESTDIR="%{buildroot}"
|
|
|
|
cd ../%{name}-%{fileversion}
|
|
|
|
|
2008-08-28 15:58:08 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/php5/conf.d/
|
2013-11-04 11:37:28 +01:00
|
|
|
cat > %{buildroot}%{_sysconfdir}/php5/conf.d/mapscript.ini <<EOF
|
2008-03-16 18:15:39 +01:00
|
|
|
; Enable %{name} extension module
|
2014-01-03 00:11:28 +01:00
|
|
|
; For 6.4 we name the symlink here
|
2008-03-16 18:15:39 +01:00
|
|
|
extension=php_mapscript.so
|
|
|
|
EOF
|
|
|
|
|
2014-01-03 00:11:28 +01:00
|
|
|
# Install our links
|
|
|
|
#@ todo : check
|
|
|
|
# Having them as link is good for bytes, but httpd_daemon should allow
|
|
|
|
# reading those symlinks which is not the default
|
|
|
|
|
|
|
|
cd %{buildroot}%{_cgibindir}
|
|
|
|
ln -s ../../../usr/bin/mapserv mapserv
|
|
|
|
ln -s ../../../usr/bin/legend legend
|
|
|
|
ln -s ../../../usr/bin//scalebar scalebar
|
2013-11-04 11:37:28 +01:00
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
# remove vera fonts, these are provided system wide
|
2013-11-04 11:37:28 +01:00
|
|
|
#@todo then we should patch the fonts file example
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}/tests/vera
|
2012-11-14 16:45:22 +01:00
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/tests/vera
|
2008-03-16 18:15:39 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2013-11-04 11:37:28 +01:00
|
|
|
%doc README COMMITERS GD-COPYING HISTORY.TXT
|
|
|
|
%doc MIGRATION_GUIDE.txt
|
2009-05-06 12:22:52 +02:00
|
|
|
%doc symbols tests
|
2008-03-16 18:15:39 +01:00
|
|
|
%doc fonts
|
|
|
|
%{_bindir}/shp2img
|
|
|
|
%{_bindir}/shptree
|
|
|
|
%{_bindir}/sortshp
|
|
|
|
%{_bindir}/tile4ms
|
2012-11-14 16:45:22 +01:00
|
|
|
%{_bindir}/mapserv
|
|
|
|
%{_bindir}/legend
|
|
|
|
%{_bindir}/scalebar
|
|
|
|
%{_bindir}/msencrypt
|
|
|
|
%{_bindir}/shptreetst
|
|
|
|
%{_bindir}/shptreevis
|
2008-08-26 15:12:25 +02:00
|
|
|
%{_cgibindir}/mapserv
|
|
|
|
%{_cgibindir}/legend
|
|
|
|
%{_cgibindir}/scalebar
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libmapserver.so.*
|
|
|
|
|
|
|
|
%files -n php-mapscript
|
2008-03-16 18:15:39 +01:00
|
|
|
%defattr(-,root,root)
|
2011-03-21 18:08:13 +01:00
|
|
|
%doc mapscript/php/README
|
|
|
|
%doc mapscript/php/examples
|
2013-11-04 11:37:28 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/php5/conf.d/mapscript.ini
|
2016-02-07 19:25:10 +01:00
|
|
|
%{_libdir}/php5/extensions/php_mapscript.so*
|
2013-11-04 11:37:28 +01:00
|
|
|
|
|
|
|
%files -n perl-mapscript
|
2008-03-16 18:15:39 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc mapscript/perl/examples
|
|
|
|
%dir %{perl_vendorarch}/auto/mapscript
|
|
|
|
%{perl_vendorarch}/auto/mapscript/*
|
|
|
|
%{perl_vendorarch}/mapscript.pm
|
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%files -n python-mapscript
|
2011-03-01 15:53:07 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc mapscript/python/README
|
|
|
|
%doc mapscript/python/examples
|
|
|
|
%doc mapscript/python/tests
|
|
|
|
%{python_sitearch}/*
|
2008-03-16 18:34:49 +01:00
|
|
|
|
2013-11-04 11:37:28 +01:00
|
|
|
%files -n libjavamapscript
|
2012-11-14 16:45:22 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc mapscript/java/README
|
|
|
|
%doc mapscript/java/examples
|
|
|
|
%doc mapscript/java/tests
|
2013-11-04 11:37:28 +01:00
|
|
|
%{_libdir}/libjavamapscript.so
|
|
|
|
|
|
|
|
%files -n ruby-mapscript
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc mapscript/ruby/README
|
|
|
|
%doc mapscript/ruby/examples
|
2015-01-19 22:21:14 +01:00
|
|
|
%{rb_sitearchdir}/mapscript.so
|
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
|
2012-11-29 04:12:25 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/mapserver
|
|
|
|
%{_includedir}/mapserver/*
|
2013-11-04 11:37:28 +01:00
|
|
|
%{_libdir}/libmapserver.so
|
2012-11-29 04:12:25 +01:00
|
|
|
|
2008-03-16 18:15:39 +01:00
|
|
|
%changelog
|