Group :: System/Libraries
RPM: libmed
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: libmed
Version: 4.1.0
Release: alt2.1
Summary: Library to store and exchange meshed data or computation result in MED format
License: GPLv3 and LGPLv3
Group: System/Libraries
Url: https://www.salome-platform.org/downloads/current-version
Packager: Andrey Cherepanov <cas at altlinux.org>
Source: med-%version.tar
Patch1: med-4.1.0-fedora-cmake.patch
BuildRequires: cmake
BuildRequires: ctest
BuildRequires: gcc-c++
BuildRequires: libhdf5-devel
BuildRequires: hdf5-tools
BuildRequires: gcc-fortran
%description
Library to store and exchange meshed data or computation result in MED format.
%package devel
Group: Development/C
Summary: Development files for libmed
%description devel
Development files for libmed.
%package tools
Group: Development/C
Summary: Utilities for work with MED format
%description tools
Utilities for work with MED format.
%prep
%setup -n med-%{version}_SRC
%patch1 -p1
%build
%cmake \
-DMEDFILE_BUILD_PYTHON:BOOL=OFF \
%nil
%cmake_build
%install
%cmake_install
# Remove test-suite files
rm -rf %buildroot%_bindir/testc
rm -rf %buildroot%_bindir/testf
rm -rf %buildroot%_bindir/testpy
%check
export LD_LIBRARY_PATH=%buildroot%_libdir
pushd %_cmake__builddir
ctest
popd
%files
%doc AUTHORS README
%doc %_defaultdocdir/med
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_libdir/cmake/*
%_includedir/*
%files tools
%_bindir/*
%changelog
…
Full changelog you can see here
Version: 4.1.0
Release: alt2.1
Summary: Library to store and exchange meshed data or computation result in MED format
License: GPLv3 and LGPLv3
Group: System/Libraries
Url: https://www.salome-platform.org/downloads/current-version
Packager: Andrey Cherepanov <cas at altlinux.org>
Source: med-%version.tar
Patch1: med-4.1.0-fedora-cmake.patch
BuildRequires: cmake
BuildRequires: ctest
BuildRequires: gcc-c++
BuildRequires: libhdf5-devel
BuildRequires: hdf5-tools
BuildRequires: gcc-fortran
%description
Library to store and exchange meshed data or computation result in MED format.
%package devel
Group: Development/C
Summary: Development files for libmed
%description devel
Development files for libmed.
%package tools
Group: Development/C
Summary: Utilities for work with MED format
%description tools
Utilities for work with MED format.
%prep
%setup -n med-%{version}_SRC
%patch1 -p1
%build
%cmake \
-DMEDFILE_BUILD_PYTHON:BOOL=OFF \
%nil
%cmake_build
%install
%cmake_install
# Remove test-suite files
rm -rf %buildroot%_bindir/testc
rm -rf %buildroot%_bindir/testf
rm -rf %buildroot%_bindir/testpy
%check
export LD_LIBRARY_PATH=%buildroot%_libdir
pushd %_cmake__builddir
ctest
popd
%files
%doc AUTHORS README
%doc %_defaultdocdir/med
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_libdir/cmake/*
%_includedir/*
%files tools
%_bindir/*
%changelog
…
Full changelog you can see here