Accepting request 108884 from devel:libraries:c_c++
fix to fix, add missing executable h5fc for suse > 11.4 This got broken in sr108856. Please also supersede sr108860 against Factory. (forwarded request 108882 from rudi_m) OBS-URL: https://build.opensuse.org/request/show/108884 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hdf5?expand=0&rev=2
This commit is contained in:
parent
70208ce99f
commit
7a80b12570
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 12 11:57:39 UTC 2012 - sweet_f_a@gmx.de
|
||||||
|
|
||||||
|
- install libhdf5.settings (bnc#751747)
|
||||||
|
- move executables h5cc and h5c++ to the devel package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 19 04:46:42 UTC 2012 - ocefpaf@gmail.com
|
Sun Feb 19 04:46:42 UTC 2012 - ocefpaf@gmail.com
|
||||||
|
|
||||||
|
41
hdf5.spec
41
hdf5.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package hdf5 (Version 1.8.8)
|
# spec file for package hdf5
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009-2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define hdf5_libver 0
|
%define hdf5_libver 0
|
||||||
%define libname libhdf5
|
%define libname libhdf5
|
||||||
|
|
||||||
@ -24,13 +25,13 @@ Release: 0
|
|||||||
Summary: A general purpose library and file format for storing scientific data
|
Summary: A general purpose library and file format for storing scientific data
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
URL: http://www.hdfgroup.org/HDF5/
|
Url: http://www.hdfgroup.org/HDF5/
|
||||||
Source0: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-%{version}%{?snaprel}.tar.bz2
|
Source0: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-%{version}%{?snaprel}.tar.bz2
|
||||||
Source1: h5comp
|
Source1: h5comp
|
||||||
Patch0: hdf5-LD_LIBRARY_PATH.patch
|
Patch0: hdf5-LD_LIBRARY_PATH.patch
|
||||||
Patch1: hdf5-non_void_return.patch
|
Patch1: hdf5-non_void_return.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: krb5-devel, openssl-devel, zlib-devel, gcc-fortran, gcc-c++
|
BuildRequires: gcc-c++ gcc-fortran krb5-devel openssl-devel zlib-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -136,19 +137,13 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall docdir=%{buildroot}%{_docdir}
|
%makeinstall docdir=%{buildroot}%{_docdir}
|
||||||
rm -rf %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/*.settings
|
rm -rf %{buildroot}/%{_libdir}/*.la
|
||||||
|
|
||||||
find %{buildroot}%{_datadir}/hdf5_examples -type f \
|
find %{buildroot}%{_datadir}/hdf5_examples -type f \
|
||||||
| grep -v ".sh$" | xargs chmod 644
|
| grep -v ".sh$" | xargs chmod 644
|
||||||
|
|
||||||
%fdupes -s %{buildroot}/%{_datadir}
|
%fdupes -s %{buildroot}/%{_datadir}
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1140
|
|
||||||
binaries="h5c++ h5cc h5fc"
|
|
||||||
%else
|
|
||||||
binaries="h5c++ h5cc"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# rpm macro for version checking
|
# rpm macro for version checking
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||||
cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
|
cat > %{buildroot}%{_sysconfdir}/rpm/macros.hdf5 <<EOF
|
||||||
@ -178,7 +173,22 @@ make check
|
|||||||
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
|
%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt
|
||||||
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
|
%doc release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
|
||||||
%doc release_docs/RELEASE.txt
|
%doc release_docs/RELEASE.txt
|
||||||
%{_bindir}/*
|
%{_bindir}/gif2h5
|
||||||
|
%{_bindir}/h52gif
|
||||||
|
%{_bindir}/h5copy
|
||||||
|
%{_bindir}/h5debug
|
||||||
|
%{_bindir}/h5diff
|
||||||
|
%{_bindir}/h5dump
|
||||||
|
%{_bindir}/h5import
|
||||||
|
%{_bindir}/h5jam
|
||||||
|
%{_bindir}/h5ls
|
||||||
|
%{_bindir}/h5mkgrp
|
||||||
|
%{_bindir}/h5perf_serial
|
||||||
|
%{_bindir}/h5redeploy
|
||||||
|
%{_bindir}/h5repack
|
||||||
|
%{_bindir}/h5repart
|
||||||
|
%{_bindir}/h5stat
|
||||||
|
%{_bindir}/h5unjam
|
||||||
|
|
||||||
%files -n %{libname}-%{hdf5_libver}
|
%files -n %{libname}-%{hdf5_libver}
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
@ -188,7 +198,6 @@ make check
|
|||||||
%{_libdir}/libhdf5_fortran.so.*
|
%{_libdir}/libhdf5_fortran.so.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n libhdf5_hl%{hdf5_libver}
|
%files -n libhdf5_hl%{hdf5_libver}
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
%{_libdir}/libhdf5_hl.so.*
|
%{_libdir}/libhdf5_hl.so.*
|
||||||
@ -200,8 +209,14 @@ make check
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/rpm/macros.hdf5
|
%config(noreplace) %{_sysconfdir}/rpm/macros.hdf5
|
||||||
|
%{_bindir}/h5c++
|
||||||
|
%{_bindir}/h5cc
|
||||||
|
%if 0%{?suse_version} > 1140
|
||||||
|
%{_bindir}/h5fc
|
||||||
|
%endif
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/*.settings
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
%{_includedir}/*.mod
|
%{_includedir}/*.mod
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user