112 lines
3.0 KiB
RPMSpec
112 lines
3.0 KiB
RPMSpec
|
Name: adios2
|
||
|
Version: 2.10.0
|
||
|
Release: 1mamba
|
||
|
Summary: A framework for scientific data I/O to publish and subscribe to data when and where required
|
||
|
Group: Development/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/ornladios/ADIOS2
|
||
|
Source: https://github.com/ornladios/ADIOS2.git/v%{version}/ADIOS2-%{version}.tar.bz2
|
||
|
Patch0: adios2-2.10.0-pugixml-1.14.patch
|
||
|
License: Apache License 2.0
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: gcc-fortran
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libbzip2-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libhdf5-devel
|
||
|
BuildRequires: libmpi-devel
|
||
|
BuildRequires: libpng-devel
|
||
|
BuildRequires: libpython311-devel
|
||
|
BuildRequires: libquadmath-devel
|
||
|
BuildRequires: libsodium-devel
|
||
|
BuildRequires: libsqlite-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libyaml-cpp-devel
|
||
|
BuildRequires: libz-devel
|
||
|
BuildRequires: libzeromq-devel
|
||
|
BuildRequires: pugixml-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
A framework for scientific data I/O to publish and subscribe to data when and where required.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n ADIOS2-%{version}
|
||
|
%patch 0 -p1 -b .pugixml-1.14
|
||
|
|
||
|
%build
|
||
|
%cmake \
|
||
|
-DADIOS2_USE_EXTERNAL_DEPENDENCIES=ON \
|
||
|
-DADIOS2_HAVE_HDF5_VOL=OFF \
|
||
|
-DADIOS2_BUILD_EXAMPLES=OFF
|
||
|
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
export CMAKE_PREFIX_PATH=%{buildroot}%{_libdir}/cmake
|
||
|
%cmake_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/adios2_*
|
||
|
%{_bindir}/bp2h5
|
||
|
%{_bindir}/bp2h5_mpi
|
||
|
%{_bindir}/bp4dbg
|
||
|
%{_bindir}/bp5dbg
|
||
|
%{_bindir}/bpls
|
||
|
%{_bindir}/sst_conn_tool
|
||
|
%dir %{_datadir}/iotest-config
|
||
|
%{_datadir}/iotest-config/*
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libadios2_*.so.*
|
||
|
%dir %{_libdir}/adios2-evpath-modules-*
|
||
|
%{_libdir}/adios2-evpath-modules-*/libadios2_*.so
|
||
|
%dir %{python3_sitearch}/adios2
|
||
|
%{python3_sitearch}/adios2/*
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/adios2.h
|
||
|
%dir %{_includedir}/adios2
|
||
|
%{_includedir}/adios2/*
|
||
|
%{_includedir}/adios2_c.h
|
||
|
%{_libdir}/libEncryptionOperator.so
|
||
|
%{_libdir}/libadios2_*.so
|
||
|
%dir %{_libdir}/cmake/adios2
|
||
|
%{_libdir}/cmake/adios2/*
|
||
|
|
||
|
%changelog
|
||
|
* Mon May 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1mamba
|
||
|
- package created using the webbuild interface
|