rpms/mpich2/F-11 .cvsignore, 1.3, 1.4 mpich2.spec, 1.4, 1.5 sources, 1.3, 1.4
Deji Akingunola
deji at fedoraproject.org
Wed Jun 3 18:52:15 UTC 2009
- Previous message (by thread): rpms/perl/devel perl-perlio-incorrect-errno.patch,NONE,1.1
- Next message (by thread): rpms/htop/EL-4 .cvsignore, 1.11, 1.12 htop.spec, 1.18, 1.19 import.log, 1.1, 1.2 sources, 1.12, 1.13 htop-0.8.1-nonprint.patch, 1.1, NONE htop-0.8.1-processlist.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: deji
Update of /cvs/pkgs/rpms/mpich2/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17426
Modified Files:
.cvsignore mpich2.spec sources
Log Message:
* Wed May 20 2009 Deji Akingunola <dakingun at gmail.com> - 1.1-1
- Update to 1.1
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mpich2/F-11/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 19 Mar 2009 01:42:35 -0000 1.3
+++ .cvsignore 3 Jun 2009 18:51:44 -0000 1.4
@@ -1 +1 @@
-mpich2-1.1b1.tar.gz
+mpich2-1.1.tar.gz
Index: mpich2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mpich2/F-11/mpich2.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- mpich2.spec 30 Mar 2009 03:22:14 -0000 1.4
+++ mpich2.spec 3 Jun 2009 18:51:45 -0000 1.5
@@ -1,11 +1,11 @@
Summary: A high-performance implementation of MPI
Name: mpich2
Version: 1.1
-Release: 0.2.b1%{?dist}
+Release: 1%{?dist}
License: MIT
Group: Development/Libraries
URL: http://www.mcs.anl.gov/research/projects/mpich2
-Source: http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/%{version}b1/src/%{name}-%{version}b1.tar.gz
+Source: http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/%{version}/src/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libXt-devel, e2fsprogs-devel
BuildRequires: java-devel-openjdk, gcc-gfortran
@@ -53,36 +53,38 @@ Contains the arch dependent libraries an
# We only compile with gcc, but other people may want other compilers.
# Set the compiler here.
-%{!?opt_cc: %define opt_cc gcc}
-%{!?opt_fc: %define opt_fc gfortran}
+%{!?opt_cc: %global opt_cc gcc}
+%{!?opt_fc: %global opt_fc gfortran}
# Optional CFLAGS to use with the specific compiler...gcc doesn't need any,
# so uncomment and undefine to NOT use
-%{!?opt_cc_cflags: %define opt_cc_cflags %{optflags}}
-%{!?opt_fc_fflags: %define opt_fc_fflags %{optflags}}
+%{!?opt_cc_cflags: %global opt_cc_cflags %{optflags}}
+%{!?opt_fc_fflags: %global opt_fc_fflags %{optflags}}
%ifarch %{ix86} x86_64
-%define selected_channels ch3:nemesis
+%global selected_channels ch3:nemesis
%else
-%define selected_channels ch3:sock
+%global selected_channels ch3:sock
%endif
%ifarch x86_64 ia64 ppc64 s390x sparc64
-%define mode 64
-%define priority 41
+%global mode 64
+%global priority 41
%else
-%define mode 32
-%define priority 40
+%global mode 32
+%global priority 40
%endif
%ifarch x86_64
-%define XFLAGS -fPIC
+%global XFLAGS -fPIC
%endif
%prep
-%setup -q -n %{name}-%{version}b1
+%setup -q
+sed -i 's#LDFLAGS -static#LDFLAGS#' src/pm/hydra/configure
%configure \
--enable-sharedlibs=gcc \
+ --enable-threads \
--with-device=%{selected_channels} \
--sysconfdir=%{_sysconfdir}/%{name}-%{mode} \
--includedir=%{_includedir}/%{name} \
@@ -91,7 +93,7 @@ Contains the arch dependent libraries an
--docdir=%{_docdir}/%{name}-%{version} \
--htmldir=%{_docdir}/%{name}-%{version}/www \
--with-java=%{_sysconfdir}/alternatives/java_sdk \
- F90=%{opt_fc} \
+ F90=%{opt_fc} \
F77=%{opt_fc} \
CFLAGS="%{?opt_cc_cflags} %{?XFLAGS}" \
CXXFLAGS="%{optflags} %{?XFLAGS}" \
@@ -112,10 +114,14 @@ rm -f %{buildroot}%{_bindir}/{mpiexec,mp
mv %{buildroot}%{_mandir}/man1/{,mp-}mpiexec.1
pushd %{buildroot}%{_bindir}/
ln -s mpiexec.py mpdrun
+touch mpiexec
+touch mpirun
popd
for b in mpicxx mpicc mpif77 mpif90; do
mv %{buildroot}%{_bindir}/$b %{buildroot}%{_bindir}/mp%{mode}-$b;
+ touch %{buildroot}%{_bindir}/$b;
mv %{buildroot}%{_mandir}/man1/$b.1 %{buildroot}%{_mandir}/man1/mp-$b.1;
+ touch %{buildroot}%{_mandir}/man1/$b.1;
done
## Setup the executables for 'environment module'
@@ -130,6 +136,11 @@ done
mv %{buildroot}%{_libdir}/%{name}/pkgconfig %{buildroot}%{_libdir}/
chmod -x %{buildroot}%{_libdir}/pkgconfig/*.pc
+#Install the libdir under /etc/ld.so.conf.d
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
+echo "%{_libdir}/%{name}" \
+ > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
+
# Adjust the default 'environment module' PATH for our changes
sed -i 's#bin#bin'%{mode}'#' %{buildroot}%{_datadir}/%{name}/%{name}.module
@@ -220,6 +231,10 @@ if [ $1 -eq 0 ] ; then
/usr/sbin/alternatives --remove mpicc %{_bindir}/mp%{mode}-mpicc
fi
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(-,root,root,-)
%{_bindir}/*
@@ -227,16 +242,22 @@ fi
%dir %{_datadir}/%{name}/bin%{mode}
%{_datadir}/%{name}/bin%{mode}/mpiexec
%{_datadir}/%{name}/bin%{mode}/mpirun
-%exclude %{_bindir}/mp%{mode}-mpicc
-%exclude %{_bindir}/mp%{mode}-mpicxx
-%exclude %{_bindir}/mp%{mode}-mpif90
-%exclude %{_bindir}/mp%{mode}-mpif77
+%exclude %{_bindir}/mpiexec
+%exclude %{_bindir}/mpirun
+%exclude %{_bindir}/*mpicc
+%exclude %{_bindir}/*mpicxx
+%exclude %{_bindir}/*mpif90
+%exclude %{_bindir}/*mpif77
%doc %{_docdir}/%{name}-%{version}/
-%{_mandir}/man1/*
+%{_mandir}/man1/mp-*.1.gz
%if 0%{?fedora} < 11
%exclude %{_bindir}/mp*.pyc
%exclude %{_bindir}/mp*.pyo
%endif
+%ghost %{_bindir}/mpiexec
+%ghost %{_bindir}/mpirun
+%ghost %{_mandir}/man1/mpi*.1.gz
+%ghost %{_mandir}/man1/MPI.1.gz
%files libs
%defattr(-,root,root,-)
@@ -244,14 +265,16 @@ fi
%{_libdir}/%{name}/*.jar
%{_libdir}/%{name}/mpe*.o
%{_libdir}/%{name}/*.so.*
+%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%config %{_sysconfdir}/%{name}-%{mode}/
%files devel
%defattr(-,root,root,-)
-%{_bindir}/mp%{mode}-mpicc
-%{_bindir}/mp%{mode}-mpicxx
-%{_bindir}/mp%{mode}-mpif90
-%{_bindir}/mp%{mode}-mpif77
+%{_bindir}/mp%{mode}*
+%ghost %{_bindir}/mpicc
+%ghost %{_bindir}/mpicxx
+%ghost %{_bindir}/mpif90
+%ghost %{_bindir}/mpif77
%{_includedir}/*
%{_libdir}/%{name}/*.a
%{_libdir}/%{name}/*.so
@@ -268,6 +291,17 @@ fi
%doc README.testing README.romio README.developer
%changelog
+* Wed May 20 2009 Deji Akingunola <dakingun at gmail.com> - 1.1-1
+- Update to 1.1
+
+* Wed May 20 2009 Deji Akingunola <dakingun at gmail.com> - 1.1-0.4.rc1
+- Install the libdir under /etc/ld.so.conf.d
+
+* Mon May 18 2009 Deji Akingunola <dakingun at gmail.com> - 1.1-0.3.rc1
+- Update to 1.1rc1
+- Update spec to follow the proposed packaging guildelines wrt using alternatives
+- Also change to use the global macro instead of define.
+
* Sun Mar 29 2009 Deji Akingunola <dakingun at gmail.com> - 1.1-0.2.b1
- Specifically build with openjdk Java, so Jumpshot works (Anthony Chan)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mpich2/F-11/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources 19 Mar 2009 01:42:35 -0000 1.3
+++ sources 3 Jun 2009 18:51:45 -0000 1.4
@@ -1 +1 @@
-09661f584a89ec3aa5ea6ee8cc0feb0b mpich2-1.1b1.tar.gz
+aad757e1c1502429170403bb3c1a1ace mpich2-1.1.tar.gz
- Previous message (by thread): rpms/perl/devel perl-perlio-incorrect-errno.patch,NONE,1.1
- Next message (by thread): rpms/htop/EL-4 .cvsignore, 1.11, 1.12 htop.spec, 1.18, 1.19 import.log, 1.1, 1.2 sources, 1.12, 1.13 htop-0.8.1-nonprint.patch, 1.1, NONE htop-0.8.1-processlist.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list