Summary: CERNLIB Name: cernlib Version: 2005 Release: 1b Source0: localhost:/%{name}-%{version}-bin.tar.gz Source1: localhost:/%{name}-%{version}-lib.tar.gz Source2: localhost:/%{name}-%{version}-include.tar.gz Source3: localhost:/%{name}-%{version}-share.tar.gz NoSource: 0 NoSource: 1 NoSource: 2 NoSource: 3 URL: http://wwwasd.web.cern.ch/wwwasd/cernlib/ Group: Development/Libraries License: CERN, INFN %define __prefix /cern Prefix: %{__prefix} BuildRoot: %{_tmppath}/%{name}-root %description The CERN Program Library is a large collection of general purpose libraries and modules maintained and offered in both source and object code form on the CERN central computers. The two most popular applications based on CERNLIB are PAW and GEANT 3.21. 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. Some tools like cfortran.h are developed outside CERN. Some commercial softwares (e.g: NAG etc ...) have also been acquired. For any questions about CERNLIB contact Heplib.Support@cern.ch. %prep %setup -c %{name}-%{release} rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{__prefix} %install tar -zpxvf $RPM_SOURCE_DIR/%{name}-%{version}-bin.tar.gz -C $RPM_BUILD_ROOT%{__prefix} tar -zpxvf $RPM_SOURCE_DIR/%{name}-%{version}-lib.tar.gz -C $RPM_BUILD_ROOT%{__prefix} tar -zpxvf $RPM_SOURCE_DIR/%{name}-%{version}-include.tar.gz -C $RPM_BUILD_ROOT%{__prefix} tar -zpxvf $RPM_SOURCE_DIR/%{name}-%{version}-share.tar.gz -C $RPM_BUILD_ROOT%{__prefix} find $RPM_BUILD_ROOT -type d | sed -e "s;$RPM_BUILD_ROOT;%dir ;" \ | grep -ve '^%dir %{__prefix}$' \ | grep -ve '^%dir /$' \ | grep -ve '^%dir $' > list.f find $RPM_BUILD_ROOT -type f | sed -e "s;$RPM_BUILD_ROOT;;" >> list.f find $RPM_BUILD_ROOT -type l | sed -e "s;$RPM_BUILD_ROOT;;" >> list.f %clean rm -rf $RPM_BUILD_ROOT %changelog * Fri Nov 25 2005 Keisuke Fujii 2005-1b - 2nd release on MacOS X 10.4 re-compilied with the latest gcc4.1 and gfortran. - linked against libgfortran.1.dylib instead of libgfortran.0.dylib. * Fri Nov 18 2005 Keisuke Fujii 2005-1a - 1st release on MacOS X 10.4 compilied with gcc4.1 and gfortran. %files -f list.f %defattr(-,root,wheel)