Author: glen Date: Tue Jan 8 23:23:34 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, based on mandriva contrib
---- Files affected: SPECS: openmpi.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/openmpi.spec diff -u /dev/null SPECS/openmpi.spec:1.1 --- /dev/null Wed Jan 9 00:23:34 2008 +++ SPECS/openmpi.spec Wed Jan 9 00:23:29 2008 @@ -0,0 +1,108 @@ +# $Revision$, $Date$ +Summary: A powerful implementation of MPI +Name: openmpi +Version: 1.2.5 +Release: 0.1 +License: BSD +Group: Development +Source0: http://www.open-mpi.org/software/ompi/v1.2/downloads/openmpi-1.2.5.tar.bz2 +# Source0-md5: c6e82aab6cdcd425bf29217e8317d7dc +URL: http://www.open-mpi.org +BuildRequires: gcc-gfortran +Requires: %{name}-libs = %{version}-%{release} +Conflicts: lam +Conflicts: mpich +Conflicts: mpich2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +OpenMPI is a project combining technologies and resources from several +other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to +build the best MPI library available. + +This package contains all of the tools necessary to compile, link, and +run OpenMPI jobs. + +%package libs +Summary: Shared libraries for OpenMPI +Group: Development + +%description libs +OpenMPI is a project combining technologies and resources from several +other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to +build the best MPI library available. + +This package contains the shared libraries needed by programs linked +against OpenMPI. + +%package devel +Summary: Development files for OpenMPI +Group: Development +Requires: %{name}-libs = %{version}-%{release} +Conflicts: lam-devel +Conflicts: libopenmpi-devel < 1.2 +Conflicts: mpich1-devel +Conflicts: mpich2-devel + +%description devel +OpenMPI is a project combining technologies and resources from several +other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to +build the best MPI library available. + +This package contains the libraries and header files needed to compile +applications against OpenMPI. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT +mv $RPM_BUILD_ROOT%{_sysconfdir}/openmpi-totalview.tcl $RPM_BUILD_ROOT%{_datadir}/openmpi/doc + +%clean +rm -rf $RPM_BUILD_ROOT + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%post devel -p /sbin/ldconfig +%postun devel -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc README INSTALL LICENSE NEWS LICENSE AUTHORS examples/ +%{_sysconfdir}/* +%{_datadir}/openmpi +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* + +%files libs +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/*.so.* +%{_libdir}/%{name}/*.so + +%files devel +%defattr(644,root,root,755) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/*.la +%{_libdir}/*.mod +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*.la +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-01-08 23:23:29 glen +- initial, based on mandriva contrib + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
