Summary: Class Library for High Energy Physics Name: clhep Version: 1.7.0.0 Release: 1b Copyright: GPL Vendor: JLC Group: System Environment/Libraries Source: http://wwwinfo.cern.ch/asd/lhc++/clhep/clhep-%{version}.tar.gz Patch0: localhost:/clhep-%{version}-macosx.patch BuildRoot: %{_tmppath}/%{name}-root Prefix: /usr/local %description Class Library for High Energy Physics. If you are high energy phisicist, you should install this library. %prep %setup -n CLHEP %ifos darwin %patch0 -p1 -b .macosx %endif %build cp /usr/share/libtool/config.* config/ ./configure %ifnos darwin make CXXFLAGS="$RPM_OPT_FLAGS -fno-common" %else make CXXFLAGS='-O0 -fsigned-char -fno-common' %endif %install rm -rf %{_tmppath}/%{name}-root make install install_manpages CXXFLAGS="$RPM_OPT_FLAGS" prefix=$RPM_BUILD_ROOT%{prefix} %ifos darwin ranlib -s $RPM_BUILD_ROOT%{prefix}/lib/libCLHEP-c++.%{version}.a ln -s libCLHEP-c++.%{version}.a $RPM_BUILD_ROOT%{prefix}/lib/libCLHEP.a %else ln -s libCLHEP-g++.%{version}.a $RPM_BUILD_ROOT%{prefix}/lib/libCLHEP.a %endif %clean rm -rf $RPM_BUILD_ROOT %files %doc ChangeLog INSTALL README %{prefix}/include/CLHEP %{prefix}/lib/* %{prefix}/man/man1/* %{prefix}/man/man3/* %changelog * Mon Dec 10 2001 Keisuke Fujii - 2nd clhep rpm of version 1.7.0.0 on MacOS X - Use -O0 for darwin * Fri Nov 9 2001 Keisuke Fujii - 1st clhep rpm of version 1.7.0.0 on MacOS X * Fri Apr 13 2001 Kotoyo Hoshina - 1st clhep rpm of version 1.6.0.0 on MacOS X * Fri Jul 21 2000 Kotoyo Hoshina - 1st clhep rpm of version 1.6.0.0