SPECS: netcdf.spec - added info patch - package info files and ghost soname...

qboosh qboosh at pld-linux.org
Sat Nov 1 13:26:03 CET 2008


Author: qboosh                       Date: Sat Nov  1 12:26:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added info patch
- package info files and ghost soname symlinks

---- Files affected:
SPECS:
   netcdf.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/netcdf.spec
diff -u SPECS/netcdf.spec:1.28 SPECS/netcdf.spec:1.29
--- SPECS/netcdf.spec:1.28	Wed Oct 29 19:08:06 2008
+++ SPECS/netcdf.spec	Sat Nov  1 13:25:58 2008
@@ -13,6 +13,7 @@
 Group:		Libraries
 Source0:	ftp://ftp.unidata.ucar.edu/pub/netcdf/%{name}-%{version}.tar.gz
 # Source0-md5:	334e9bdc010b6cd03fd6531a45fe50ad
+Patch0:		%{name}-info.patch
 URL:		http://www.unidata.ucar.edu/packages/netcdf/
 BuildRequires:	automake
 %if %{with f90}
@@ -20,7 +21,6 @@
 %else
 BuildRequires:	gcc-g77
 %endif
-BuildRequires:	info
 BuildRequires:	libtool >= 2:1.5
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.5
@@ -156,6 +156,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # too many hacks to rebuild
@@ -191,18 +192,39 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post	devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %post	c++ -p /sbin/ldconfig
 %postun	c++ -p /sbin/ldconfig
 
+%post	c++-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	c++-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %post	fortran -p /sbin/ldconfig
 %postun	fortran -p /sbin/ldconfig
 
+%post	fortran-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	fortran-devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files
 %defattr(644,root,root,755)
 %doc COPYRIGHT README RELEASE_NOTES man/netcdf.html
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/ncdump
+%attr(755,root,root) %{_bindir}/ncgen
 %attr(755,root,root) %{_libdir}/libnetcdf.so.*.*.*
-%{_mandir}/man1/*
+%attr(755,root,root) %ghost %{_libdir}/libnetcdf.so.4
+%{_mandir}/man1/ncdump.1*
+%{_mandir}/man1/ncgen.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -211,6 +233,10 @@
 %{_libdir}/libnetcdf.la
 %{_includedir}/netcdf.h
 %{_mandir}/man3/netcdf.3*
+%{_infodir}/netcdf.info*
+%{_infodir}/netcdf-c.info*
+%{_infodir}/netcdf-install.info*
+%{_infodir}/netcdf-tutorial.info*
 
 %files static
 %defattr(644,root,root,755)
@@ -219,6 +245,7 @@
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnetcdf_c++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnetcdf_c++.so.4
 
 %files c++-devel
 %defattr(644,root,root,755)
@@ -228,6 +255,7 @@
 %{_includedir}/ncvalues.h
 %{_includedir}/netcdf.hh
 %{_includedir}/netcdfcpp.h
+%{_infodir}/netcdf-cxx.info*
 
 %files c++-static
 %defattr(644,root,root,755)
@@ -236,6 +264,7 @@
 %files fortran
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnetcdff.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnetcdff.so.4
 
 %files fortran-devel
 %defattr(644,root,root,755)
@@ -244,10 +273,12 @@
 %{_libdir}/libnetcdff.la
 %{_includedir}/netcdf.inc
 %{_mandir}/man3/netcdf_f77.3*
+%{_infodir}/netcdf-f77.info*
 %if %{with f90}
 %{_includedir}/netcdf.mod
 %{_includedir}/typesizes.mod
 %{_mandir}/man3/netcdf_f90.3*
+%{_infodir}/netcdf-f90.info*
 %endif
 
 %files fortran-static
@@ -260,6 +291,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2008/11/01 12:25:58  qboosh
+- added info patch
+- package info files and ghost soname symlinks
+
 Revision 1.28  2008/10/29 18:08:06  duddits
 - up to 3.6.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/netcdf.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list