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:
parent
8d39cb6ea4
commit
f97f7691eb
@ -64,6 +64,7 @@ Summary: PHP/Mapscript map making extensions to PHP
|
|||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: php-gd
|
Requires: php-gd
|
||||||
Requires: apache2
|
Requires: apache2
|
||||||
|
Requires: apache2-mod_php5
|
||||||
|
|
||||||
%description -n php-mapserver
|
%description -n php-mapserver
|
||||||
The PHP/Mapscript extension provides full map customization capabilities within the PHP scripting language.
|
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 -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}/php5/conf.d/
|
||||||
cat > %{buildroot}%{_sysconfdir}/php.d/%{name}.ini <<EOF
|
cat > %{buildroot}%{_sysconfdir}/php5/conf.d/%{name}.ini <<EOF
|
||||||
; Enable %{name} extension module
|
; Enable %{name} extension module
|
||||||
extension=php_mapscript.so
|
extension=php_mapscript.so
|
||||||
EOF
|
EOF
|
||||||
@ -236,7 +237,7 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc mapscript/php3/README
|
%doc mapscript/php3/README
|
||||||
%doc mapscript/php3/examples
|
%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
|
%{_libdir}/php5/extensions/php_mapscript.so
|
||||||
|
|
||||||
%files perl
|
%files perl
|
||||||
@ -264,6 +265,9 @@ rm -rf %{buildroot}
|
|||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 26 2008 Stephan Holl <stephan.holl@intevation.de> 5.2.0
|
||||||
- updated to build on SLE_10 x32-plattforms
|
- updated to build on SLE_10 x32-plattforms
|
||||||
- updated path to php_mapscript.so
|
- updated path to php_mapscript.so
|
||||||
|
Loading…
Reference in New Issue
Block a user