1 |
Summary: Hierarchical Data Format Library |
Summary: Hierarchical Data Format Library |
2 |
Name: HDF |
Name: HDF |
3 |
Version: 4.2.8 |
Version: 4.2.8 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
License: BSD |
License: BSD |
6 |
Group: Development/C |
Group: Development/C |
7 |
URL: http://www.hdfgroup.org/ |
URL: http://www.hdfgroup.org/ |
8 |
Source0: ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/hdf-%{version}.tar.gz |
Source0: ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/hdf-%{version}.tar.gz |
9 |
Patch7: HDF4.2r4-format_not_a_string_literal_and_no_format_arguments.diff |
Patch0: HDF4.2r4-format_not_a_string_literal_and_no_format_arguments.diff |
10 |
BuildRequires: byacc |
BuildRequires: byacc |
11 |
BuildRequires: flex |
BuildRequires: flex |
12 |
BuildRequires: gcc-gfortran |
BuildRequires: gcc-gfortran |
14 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
15 |
BuildRequires: libjpeg-devel |
BuildRequires: libjpeg-devel |
16 |
BuildRequires: netcdf-devel |
BuildRequires: netcdf-devel |
17 |
Provides: HDF-devel |
Provides: HDF-devel = %{version}-%{release} |
18 |
|
|
19 |
%description |
%description |
20 |
HDF is a multi-object file format that facilitates the transfer of various |
HDF is a multi-object file format that facilitates the transfer of various |
31 |
|
|
32 |
%package util |
%package util |
33 |
Summary: HDF utilities and test data files |
Summary: HDF utilities and test data files |
34 |
Group: Graphics |
Group: Graphics/Utilities |
35 |
Requires: %{name} = %{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
36 |
|
|
37 |
%description util |
%description util |
41 |
%prep |
%prep |
42 |
|
|
43 |
%setup -q -n hdf-%{version} |
%setup -q -n hdf-%{version} |
44 |
%patch7 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
%patch0 -p1 -b .format_not_a_string_literal_and_no_format_arguments |
45 |
|
|
46 |
# Make it lib64 aware |
# Make it lib64 aware |
47 |
find . -name Makefile.in | \ |
find . -name Makefile.in | \ |
85 |
|
|
86 |
|
|
87 |
%install |
%install |
|
rm -rf %{buildroot} |
|
88 |
%makeinstall_std |
%makeinstall_std |
89 |
# remove files already provided by other packages (libjpeg, netcdf, zlib) |
# remove files already provided by other packages (libjpeg, netcdf, zlib) |
90 |
rm -f %{buildroot}%{_includedir}/{jconfig.h,jerror.h,jmorecfg.h,jpeglib.h} \ |
rm -f %{buildroot}%{_includedir}/{jconfig.h,jerror.h,jmorecfg.h,jpeglib.h} \ |
113 |
%dir %{_datadir}/hdf/samples |
%dir %{_datadir}/hdf/samples |
114 |
%{_bindir}/* |
%{_bindir}/* |
115 |
%attr(644,root,root) %{_datadir}/hdf/samples/* |
%attr(644,root,root) %{_datadir}/hdf/samples/* |
|
|
|
|
|
|