mmtf-cpp/mmtf-cpp.spec

54 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: mmtf-cpp
Version: 1.1.0
Release: 1mamba
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: Development files for %{name}
%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
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- package created using the webbuild interface