diff --git a/4791.patch b/4791.patch new file mode 100644 index 0000000..ea11107 --- /dev/null +++ b/4791.patch @@ -0,0 +1,55 @@ +From c433652b0b205877e0d8eb921197dd35a46c6050 Mon Sep 17 00:00:00 2001 +From: Thomas Bonfort +Date: Sun, 13 Oct 2013 13:08:48 +0200 +Subject: [PATCH] try fixing lib install directory (#4789) + +--- + CMakeLists.txt | 14 ++++++++------ + 1 file changed, 8 insertions(+), 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 268e05d..c094c24 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,6 +6,8 @@ include(CheckLibraryExists) + include(CheckFunctionExists) + include(CheckIncludeFile) + include(CheckCSourceCompiles) ++include(GNUInstallDirs) ++ + + + +@@ -870,23 +872,23 @@ endif(WIN32) + + #INSTALL(FILES mapserver-api.h ${PROJECT_BINARY_DIR}/mapserver-version.h DESTINATION include) + if(USE_ORACLE_PLUGIN) +- INSTALL(TARGETS msplugin_oracle DESTINATION lib) ++ INSTALL(TARGETS msplugin_oracle DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif(USE_ORACLE_PLUGIN) + + if(USE_MSSQL2008) +- INSTALL(TARGETS msplugin_mssql2008 DESTINATION lib) ++ INSTALL(TARGETS msplugin_mssql2008 DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif(USE_MSSQL2008) + + if(USE_SDE91) +- INSTALL(TARGETS msplugin_sde91 DESTINATION lib) ++ INSTALL(TARGETS msplugin_sde91 DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif(USE_SDE91) + + if(USE_SDE92) +- INSTALL(TARGETS msplugin_sde92 DESTINATION lib) ++ INSTALL(TARGETS msplugin_sde92 DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif(USE_SDE92) + +-INSTALL(TARGETS sortshp shptree shptreevis msencrypt legend scalebar tile4ms shptreetst shp2img mapserv mapserver RUNTIME DESTINATION bin LIBRARY DESTINATION lib) ++INSTALL(TARGETS sortshp shptree shptreevis msencrypt legend scalebar tile4ms shptreetst shp2img mapserv mapserver RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) + if(BUILD_STATIC) +- INSTALL(TARGETS mapserver_static DESTINATION lib) ++ INSTALL(TARGETS mapserver_static DESTINATION ${CMAKE_INSTALL_LIBDIR}) + endif(BUILD_STATIC) + +-- +1.8.4 + diff --git a/mapserver-6.2.0.tar.gz b/mapserver-6.2.0.tar.gz deleted file mode 100644 index e1658a4..0000000 --- a/mapserver-6.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93eb52d659b58499939b609ac77f35dc8c862ca88db9e27de48476e9b766e392 -size 2806026 diff --git a/mapserver-6.4.0.tar.gz b/mapserver-6.4.0.tar.gz new file mode 100644 index 0000000..22bb37d --- /dev/null +++ b/mapserver-6.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f25553798fbd4eaf227bda66ebe44f40292ad7ec65f8bb1b3698580a518ca386 +size 2097411 diff --git a/mapserver-rpmlintrc b/mapserver-rpmlintrc new file mode 100644 index 0000000..de8be4c --- /dev/null +++ b/mapserver-rpmlintrc @@ -0,0 +1,17 @@ +# for the shared-lib-call-exit here the explanation +# we're not really a library, so no problem here... +# we exit on a failed malloc, which isn't really recoverable anyways +addFilter("mapserver.*: W: shared-lib-calls-exit*") + +# All those binary are sort of mapserv +addFilter("W: no-manual-page-for-binary sortshp") +addFilter("W: no-manual-page-for-binary shptreetst") +addFilter("W: no-manual-page-for-binary shptreevis") +addFilter("W: no-manual-page-for-binary shp2img") +addFilter("W: no-manual-page-for-binary tile4ms") +addFilter("W: no-manual-page-for-binary shptree") +addFilter("W: no-manual-page-for-binary msencrypt") +addFilter("W: no-manual-page-for-binary mapserv") +addFilter("W: no-manual-page-for-binary scalebar") +addFilter("W: no-manual-page-for-binary legend") + diff --git a/mapserver.changes b/mapserver.changes index 991b873..b62ea13 100644 --- a/mapserver.changes +++ b/mapserver.changes @@ -1,7 +1,94 @@ ------------------------------------------------------------------- -Tue May 7 17:38:12 UTC 2013 - tzotsos@opensuse.org +Sun Nov 3 15:28:44 UTC 2013 - tzotsos@opensuse.org -- Added OpenJPEG2 support +- Some minor spec cleanup + +------------------------------------------------------------------- +Sun Oct 13 14:33:33 UTC 2013 - bruno@ioda-net.ch + +- Use patch commit 4791 for fixing cmake_install_lib +- split libmapserver to its own package + could be used by mapscript module alone +- add rpmlintrc with explanation for warning removal +- Review licence part, description +- Remove apache2-mod_php5 dependency which block usage on fcgid + fastcgi mode +- Rename all mapscript package to fix naming policy and clarify + what they are +- Added ruby mapscript package +- Make all DWITH extension visible in the spec to be sure about + which one are activated or not + +------------------------------------------------------------------- +Sun Apr 21 22:31:20 UTC 2013 - tzotsos@opensuse.org + +- Updated to v6.4.0 (see + http://mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-0 + for a detailed description of the changes). +- Switched to CMake + +------------------------------------------------------------------- +Sun Apr 21 22:31:20 UTC 2013 - tzotsos@opensuse.org + +- Updated to v6.2.1 + + * Move #4577 fixes out of libmapserver (2013-04-18 10:55:23 +0200 - Thomas Bonfort) + * Exposed labelObj.text and labelObj.expression in PHP/MapScript (closes #4310) (2013-04-16 13:41:18 +0000 - Alan Boudreault) + * Fixed problems found in the mapfile.xsd while trying to convert current mapfiles into xmlmapfiles (2013-01-30 09:45:41 -0700 - Alex Wells) + * Ensure that msCopyLabel copies expression and text directives (2013-02-20 09:02:56 +0000 - Homme Zwaagstra) + * Updated submodule for #4633 (2013-04-12 18:56:44 +0200 - Thomas Bonfort) + * Update submodule for backported fix of #4633 (2013-04-12 18:32:53 +0200 - Thomas Bonfort) + * OGR WFS output: do not force null integer values to 0 (#4633) (2013-04-12 00:57:27 +0200 - Even Rouault) + * Fix for WMS requests with width and height of 1 (#4629) (2013-04-11 19:30:25 +0200 - Thomas Bonfort) + * Parse key value pairs sent in POST body (#4627) (2013-04-04 12:49:37 +0200 - Martin Kofahl) + * Add a script to run full test suite (build + test run) (2013-04-11 10:22:00 +0200 - Thomas Bonfort) + * update autotest submodule for #4625 and #4624 (2013-04-09 13:17:05 +0200 - Thomas Bonfort) + * Use ows_schemas_location for sld_capabilities ref (#4624) (2013-04-08 20:38:40 -0400 - Tom Kralidis) + * Update msautotests for #4622 (2013-04-08 11:56:34 +0200 - Thomas Bonfort) + * Don’t entity-encode URLs used on attributes: libxml2 does this for us. Refs #4622 (2013-04-05 09:38:25 +0200 - ejn) + * Fix cgi label commands after multi-label changes (#4621) (2013-04-03 13:54:43 +0200 - Thomas Bonfort) + * Ignore additional encodings in received content-type headers (#4585) (2013-03-29 10:22:05 -0400 - Thomas Bonfort) + * Fix PHP building when GD is disabled. Closes #4550 (2013-03-28 16:53:07 -0400 - Thomas Bonfort) + * CAIRO renderer fails to render some truetype symbols (#4616) (2013-03-27 11:34:22 +0100 - szekerest) + * Fix mapfile writer to write SVG symbols (#4607) (2013-03-21 22:05:02 +0100 - szekerest) + * Fix issues with wms_layer_group printing (#4533) (2013-03-04 21:49:36 +0100 - szekerest) + * Write CLASS validation to mapfile (#4596) (2013-03-04 17:06:05 +0100 - Thomas Bonfort) + * Mark disabled layers as processed to prevent from being displayed in nested groups (#4533) (2013-03-03 19:25:25 +0100 - szekerest) + * Don’t write GRATICULE connectiontype (#4165) (2013-02-28 10:20:24 +0100 - Thomas Bonfort) + * Add validation block to copy functions (#4596) (2013-02-27 17:39:39 +0100 - Thomas Bonfort) + * Fix for the segfault with WMS TIME patterns (#3795) (2013-02-22 23:08:36 +0100 - szekerest) + * Fix for the problem with filter when using WMS TIME parameters (#3795) (2013-02-22 21:51:13 +0100 - szekerest) + * Fix for the unsupported geometry type problem (#4591) (2013-02-21 19:38:30 +0100 - szekerest) + * #4528 : support for running mapscript tests without having to install core mapserver (2013-02-14 15:03:09 +0100 - Umberto Nicoletti) + * Fix rectObj/shapeObj draw function rendering when setting text property in mapscript (closes #4577) (2013-02-07 14:38:08 +0000 - Alan Boudreault) + * Fix rectObj->draw fails to render text in php/mapscript (#4577) (2013-02-06 20:57:59 +0000 - Alan Boudreault) + * Fix point->draw() fails when no LABEL defined (closes #4572) (2013-02-06 19:35:21 +0000 - Alan Boudreault) + * Modify msStyleSetGeomTransform to allow removing the transformation (#4580) (2013-02-03 22:13:08 +0100 - szekerest) + * Fix drawmode of rectObj->draw method in PHP/MapScript (2013-01-30 18:50:17 +0000 - Alan Boudreault) + * Modified mapfile.c for ticket #4568. (2013-01-22 12:29:02 -0600 - Steve Lime) + * Reapplied scaledenom fix (2013-01-10 15:52:18 +0000 - Alan Boudreault) + * Fix handling object ownership in msLoadMapFromString (#4551) (2013-01-05 18:43:39 +0100 - szekerest) + * Fix offset calculation for line legend icons (#2636) (2013-01-04 22:31:18 +0100 - szekerest) + * Fix symbolset initialization (#4556) (2013-01-02 22:37:35 +0100 - szekerest) + * Fix getCapabilities on maps with no layers (2012-12-18 20:39:40 +0000 - Jerome Villeneuve Larouche) + * msWMSGetCapabilities will not only check the MAP but every LAYERS. Fix for 4540 (2012-12-17 20:35:48 +0000 - Jerome Villeneuve Larouche) + * Don’t try to project pixel coordinates (#4537) (2012-12-13 12:14:38 +0100 - Martin Kofahl) + * Improve __sync_sub_and_fetch detection #4231 (2012-12-12 17:39:58 +0100 - Umberto Nicoletti) + * Backported pull request #4532: fix for oracle paging bug #4417 (2012-12-12 17:03:21 +0100 - Umberto Nicoletti) + * Suffix php mapscript lib with version number (#4525) (2012-12-11 11:35:02 +0100 - Thomas Bonfort) + * Fix proj version check (#4526) (2012-12-11 10:57:03 +0100 - Thomas Bonfort) + * Fix order of wms