[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpms/lam/FC-4 lam.spec,1.25,1.26
- From: fedora-cvs-commits redhat com
- To: fedora-cvs-commits redhat com
- Subject: rpms/lam/FC-4 lam.spec,1.25,1.26
- Date: Fri, 8 Jul 2005 15:14:04 -0400
Author: jvdias
Update of /cvs/dist/rpms/lam/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv4635
Modified Files:
lam.spec
Log Message:
fix bug 161028; build for FC4 update
Index: lam.spec
===================================================================
RCS file: /cvs/dist/rpms/lam/FC-4/lam.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- lam.spec 23 May 2005 02:45:54 -0000 1.25
+++ lam.spec 8 Jul 2005 19:14:01 -0000 1.26
@@ -3,7 +3,7 @@
Summary: The LAM (Local Area Multicomputer) programming environment.
Name: lam
Version: 7.1.1
-Release: 4
+Release: 6.FC4
License: BSD
Epoch: 2
Group: Development/Libraries
@@ -44,23 +44,20 @@
%setup -q
%patch0 -p1 -b .f77-f95
-
%build
%ifarch x86_64
CFLAGS="$RPM_OPT_FLAGS -fPIC"
CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
FFLAGS="$RPM_OPT_FLAGS -fPIC"
%endif
-
-%ifarch i386 s390 ppc
autoconf
-%configure --with-rsh="/usr/bin/ssh -x -a" --libdir=%{_libdir} --enable-trillium
+%ifarch i386 s390 ppc
+%configure --with-rsh="/usr/bin/ssh -x -a" --libdir=%{_libdir} --enable-trillium --enable-shared
%else
#
# Disable TotalView on non-32 bit architectures.
#
-autoconf
-%configure --with-rsh="/usr/bin/ssh -x -a" --libdir=%{_libdir} --disable-tv --disable-tv-dll --enable-trillium
+%configure --with-rsh="/usr/bin/ssh -x -a" --libdir=%{_libdir} --disable-tv --disable-tv-dll --enable-trillium --enable-shared
%endif
make %{?_smp_mflags} all
@@ -69,26 +66,24 @@
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-pushd $RPM_BUILD_ROOT
+# ? commented this out (JVD, 2005-07-08):
+# Can't open usr/bin/balky: No such file or directory.
+#pushd $RPM_BUILD_ROOT
# balky has buildroot paths in the binary
-perl -pi -e "s|(.*=).*hcp|\1/usr/bin/hcp|g" usr/bin/balky
-popd
+#perl -pi -e "s|(.*=).*hcp|\1/usr/bin/hcp|g" usr/bin/balky
+#popd
-# This page is malformatted, and mans isn't a standard mandir (#67595)
+# mans isn't a standard mandir (#67595) and contains a copy of man7/mpi.7
rm -fr $RPM_BUILD_ROOT/%{_mandir}/mans
ln -f romio/COPYRIGHT romio/ROMIO-COPYRIGHT
ln -f romio/doc/README romio/ROMIO-README
+ln -f romio/doc/users-guide.ps.gz romio/doc/romio-users-guide.ps.gz
ln -f romio/README_LAM romio/ROMIO-README_LAM
-rm -rf $RPM_BUILD_ROOT/usr/share/lam/doc
-
-# just includes a non-manpage
-rm -f $RPM_BUILD_ROOT/%{mandir}/man3/libmpi.3
-
# FIXME: sanitize /usr/include/lam_config.h for bi-arch
-# remove unpackaged files from the buildroot
+# Remove wrong doc directory location (files shipped in %doc):
rm -rf $RPM_BUILD_ROOT%{_datadir}/lam
%clean
@@ -96,15 +91,17 @@
%files
%defattr(-,root,root)
-%doc LICENSE HISTORY INSTALL README AUTHORS romio/doc/users-guide.ps.gz
-%doc romio/ROMIO-COPYRIGHT romio/ROMIO-README romio/ROMIO-README_LAM
+%doc LICENSE HISTORY INSTALL README AUTHORS
+%doc romio/ROMIO-COPYRIGHT romio/ROMIO-README romio/ROMIO-README_LAM romio/doc/romio-users-guide.ps.gz
+%doc doc/user.pdf doc/install.pdf
+%doc share/memory/darwin7/APPLE_LICENSE share/memory/ptmalloc/ptmalloc-COPYRIGHT share/memory/ptmalloc2/ptmalloc2-COPYRIGHT
%config(noreplace) /etc/lam
%{_bindir}/*
+%{_libdir}/*.so*
%{_mandir}/*/*
%{_includedir}/*
%{_libdir}/*a
-%{_datadir}/*
#
# TotalView libs on 32-bit arches
@@ -115,6 +112,10 @@
%changelog
+* Mon Jun 27 2005 Tom "spot" Callaway <tcallawa redhat com> - 2:7.1.1-5
+- enable shared libraries
+- don't list %{_datadir}/* in files
+
* Sun May 22 2005 Jeremy Katz <katzj redhat com> - 2:7.1.1-4
- use -fPIC on x86_64 (reported by spot to get things building for Extras)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]