diff options
author | Jakub Bogusz | 2024-04-25 18:18:42 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2024-04-25 18:18:42 (GMT) |
commit | 19cc9fb76889354ec85711ad29963cfb99e8b013 (patch) | |
tree | 3ed513dc7f7e104b592c64694dcabad96e5ff74b | |
parent | a226f393caf3c0103e9d2cc67458a41920dd53b9 (diff) | |
download | matio-master.zip matio-master.tar.gz |
- patch to fix .pc file (there is no hdf5.pc so far); release 2HEADauto/th/matio-1.5.27-2master
-rw-r--r-- | matio-hdf5.patch | 11 | ||||
-rw-r--r-- | matio.spec | 8 |
2 files changed, 16 insertions, 3 deletions
diff --git a/matio-hdf5.patch b/matio-hdf5.patch new file mode 100644 index 0000000..d462c6d --- /dev/null +++ b/matio-hdf5.patch @@ -0,0 +1,11 @@ +hdf5.pc is not provided so far (as of hdf 1.10.10) +--- matio-1.5.27/matio.pc.in.orig 2024-04-20 10:09:17.000000000 +0200 ++++ matio-1.5.27/matio.pc.in 2024-04-25 20:08:22.906996972 +0200 +@@ -7,5 +7,6 @@ Name: MATIO + Description: MATIO Library + Version: @VERSION@ + Libs: -L${libdir} -lmatio ++Libs.private: @HDF5_LIBS@ + Cflags: -I${includedir} +-Requires.private: @HDF5_REQUIRES_PRIVATE@ @ZLIB_REQUIRES_PRIVATE@ ++Requires.private: @ZLIB_REQUIRES_PRIVATE@ @@ -8,17 +8,18 @@ Summary: MATIO - Matlab MAT file I/O library Summary(pl.UTF-8): MATIO - biblioteka wejścia/wyjścia do plików MAT (Matlaba) Name: matio Version: 1.5.27 -Release: 1 +Release: 2 License: BSD Group: Libraries Source0: https://downloads.sourceforge.net/matio/%{name}-%{version}.tar.gz # Source0-md5: d9e55f091cbecbe988d4579a51c08776 +Patch0: %{name}-hdf5.patch URL: https://matio.sourceforge.net/ BuildRequires: autoconf >= 2.60 BuildRequires: automake >= 1:1.8 %{?with_apidocs:BuildRequires: doxygen} %{?with_fortran:BuildRequires: gcc-fortran} -%{?with_hdf5:BuildRequires: hdf5-devel} +%{?with_hdf5:BuildRequires: hdf5-devel >= 1.10} BuildRequires: libtool >= 2:2 BuildRequires: sed >= 4.0 BuildRequires: zlib-devel @@ -51,7 +52,7 @@ Summary: Header files for MATIO library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MATIO Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%{?with_hdf5:Requires: hdf5-devel} +%{?with_hdf5:Requires: hdf5-devel >= 1.10} Requires: zlib-devel %description devel @@ -122,6 +123,7 @@ Dokumentacja API biblioteki MATIO. %prep %setup -q +%patch0 -p1 %build %{__libtoolize} |