rpms/gdl/devel gdl.spec,1.7,1.8

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Feb 2 22:42:40 UTC 2006


Author: orion

Update of /cvs/extras/rpms/gdl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12785

Modified Files:
	gdl.spec 
Log Message:
Enable hdf for ppc



Index: gdl.spec
===================================================================
RCS file: /cvs/extras/rpms/gdl/devel/gdl.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gdl.spec	3 Jan 2006 21:32:20 -0000	1.7
+++ gdl.spec	2 Feb 2006 22:42:40 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           gdl
 Version:        0.8.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GNU Data Language
 
 Group:          Applications/Engineering
@@ -13,17 +13,7 @@
 BuildRequires:  gsl-devel, plplot-devel, ImageMagick-c++-devel
 BuildRequires:  netcdf-devel, hdf5-devel, libjpeg-devel
 BuildRequires:  python-devel, python-numarray, python-matplotlib
-BuildRequires:  fftw3-devel
-%ifnarch ppc ppc64
-BuildRequires:  hdf-devel
-%define hdfconfig %{nil}
-%define hdfinclude "-I/usr/include/hdf"
-%define hdflib "-L%{_libdir}/hdf"
-%else
-%define hdfconfig "--with-hdf=no"
-%define hdfinclude %{nil}
-%define hdflib %{nil}
-%endif
+BuildRequires:  fftw3-devel, hdf-devel
 
 
 %description
@@ -37,9 +27,9 @@
 
 
 %build
-%configure --disable-static %{hdfconfig} \
-           INCLUDES="-I/usr/include/netcdf-3 %{hdfinclude}" \
-           LIBS="-L%{_libdir}/netcdf-3 %{hdflib}"
+%configure --disable-static \
+           INCLUDES="-I/usr/include/netcdf-3 -I/usr/include/hdf" \
+           LIBS="-L%{_libdir}/netcdf-3 -L%{_libdir}/hdf"
 make %{?_smp_mflags}
 
 
@@ -59,6 +49,9 @@
 
 
 %changelog
+* Thu Feb  2 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.8.11-3
+- Enable hdf for ppc
+
 * Tue Jan  3 2006 - Orion Poplawski <orion at cora.nwra.com> - 0.8.11-2
 - Rebuild
 




More information about the fedora-extras-commits mailing list