Name: snmppp Version: 3.6.5 Release: 1.20260529144758468751.master%{?dist} Summary: SNMP++ - C++ SNMP library License: BSD URL: https://agentpp.com Source0: snmp++-3.6.5.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: openssl-devel %description SNMP++ is a C++ library that provides a clean and simple API for SNMP (Simple Network Management Protocol) programming. It supports SNMPv1, SNMPv2c, and SNMPv3 including encryption and authentication. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: openssl-devel %description devel Development headers and libraries for SNMP++. %prep %autosetup -n snmp++-3.6.5 %build %configure \ --disable-static \ --with-ssl \ --libdir=%{_libdir} %make_build %install %make_install find %{buildroot} -name '*.a' -delete find %{buildroot} -name '*.la' -delete # Remove example/test utilities - keep only the library rm -rf %{buildroot}%{_bindir} %files %{_libdir}/libsnmp++.so.* %files devel %{_includedir}/libsnmp.h %{_includedir}/snmp_pp/ %{_libdir}/libsnmp++.so %{_libdir}/pkgconfig/snmp++-3.pc %changelog * Fri May 29 2026 Hagalín Ásgrímur Guðmundsson - 3.6.5-1.20260529144758468751.master - Development snapshot (cbd85888) * Tue May 27 2025 DevOps - 3.6.5-1 - Initial packaging for Rocky Linux 9