Final changes for 6.0. This version builds fine.:

This commit is contained in:
Devrim GÜNDÜZ 2011-07-19 17:18:12 +03:00
parent 15f499d7e4
commit b8f86d5001

View File

@ -93,6 +93,8 @@ popd
%build %build
CFLAGS="${CFLAGS} -ldl" ; export CFLAGS
# fix a UTF-8 one # fix a UTF-8 one
iconv -f ISO-8859-1 -t UTF-8 < \ iconv -f ISO-8859-1 -t UTF-8 < \
mapscript/java/examples/QueryByAttributeUnicode.java > \ mapscript/java/examples/QueryByAttributeUnicode.java > \
@ -171,7 +173,7 @@ install -p -m 755 shptree %{buildroot}/%{_bindir}
install -p -m 755 sortshp %{buildroot}/%{_bindir} install -p -m 755 sortshp %{buildroot}/%{_bindir}
install -p -m 755 tile4ms %{buildroot}/%{_bindir} install -p -m 755 tile4ms %{buildroot}/%{_bindir}
install -p -m 755 mapscript/php3/php_mapscript.so %{buildroot}/%{_libdir}/php/modules/ install -p -m 755 mapscript/php/php_mapscript.so %{buildroot}/%{_libdir}/php/modules/
# install perl module # install perl module
pushd mapscript/perl pushd mapscript/perl
@ -208,7 +210,7 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README COMMITERS GD-COPYING HISTORY.TXT %doc README COMMITERS GD-COPYING HISTORY.TXT
%doc INSTALL MIGRATION_GUIDE.TXT %doc INSTALL MIGRATION_GUIDE.txt
%doc symbols tests %doc symbols tests
%doc fonts %doc fonts
%{_bindir}/shp2img %{_bindir}/shp2img
@ -219,8 +221,8 @@ rm -rf %{buildroot}
%files -n php-mapserver %files -n php-mapserver
%defattr(-,root,root) %defattr(-,root,root)
%doc mapscript/php3/README %doc mapscript/php/README
%doc mapscript/php3/examples %doc mapscript/php/examples
%config(noreplace) %{_sysconfdir}/php.d/%{name}.ini %config(noreplace) %{_sysconfdir}/php.d/%{name}.ini
%{_libdir}/php/modules/php_mapscript.so %{_libdir}/php/modules/php_mapscript.so
@ -250,6 +252,7 @@ rm -rf %{buildroot}
- Update to 6.0.1, for various fixes described at: - Update to 6.0.1, for various fixes described at:
http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-1/mapserver/HISTORY.TXT http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-1/mapserver/HISTORY.TXT
- Fixes bz #722545 - Fixes bz #722545
- Apply changes to spec file for new major version.
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.6.5-6 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.6.5-6
- Perl mass rebuild - Perl mass rebuild