SPECS: gdal.spec - added ac patch - compile python modules - relea...

qboosh qboosh at pld-linux.org
Tue Dec 12 07:34:46 CET 2006


Author: qboosh                       Date: Tue Dec 12 06:34:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added ac patch
- compile python modules
- release 2

---- Files affected:
SPECS:
   gdal.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/gdal.spec
diff -u SPECS/gdal.spec:1.32 SPECS/gdal.spec:1.33
--- SPECS/gdal.spec:1.32	Mon Dec 11 22:52:55 2006
+++ SPECS/gdal.spec	Tue Dec 12 07:34:41 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Biblioteka abstrakcji danych dotyczących powierzchni Ziemi
 Name:		gdal
 Version:	1.3.2
-Release:	1
+Release:	2
 License:	BSD-like
 Group:		Libraries
 Source0:	ftp://ftp.gdal.org/gdal/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@
 Patch1:		%{name}-DESTDIR.patch
 Patch2:		%{name}-dods.patch
 Patch3:		%{name}-gcc4.patch
+Patch4:		%{name}-ac.patch
 URL:		http://www.gdal.org/
 BuildRequires:	autoconf
 BuildRequires:	cfitsio-devel
@@ -119,8 +120,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-
-%{__perl} -pi -e "s/PYLIB=lib/PYLIB=%{_lib}/" aclocal.m4
+%patch4 -p1
 
 %build
 # disable grass/libgrass here, it can be built from separate gdal-grass package
@@ -148,6 +148,9 @@
 
 mv -f ogr/html html/org
 
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
 
 %clean
@@ -182,7 +185,7 @@
 %files -n python-gdal
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_gdalmodule.so
-%{py_sitedir}/*.py
+%{py_sitedir}/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -190,6 +193,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2006/12/12 06:34:41  qboosh
+- added ac patch
+- compile python modules
+- release 2
+
 Revision 1.32  2006/12/11 21:52:55  qboosh
 - updated URLs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gdal.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list