Projects
home:Eustace:branches:Eulaceura:Factory
tng
_service:obs_scm:tng.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:tng.spec of Package tng
%global compression_tests 0 %global desc \ TRAJNG (Trajectory next generation) is a program library for handling\ molecular dynamics (MD) trajectories. It can store coordinates, and\ optionally velocities and the H-matrix. Coordinates and velocities are\ stored with user-specified precision. In addition, program specific\ information (text strings) can optionally be stored in the beginning\ of each file. Atomic labels can also optionally be stored once in the\ beginning of the file. Name: tng Version: 1.8.2 Release: 3 Summary: Trajectory Next Generation binary format manipulation library License: BSD and zlib URL: https://github.com/gromacs/tng Source0: https://github.com/gromacs/tng/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: tng-gcc12.patch BuildRequires: cmake >= 3.1 BuildRequires: doxygen gcc gcc-gfortran zlib-devel Provides: bundled(md5-deutsch) %description %{desc} %package devel Summary: Trajectory Next Generation binary format manipulation library development files Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{desc} This package contains the development files. %package doc Summary: Trajectory Next Generation binary format manipulation library documentation BuildArch: noarch %description doc %{desc} This package contains the documentation. %prep %autosetup -n %{name}-%{version} -p1 %build %{cmake} \ -DTNG_BUILD_DOCUMENTATION=ON \ -DTNG_BUILD_FORTRAN=ON \ %if 0%{?compression_tests} > 0 -DTNG_BUILD_COMPRESSION_TESTS=ON \ %endif -DTNG_BUILD_WITH_ZLIB=ON \ %cmake_build %install %cmake_install rm -r %{buildroot}%{_datadir}/tng/doc/latex mkdir -p %{buildroot}%{_defaultdocdir} mv %{buildroot}{%{_datadir}/tng/doc/html,%{_defaultdocdir}/tng} %check pushd %{__cmake_builddir}/bin/tests ./tng_testing popd %if 0%{?compression_tests} pushd %{__cmake_builddir}/bin/compression_tests ./test_tng_compress_write.sh ./test_tng_compress_read.sh popd %endif %files %license COPYING %doc AUTHORS Trajectoryformatspecification.mk %{_libdir}/libtng_io.so.* %files devel %{_includedir}/tng %{_libdir}/cmake/tng_io %{_libdir}/libtng_io.so %files doc %{_docdir}/%{name} %changelog * Fri Nov 08 2024 Funda Wang <fundawang@yeah.net> - 1.8.2-3 - adopt to new cmake macro * Sun Jul 23 2023 wulei <wu_lei@hoperun.com> - 1.8.2-2 - Fix build error * Mon Jul 27 2020 maminjie <maminjie1@huawei.com> - 1.8.2-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2