rpms/cernlib/devel cernlib.spec,1.57,1.58

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Sun May 27 21:22:29 UTC 2007


Author: pertusus

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

Modified Files:
	cernlib.spec 
Log Message:
* Sun May 27 2007 Patrice Dumas <pertusus at free.fr> 2006-15
- split out static libraries, as per FESCO decision



Index: cernlib.spec
===================================================================
RCS file: /cvs/extras/rpms/cernlib/devel/cernlib.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- cernlib.spec	26 May 2007 19:33:09 -0000	1.57
+++ cernlib.spec	27 May 2007 21:21:54 -0000	1.58
@@ -11,6 +11,7 @@
 # %%define utils_suffix -gfortran
 %else
 %define compiler -g77
+%define utils_suffix -g77
 # no compat prefix, the utilities compiled with gfortran are non functionnal
 # see Bug 241416
 #%%define compat compat-
@@ -22,7 +23,7 @@
 
 Name:          %{?compat}cernlib%{?compiler}
 Version:       2006
-Release:       14%{?dist}
+Release:       15%{?dist}
 Summary:       General purpose CERN library and associated binaries
 Group:         Development/Libraries
 # As explained in the cernlib on debian FAQ, cfortran can be considered LGPL.
@@ -333,7 +334,7 @@
 scripts from the utils subpackage.
 
 %package devel
-Summary:       General purpose CERN library static libraries and headers
+Summary:       General purpose CERN library development package 
 %if "%fedora" <= "3"
 Requires:       lapack blas
 %else
@@ -346,7 +347,6 @@
 Requires:      libXau-devel
 %endif
 Requires:      %{name} = %{version}-%{release}
-Provides:      %{name}-static = %{version}-%{release}
 Group:         Development/Libraries
 
 # for the m4 macro directory ownership
@@ -360,13 +360,31 @@
 detectors simulation, data-handling etc... applicable to a wide range 
 of problems.
 
-The cernlib-devel package contains the header files and libraries needed  
-to develop programs that use the CERN library.  
+The cernlib-devel package contains the header files and symlinks needed  
+to develop programs that use the CERN library using dynamic libraries.
+
+Static libraries are in %{name}-static.
+
+%package static
+Summary:       General purpose CERN library static libraries
+Group:         Development/Libraries
+Requires:  %{name}-devel = %{version}-%{release}
+
+%description static
+CERN program library is a large collection of general purpose libraries
+and modules maintained and offered on the CERN. Most of these programs 
+were developed at CERN and are therefore oriented towards the needs of a 
+physics research laboratory that is general mathematics, data analysis, 
+detectors simulation, data-handling etc... applicable to a wide range 
+of problems.
+
+The %{name}-static package contains the static cernlib libraries.
 
 %package utils
 Summary:   CERN library compilation and environment setting scripts
 Group:     Applications/System
 Requires:  %{name}-devel = %{version}-%{release}
+Requires:  %{name}-static = %{version}-%{release}
 
 %description utils
 CERN library compilation and environment setting scripts.
@@ -391,6 +409,7 @@
 Group:    Applications/Engineering
 Requires: %{name}-devel = %{version}-%{release}
 Requires: %{name}-utils = %{version}-%{release}
+
 %description -n %{?compat}geant321%{?compiler}
 Geant simulates the passage of subatomic particles through matter, for 
 instance, particle detectors. For maximum flexibility, Geant simulations 
@@ -1068,14 +1087,13 @@
 %files devel
 %defattr(-,root,root,-)
 %doc cfortran paw-*/debian/add-ons/misc/comis-64bit-example.F
-# it is not necessary to put the static libs in a subpackage, since the
-# utils package would require it anyway. Moreover cernlib users expect
-# static libs to be present.
-%{_libdir}/cernlib/%{verdir}/lib/*.a
 %{_libdir}/cernlib/%{verdir}/lib/*.so
 %{_includedir}/cernlib/
 %{_datadir}/aclocal/cernlib.m4
 
+%files static
+%{_libdir}/cernlib/%{verdir}/lib/*.a
+
 %files utils
 %defattr(-,root,root,-)
 %{_bindir}/cernlib*%{?compiler}
@@ -1173,6 +1191,9 @@
 
 
 %changelog
+* Sun May 27 2007 Patrice Dumas <pertusus at free.fr> 2006-15
+- split out static libraries, as per FESCO decision
+
 * Sat May 26 2007 Patrice Dumas <pertusus at free.fr> 2006-14
 - add link to $CERN_ROOT/bin/dzeX11
 - use %%{name} in the Requires




More information about the fedora-extras-commits mailing list