1
0
forked from pool/mapserver

* changed path of mapscript-module in /etc

* added dependency of apache2_mod-php5 to php-mapserver

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=15
This commit is contained in:
Bjoern Schilberg 2008-08-28 13:58:08 +00:00 committed by Git OBS Bridge
parent 8d39cb6ea4
commit f97f7691eb

View File

@ -64,6 +64,7 @@ Summary: PHP/Mapscript map making extensions to PHP
Group: Development/Languages
Requires: php-gd
Requires: apache2
Requires: apache2-mod_php5
%description -n php-mapserver
The PHP/Mapscript extension provides full map customization capabilities within the PHP scripting language.
@ -199,8 +200,8 @@ mkdir -p %{buildroot}%{_javadir}
install -p -m 644 mapscript/java/mapscript.jar %{buildroot}%{_javadir}/
# install php config file
mkdir -p %{buildroot}%{_sysconfdir}/php.d/
cat > %{buildroot}%{_sysconfdir}/php.d/%{name}.ini <<EOF
mkdir -p %{buildroot}%{_sysconfdir}/php5/conf.d/
cat > %{buildroot}%{_sysconfdir}/php5/conf.d/%{name}.ini <<EOF
; Enable %{name} extension module
extension=php_mapscript.so
EOF
@ -236,7 +237,7 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%doc mapscript/php3/README
%doc mapscript/php3/examples
%config(noreplace) %{_sysconfdir}/php.d/%{name}.ini
%config(noreplace) %{_sysconfdir}/php5/conf.d/%{name}.ini
%{_libdir}/php5/extensions/php_mapscript.so
%files perl
@ -264,6 +265,9 @@ rm -rf %{buildroot}
%{_javadir}/*.jar
%changelog
* Tue Aug 28 2008 Stephan Holl <stephan.holl@intevation.de> 5.2.0
- changed path of mapscript-module
- added dependency of apache2_mod-php5 to php-mapserver
* Tue Aug 26 2008 Stephan Holl <stephan.holl@intevation.de> 5.2.0
- updated to build on SLE_10 x32-plattforms
- updated path to php_mapscript.so