1
0
forked from pool/mapserver
Dirk Stoecker 2008-03-18 08:13:20 +00:00 committed by Git OBS Bridge
parent 1e30771955
commit 1e0d4b6685

View File

@ -7,24 +7,13 @@ Source: %{name}-%{version}.tar.gz
URL: http://mapserver.gis.umn.edu URL: http://mapserver.gis.umn.edu
Summary: Environment for building spatially-enabled internet applications Summary: Environment for building spatially-enabled internet applications
Packager: Otto Dassau <otto.dassau@gmx.de> Packager: Otto Dassau <otto.dassau@gmx.de>
Requires: xorg-x11-libXpm Requires: php
Requires: php5
Requires: postgresql Requires: postgresql
Requires: mysql Requires: mysql
Requires: libgeos
Requires: libproj
Requires: libgdal
Requires: freetype2
Requires: gd
#Requires: python #Requires: python
Requires: zlib
Requires: libxml2
Requires: libjpeg
Requires: libpng
Requires: libtiff
#Requires: httpd #Requires: httpd
BuildRequires: xorg-x11-libXpm-devel BuildRequires: xorg-x11-libXpm-devel
BuildRequires: php5-devel BuildRequires: php-devel
BuildRequires: rpm, gcc, gcc-c++ BuildRequires: rpm, gcc, gcc-c++
BuildRequires: postgresql-devel BuildRequires: postgresql-devel
BuildRequires: mysql-devel BuildRequires: mysql-devel
@ -34,7 +23,11 @@ BuildRequires: libgdal-devel
BuildRequires: freetype2-devel BuildRequires: freetype2-devel
BuildRequires: gd-devel >= 2.0.16 BuildRequires: gd-devel >= 2.0.16
#BuildRequires: python-devel #BuildRequires: python-devel
%if 0%{?suse_version} >= 1030
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
%else
BuildRequires: curl-devel
%endif
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
@ -42,11 +35,7 @@ BuildRequires: libpng-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: swig BuildRequires: swig
#%if 0%{?suse_version} >= 1030 BuildRequires: java-devel >= 1.5
#BuildRequires: java-1_6_0-sun-devel
#%else
#BuildRequires: java-1_5_0-sun-devel
#%endif
#BuildRequires: httpd-devel #BuildRequires: httpd-devel
BuildRequires: java BuildRequires: java
BuildRequires: libgcj-devel BuildRequires: libgcj-devel
@ -89,15 +78,14 @@ within the Perl programming language.
#The Python/Mapscript extension provides full map customization capabilities #The Python/Mapscript extension provides full map customization capabilities
#within the Python programming language. #within the Python programming language.
##java is not available in build repos - only in non-oss repo, so it won't be build %package java
#%package java Summary: Java/Mapscript map making extensions to Java
#Summary: Java/Mapscript map making extensions to Java Group: Development/Languages
#Group: Development/Languages Requires: %{name} = %{version}-%{release}
#Requires: %{name} = %{version}-%{release}
#%description java %description java
#The Java/Mapscript extension provides full map customization capabilities The Java/Mapscript extension provides full map customization capabilities
#within the Java programming language. within the Java programming language.
%prep %prep
%setup -q %setup -q
@ -158,9 +146,9 @@ make
#python setup.py build #python setup.py build
# build java # build java
#cd ../java cd ../java
#make interface make interface
#make make
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -188,8 +176,8 @@ popd
#popd #popd
# install java # install java
#mkdir -p %{buildroot}%{_javadir} mkdir -p %{buildroot}%{_javadir}
#install -p -m 644 mapscript/java/mapscript.jar %{buildroot}%{_javadir}/ install -p -m 644 mapscript/java/mapscript.jar %{buildroot}%{_javadir}/
# install php config file # install php config file
mkdir -p %{buildroot}%{_sysconfdir}/php.d/ mkdir -p %{buildroot}%{_sysconfdir}/php.d/
@ -247,12 +235,12 @@ rm -rf %{buildroot}
#/usr/local/lib64/python2.5/site-packages/* #/usr/local/lib64/python2.5/site-packages/*
##%{python_sitearch}/* ##%{python_sitearch}/*
#%files java %files java
#%defattr(-,root,root) %defattr(-,root,root)
#%doc mapscript/java/README %doc mapscript/java/README
#%doc mapscript/java/examples %doc mapscript/java/examples
#%doc mapscript/java/tests %doc mapscript/java/tests
#%{_javadir}/*.jar %{_javadir}/*.jar
%changelog %changelog
* Sun Mar 16 2008 Otto Dassau 5.0.2 * Sun Mar 16 2008 Otto Dassau 5.0.2