Hello community, here is the log from the commit of package plplot for openSUSE:Factory checked in at Mon Aug 15 11:24:06 CEST 2011.
-------- --- plplot/plplot.changes 2011-08-01 21:54:58.000000000 +0200 +++ /mounts/work_src_done/STABLE/plplot/plplot.changes 2011-08-13 13:26:23.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 8 23:56:24 UTC 2011 - [email protected] + +- Enable ada bindings +- Added plplot-gcc-ada46-libs.patch to enable compilation with + gcc-ada = 4.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- plplot-gcc-ada46-libs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plplot.spec ++++++ --- /var/tmp/diff_new_pack.X78gDt/_old 2011-08-15 11:22:52.000000000 +0200 +++ /var/tmp/diff_new_pack.X78gDt/_new 2011-08-15 11:22:52.000000000 +0200 @@ -19,7 +19,7 @@ Name: plplot Version: 5.9.8 -Release: 1 +Release: 3 License: LGPLv2.1+ Summary: Cross-platform software package for creating scientific plots Url: http://plplot.sourceforge.net/ @@ -30,6 +30,8 @@ Patch0: plplot-multiarch.patch # PATCH-FIX-UPSTREAM plplot-strncat.patch [email protected] -- Prevent overflow errors with strcat operations Patch1: plplot-strncat.patch +# PATCH-FIX-UPSTERAM plplot-gcc-ada46-libs.patch [email protected] -- Allow searching for gcc-ada46 libraries +Patch2: plplot-gcc-ada46-libs.patch BuildRequires: cmake BuildRequires: freefont BuildRequires: fdupes @@ -60,6 +62,7 @@ BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(pygtk-2.0) BuildRequires: python-devel +BuildRequires: ocaml %if 0%{?suse_version} > 1130 BuildRequires: wxWidgets-devel @@ -108,6 +111,7 @@ %package devel + Summary: Files for development with PLplot Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -136,6 +140,7 @@ %package doc + Summary: Documentation for PLplot and its bindings Group: Documentation/Other Requires: %{name} = %{version} @@ -156,8 +161,57 @@ This package provides the documentation for PLplot and its associated modules. +%package ada + + +Summary: Shared libraries for PLplot's Ada bindings +Group: System/Libraries +Requires: %{name} = %{version} +Requires(post): /sbin/ldconfig + +%description ada +A variety of output file devices such as Postscript, png, jpeg, LaTeX +and others, as well as interactive devices such as xwin, tk, xterm and +Tektronics devices are supported. New devices can be easily added by +writing a small number of device dependent routines. + +There are almost 2000 characters in the extended character set. This +includes four different fonts, the Greek alphabet and a host of +mathematical, musical, and other symbols. Some devices supports its own +way of dealing with text, such as the Postscript and LaTeX drivers, or +the png and jpeg drivers that uses the Freetype library. + +This package provides the shared libraries necessary for using PLplot +with Ada. + +%package ada-devel + + +Summary: Ada bindings for development with PLplot +Group: Development/Languages/Other +Requires: %{name} = %{version} +Requires: %{name}-devel = %{version} +Requires: gcc-ada +Requires: %{name}-ada = %{version} +Requires: pkgconfig + +%description ada-devel +A variety of output file devices such as Postscript, png, jpeg, LaTeX +and others, as well as interactive devices such as xwin, tk, xterm and +Tektronics devices are supported. New devices can be easily added by +writing a small number of device dependent routines. + +There are almost 2000 characters in the extended character set. This +includes four different fonts, the Greek alphabet and a host of +mathematical, musical, and other symbols. Some devices supports its own +way of dealing with text, such as the Postscript and LaTeX drivers, or +the png and jpeg drivers that uses the Freetype library. + +This package provides the files necessary for using PLplot in Ada. + %package fortran + Summary: Shared libraries for PLplot's Fortran bindings Group: System/Libraries Requires: %{name} = %{version} @@ -180,6 +234,7 @@ %package fortran-devel + Summary: Fortran bindings for development with PLplot Group: Development/Languages/Fortran Requires: %{name} = %{version} @@ -204,6 +259,7 @@ %package java + Summary: PLplot functions for scientific plotting with Java Requires: %{name} = %{version} Requires: java @@ -225,6 +281,7 @@ %package lua + Summary: PLplot functions for scientific plotting with Lua Group: Development/Libraries/Other Requires: %{name} = %{version} @@ -248,6 +305,7 @@ %package python-qt + Summary: PLplot functions for scientific plotting with python-qt4 Group: Development/Libraries/Python Requires: %{name} = %{version} @@ -272,6 +330,7 @@ %package qt + Summary: PLplot functions for scientific plotting with qt Group: System/Libraries Requires: %{name} = %{version} @@ -295,6 +354,7 @@ %package qt-devel + Summary: PLplot functions for scientific plotting with qt Group: Development/Libraries/Other Requires: %{name} = %{version} @@ -321,6 +381,7 @@ %package tcltk + Summary: PLplot functions for scientific plotting with Tk Group: System/Libraries Requires: %{name} = %{version} @@ -344,6 +405,7 @@ %package tcltk-devel + Summary: PLplot functions for scientific plotting with python-qt4 Group: Development/Libraries/Other Requires: %{name} = %{version} @@ -373,6 +435,7 @@ %package wxwidgets + Summary: PLplot functions for scientific plotting with wxGTK Group: System/Libraries Requires: %{name} = %{version} @@ -395,6 +458,7 @@ %package wxwidgets-devel + Summary: PLplot bindings for development with wxGTK Group: Development/Libraries/Other Requires: %{name} = %{version} @@ -427,6 +491,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 for file in NEWS README.release do iconv -f ISO-8859-1 -t UTF-8 $file > ${file}.tmp @@ -446,12 +511,12 @@ -DCMAKE_BUILD_TYPE:STRING=Release \\\ -DPL_FREETYPE_FONT_PATH:PATH="%{_datadir}/fonts/truetype" \\\ -DUSE_RPATH:BOOL=OFF \\\ - -DENABLE_ada:BOOL=OFF \\\ + -DENABLE_ada:BOOL=ON \\\ -DENABLE_d:BOOL=ON \\\ -DENABLE_itcl:BOOL=ON \\\ -DENABLE_itk:BOOL=ON \\\ -DENABLE_lua:BOOL=ON \\\ - -DENABLE_ocaml:BOOL=OFF \\\ + -DENABLE_ocaml:BOOL=ON \\\ -DENABLE_tk:BOOL=ON \\\ -DHAVE_PTHREAD:BOOL=ON \\\ -DPLD_aqt:BOOL=ON \\\ @@ -529,6 +594,10 @@ %postun /sbin/ldconfig +%post -n plplot-ada -p /sbin/ldconfig + +%postun -n plplot-ada -p /sbin/ldconfig + %post -n plplot-fortran -p /sbin/ldconfig %postun -n plplot-fortran -p /sbin/ldconfig @@ -616,6 +685,23 @@ %{_datadir}/plplot%{version}/examples/test_diff.sh %{_mandir}/man3/pl*.3* +%files ada +%defattr(-,root,root) +%{_libdir}/libplplotadad.so.* + +%files ada-devel +%defattr(-,root,root) +%{_libdir}/libplplotadad.so +%dir %{_libdir}/ada +%dir %{_libdir}/ada/adalib +%dir %{_datadir}/ada +%dir %{_datadir}/ada/adainclude +%{_libdir}/ada/adalib/plplotadad/ +%{_libdir}/pkgconfig/plplotd-ada.pc +%{_datadir}/ada/adainclude/plplotadad/ +%{_datadir}/plplot%{version}/examples/ada/ +%{_datadir}/plplot%{version}/examples/test_ada.sh + %files fortran %defattr(-,root,root) %{_libdir}/libplplotf95cd.so.* ++++++ plplot-gcc-ada46-libs.patch ++++++ --- plplot-5.9.7/cmake/modules/ada.cmake.gnat46 2010-10-03 07:11:57.000000000 -0600 +++ plplot-5.9.7/cmake/modules/ada.cmake 2011-01-24 13:10:48.733012276 -0700 @@ -43,7 +43,7 @@ endif(ENABLE_ada) if(ENABLE_ada) - find_library(GNAT_LIB NAMES gnat gnat-4.5 gnat-4.4 gnat-4.3 gnat-4.2 gnat-4.1) + find_library(GNAT_LIB NAMES gnat gnat-4.6 gnat-4.5 gnat-4.4 gnat-4.3 gnat-4.2 gnat-4.1) if(NOT GNAT_LIB) message(STATUS "WARNING: " "gnat library not found. Disabling ada bindings") ++++++ plplot-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.X78gDt/_old 2011-08-15 11:22:52.000000000 +0200 +++ /var/tmp/diff_new_pack.X78gDt/_new 2011-08-15 11:22:52.000000000 +0200 @@ -5,4 +5,6 @@ addFilter("plplot-tcltk.* shlib-policy-missing-suffix") addFilter("plplot-fortran.* shlib-policy-missing-suffix") addFilter("plplot.* shlib-policy-missing-suffix") +addFilter("plplot-ada.* shlib-policy-missing-suffix") +addFilter("plplot-ada.* shlib-policy-name-error") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
