~ubuntu-branches/ubuntu/hardy/openmpi/hardy-updates

« back to all changes in this revision

Viewing changes to contrib/dist/linux/openmpi.spec

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel, Dirk Eddelbuettel, Manuel Prinz
  • Date: 2008-01-09 16:30:33 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080109163033-036cl7b8lpxrero4
Tags: 1.2.5-1
[ Dirk Eddelbuettel ]

* New upstream version
* debian/patches/00list: Disabled man page patches 20*, 30* and 31* which 
  have been included upstream
* debian/patches/60_fix_manpage_name_section.dpatch: Applied small correction
* Debian build and upload

[ Manuel Prinz ]
* debian/*.lintian-override: Deleted, all issues are fixed
  - debian/libopenmpi{1,-dev}.links, debian/libopenmpi1.install:
    Moved *.so.0 links from /usr/lib/openmpi/lib to /usr/lib. Created
    *.so.0.0.0 symlinks in /usr/lib, pointing to /usr/lib/openmpi/lib.
    This fixes postinst-has-useless-call-to-ldconfig, postrm-has-useless-
    call-to-ldconfig and package-name-doesnt-match-sonames warnings.
  - debian/rules, debian/control: Added chrpath to Build-Depends and
    deleting all rpath info with chrpath in install-arch target. This
    fixes all binary-or-shlib-defines-rpath warnings.
* debian/rules: Adjusted target dependencies to be more sane. Renamed
  "test" target to "check".
* Applied a patch by Adam Powell IV that adds /usr/lib/libmpi++.so via
  update-alternatives for compatibility with LAM/MPI and MPICH. Thanks to
  Adam for the patch! (Closes: #459642)

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
# type: bool (0/1)
133
133
%{!?use_default_rpm_opt_flags: %define use_default_rpm_opt_flags 1}
134
134
 
 
135
# Some compilers can be installed via tarball or RPM (e.g., Intel,
 
136
# PGI).  If they're installed via RPM, then rpmbuild's auto-dependency
 
137
# generation stuff will work fine.  But if they're installed via
 
138
# tarball, then rpmbuild's auto-dependency generation stuff will
 
139
# break; complaining that it can't find a bunch of compiler .so files.
 
140
# So provide an option to turn this stuff off.
 
141
# type: bool (0/1)
 
142
%{!?disable_auto_requires: %define disable_auto_requires 0}
 
143
 
135
144
#############################################################################
136
145
#
137
146
# OSCAR-specific defaults
180
189
%define _includedir /opt/%{name}/%{version}/include
181
190
%define _mandir /opt/%{name}/%{version}/man
182
191
%define _pkgdatadir /opt/%{name}/%{version}/share/%{name}
 
192
# Per advice from Doug Ledford at Red Hat, docdir is supposed to be in
 
193
# a fixed location.  But if you're installing a package in /opt, all
 
194
# bets are off.  So feel free to install it anywhere in your tree.  He
 
195
# suggests $prefix/doc.
 
196
%define _defaultdocdir /opt/%{name}/%{version}/doc
183
197
%endif
184
198
 
185
199
%if !%{build_debuginfo_rpm}
223
237
Prefix: %{_prefix}
224
238
Provides: mpi
225
239
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
 
240
%if %{disable_auto_requires}
 
241
AutoReq: no
 
242
%endif
226
243
%if %{install_modulefile}
227
244
Requires: %{modules_rpm_name}
228
245
%endif
250
267
Summary: Tools and plugin modules for running Open MPI jobs
251
268
Group: Development/Libraries
252
269
Provides: mpi
 
270
%if %{disable_auto_requires}
 
271
AutoReq: no
 
272
%endif
253
273
%if %{install_modulefile}
254
274
Requires: %{modules_rpm_name}
255
275
%endif
274
294
%package devel
275
295
Summary: Development tools and header files for Open MPI
276
296
Group: Development/Libraries
 
297
%if %{disable_auto_requires}
 
298
AutoReq: no
 
299
%endif
277
300
Requires: openmpi-runtime
278
301
 
279
302
%description devel
293
316
%package docs
294
317
Summary: Documentation for Open MPI
295
318
Group: Development/Documentation
 
319
%if %{disable_auto_requires}
 
320
AutoReq: no
 
321
%endif
296
322
Requires: openmpi-runtime
297
323
 
298
324
%description docs
682
708
#
683
709
#############################################################################
684
710
%changelog
 
711
* Tue Dec  4 2008 Jeff Squyres <jsquyres@cisco.com>
 
712
- Added define option for disabling the use of rpmbuild's
 
713
  auto-dependency generation stuff.  This is necessary for some
 
714
  compilers that allow themselves to be installed via tarball (not
 
715
  RPM), such as the Portland Group compiler.
 
716
 
 
717
* Thu Jul 12 2007 Jeff Squyres <jsquyres@cisco.com>
 
718
- Change default doc location when using install_in_opt.  Thanks to
 
719
  Alex Tumanov for pointing this out and to Doug Ledford for
 
720
  suggestions where to put docdir in this case.
 
721
 
685
722
* Thu May  3 2007 Jeff Squyres <jsquyres@cisco.com>
686
723
- Ensure to move out of $RPM_BUILD_ROOT before deleting it in % clean.
687
724
- Remove a debugging "echo" that somehow got left in there