Name: libdpp Version: 10.1.5 Release: 1%{?dist} Summary: Lightweight asynchronous C++ Discord library License: MIT URL: https://github.com/brainboxdotcc/DPP Source0: https://github.com/brainboxdotcc/DPP/archive/refs/tags/v%{version}.tar.gz BuildRequires: cmake, gcc-c++, make, pkgconfig BuildRequires: cli11-devel fmt-devel gtest-devel gmock-devel openssl-devel yaml-cpp-devel curl-devel BuildRequires: expat-devel gdbm-devel nlohmann-json-devel systemd-devel zlib-ng-compat-static Requires: libstdc++ openssl fmt nlohmann-json %description D++ (libdpp) is a lightweight asynchronous C++ library for Discord. %package devel Summary: Development files for libdpp Group: Development/Libraries Requires: %{name} = %{version}-%{release} BuildRequires: pkgconfig %description devel Development headers, pkg-config metadata, and the libdpp.so linker script for libdpp. %prep %autosetup -n DPP-%{version} %build %cmake -B build -DCMAKE_INSTALL_PREFIX=%{_prefix} %cmake --build build %install rm -rf %{buildroot} %cmake --install build --prefix %{_prefix} -- DESTDIR=%{buildroot} %files %license LICENSE %doc README.md %{_libdir}/libdpp.so.* %exclude %{_libdir}/libdpp.so %files devel %{_includedir}/dpp %{_libdir}/libdpp.so %{_libdir}/pkgconfig/dpp.pc %changelog * Fri Jun 06 2026 Dorin Lazăr - Initial RPM spec for libdpp and libdpp-devel