mmtf-cpp/mmtf-cpp.spec

58 lines
1.6 KiB
RPMSpec

Name: mmtf-cpp
Version: 1.1.0
Release: 2mamba
Summary: The pure C++ implementation of the MMTF API, decoder and encoder
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rcsb/mmtf-cpp
Source: https://github.com/rcsb/mmtf-cpp.git/v%{version}/mmtf-cpp-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The pure C++ implementation of the MMTF API, decoder and encoder.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: The pure C++ implementation of the MMTF API, decoder and encoder
Requires: libmsgpack-cxx-devel
%description -n lib%{name}-devel
The pure C++ implementation of the MMTF API, decoder and encoder.
This package contains libraries and header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/mmtf.hpp
%dir %{_includedir}/mmtf
%{_includedir}/mmtf/*.hpp
%doc LICENSE README.md
%changelog
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
- libmmtf-cpp-devel: require libmsgpack-cxx-devel
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- package created using the webbuild interface