packages: hdf5/hdf5.spec - -static subpackages for c++ and fortran - proper...

qboosh qboosh at pld-linux.org
Fri Jun 10 14:22:39 CEST 2011


Author: qboosh                       Date: Fri Jun 10 12:22:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- -static subpackages for c++ and fortran
- proper R: for libgfortran in -fortran-devel
- release 2

---- Files affected:
packages/hdf5:
   hdf5.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: packages/hdf5/hdf5.spec
diff -u packages/hdf5/hdf5.spec:1.44 packages/hdf5/hdf5.spec:1.45
--- packages/hdf5/hdf5.spec:1.44	Wed Jun  8 00:48:40 2011
+++ packages/hdf5/hdf5.spec	Fri Jun 10 14:22:34 2011
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):	Biblioteka HDF5 (Hierarchical Data Format 5)
 Name:		hdf5
 Version:	1.8.7
-Release:	1
+Release:	2
 License:	Nearly BSD, but changed sources must be marked
 Group:		Libraries
 Source0:	ftp://ftp.hdfgroup.org/HDF5/current/src/%{name}-%{version}.tar.gz
@@ -21,7 +21,7 @@
 URL:		http://www.hdfgroup.org/HDF5/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1:1.11
-BuildRequires:	gcc-fortran
+BuildRequires:	gcc-fortran >= 5:4.0
 BuildRequires:	libjpeg-devel >= 6b
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:2.2
@@ -132,7 +132,7 @@
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	%{name}-fortran = %{version}-%{release}
-Requires:	libstdfortran-devel
+Requires:	gcc-fortran >= 5:4.0
 
 %description fortran-devel
 Module and header files for HDF5 Fortran APIs (both base hdf5 and
@@ -142,7 +142,6 @@
 Moduły i pliki nagłówkowe API C++ bibliotek HDF5 (zarówno podstawowej
 hdf5, jak i hdf5_hl).
 
-
 %package fortran-static
 Summary:	Fortran APIs for HDF5 - static libraries
 Summary(pl.UTF-8):	API Fortran bibliotek HDF5 - biblioteki statyczne
@@ -191,7 +190,6 @@
 	%{?with_szip:--with-szlib}
 
 #	--enable-threadsafe is incompatible with cxx/fortran
-#	--enable-fortran  - requires Fortran90 compiler
 
 %{__make}
 
@@ -223,6 +221,9 @@
 %post	c++ -p /sbin/ldconfig
 %postun	c++ -p /sbin/ldconfig
 
+%post	fortran -p /sbin/ldconfig
+%postun	fortran -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING README.txt release_docs/{HISTORY*.txt,RELEASE.txt}
@@ -291,11 +292,7 @@
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libhdf5.a
-%{_libdir}/libhdf5_cpp.a
-%{_libdir}/libhdf5_fortran.a
 %{_libdir}/libhdf5_hl.a
-%{_libdir}/libhdf5_hl_cpp.a
-%{_libdir}/libhdf5hl_fortran.a
 
 %files c++
 %defattr(644,root,root,755)
@@ -344,6 +341,11 @@
 %{_examplesdir}/%{name}-%{version}/c++
 %{_examplesdir}/%{name}-%{version}/hl/c++
 
+%files c++-static
+%defattr(644,root,root,755)
+%{_libdir}/libhdf5_cpp.a
+%{_libdir}/libhdf5_hl_cpp.a
+
 %files fortran
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libhdf5_fortran.so.*.*.*
@@ -354,8 +356,8 @@
 %files fortran-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/h5fc
-%{_libdir}/libhdf5_fortran.so
-%{_libdir}/libhdf5hl_fortran.so
+%attr(755,root,root) %{_libdir}/libhdf5_fortran.so
+%attr(755,root,root) %{_libdir}/libhdf5hl_fortran.so
 %{_libdir}/libhdf5_fortran.la
 %{_libdir}/libhdf5hl_fortran.la
 %{_includedir}/H5f90i.h
@@ -382,6 +384,10 @@
 %{_includedir}/h5z.mod
 %{_includedir}/hdf5.mod
 
+%files fortran-static
+%defattr(644,root,root,755)
+%{_libdir}/libhdf5_fortran.a
+%{_libdir}/libhdf5hl_fortran.a
 
 %files progs
 %defattr(644,root,root,755)
@@ -408,6 +414,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2011/06/10 12:22:34  qboosh
+- -static subpackages for c++ and fortran
+- proper R: for libgfortran in -fortran-devel
+- release 2
+
 Revision 1.44  2011/06/07 22:48:40  draenog
 - build fortran subpackages
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/hdf5/hdf5.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list