[mathgl] * Update to 1.11.3

mycae mycae at fedoraproject.org
Fri Dec 7 23:50:26 UTC 2012


commit 34086633a85688a2a75d5a17f88feb4b0ddcfc92
Author: D Haley <mycae yahoo com>
Date:   Fri Dec 7 23:50:04 2012 +0000

    * Update to 1.11.3

 ...l-1.11.2-fltk.patch => mathgl-1.11.3-fltk.patch |    0
 ...l-1.11.2-zlib.patch => mathgl-1.11.3-zlib.patch |    0
 mathgl-info.patch                                  |   20 ---------------
 mathgl.spec                                        |   26 ++++++++++---------
 4 files changed, 14 insertions(+), 32 deletions(-)
---
diff --git a/mathgl-1.11.2-fltk.patch b/mathgl-1.11.3-fltk.patch
similarity index 100%
rename from mathgl-1.11.2-fltk.patch
rename to mathgl-1.11.3-fltk.patch
diff --git a/mathgl-1.11.2-zlib.patch b/mathgl-1.11.3-zlib.patch
similarity index 100%
rename from mathgl-1.11.2-zlib.patch
rename to mathgl-1.11.3-zlib.patch
diff --git a/mathgl.spec b/mathgl.spec
index b30856e..026304d 100644
--- a/mathgl.spec
+++ b/mathgl.spec
@@ -1,6 +1,6 @@
 Name: mathgl
-Version: 1.11.2
-Release: 9%{?dist}
+Version: 1.11.3
+Release: 1%{?dist}
 Summary: Cross-platform library for making high-quality scientific graphics
 Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
 Summary(ru): MathGL - это библиотека для осуществления высококачественной визуализации данных
@@ -9,13 +9,11 @@ Group: Development/Libraries
 Url: http://mathgl.sourceforge.net
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 
-#Uncomment mathgl dif listing (fix warning) also from pts
-Patch0: %{name}-info.patch
 #Fltk uses /usr/include/FL
-Patch1: %{name}-%{version}-fltk.patch
+Patch0: %{name}-%{version}-fltk.patch
 #libpng 1.5 no longer include Z_BEST_COMPRESSION, and thus we need to
 # include zlib directly
-Patch2: %{name}-%{version}-zlib.patch
+Patch1: %{name}-%{version}-zlib.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -79,9 +77,8 @@ for file in AUTHORS ChangeLog.txt README COPYRIGHT; do
 	mv $file.new $file
 done
 
-%patch0
-%patch1 -p1
-%patch2
+%patch0 -p1
+%patch1 
 
 
 %build
@@ -93,7 +90,10 @@ LRELEASE=/usr/bin/lrelease-qt4
 export LDFLAGS="-L/usr/lib64/hdf/ -L/usr/lib/hdf"
 %configure	--disable-static \
 		--enable-shared \
-		--enable-all
+		--enable-all 
+
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/widgets/.libs/:`pwd`/mgl/.libs
 
@@ -145,8 +145,7 @@ if [ $1 = 0 ] ; then
 	/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
 fi
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -172,6 +171,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc texinfo/docs/*
 
 %changelog
+* Fri Dec 07 2012 <mycae(a!t)yahoo.com> - 1.11.3-1
+- Update to 1.11.3
+
 * Mon Dec 03 2012 Orion Poplawski <orion at cora.nwra.com> - 1.11.2-9
 - Rebuild for hdf5 1.8.10
 


More information about the scm-commits mailing list