## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec #global candidate rc1 Name: libcoap Version: 4.3.5 Release: %autorelease Summary: C library implementation of CoAP URL: https://libcoap.net/ # If build against gnutls the license is BSD + LGPL 2.1 # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD Source0: https://github.com/obgm/libcoap/archive/v%{version}.tar.gz#/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: openssl-devel-engine BuildRequires: asciidoc BuildRequires: ctags BuildRequires: doxygen BuildRequires: graphviz BuildRequires: make %description The Constrained Application Protocol (CoAP) is a specialized web transfer protocol for use with constrained nodes and constrained networks in the Internet of Things. The protocol is designed for machine-to-machine (M2M) applications such as smart energy and building automation. libcoap implements a lightweight application-protocol for devices with constrained resources such as computing power, RF range, memory, bandwidth, or network packet sizes. This protocol, CoAP, was standardized in the IETF working group "CoRE" as RFC 7252. %package utils Summary: Client and server CoAP utilities Requires: %{name}%{?_isa} = %{version}-%{release} %description utils Utilities for working with %{name}. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for development with %{name}. %package doc Summary: Documentation package for %{name} BuildArch: noarch %description doc Documentation for development with %{name}. %prep %autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}} %build autoreconf -vif %configure --without-debug CFLAGS="$RPM_OPT_FLAGS -D COAP_DEBUG_FD=stderr" \ --enable-examples --enable-documentation --enable-doxygen --enable-manpages \ --enable-dtls --with-openssl --disable-static %make_build %install %make_install #Remove libtool archives find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.a' -delete rm -rf %{buildroot}/%{_datadir}/%{name} %check make check %ldconfig_scriptlets %files %license LICENSE COPYING %doc AUTHORS %{_libdir}/libcoap-3-openssl.so.3* %files utils %{_bindir}/coap* %{_mandir}/man5/coap* %files doc %{_mandir}/man7/coap* %{_datadir}/doc/libcoap/ %files devel %{_mandir}/man3/coap* %{_includedir}/coap3/ %{_libdir}/pkgconfig/libcoap-3*.pc %{_libdir}/libcoap-3*.so %changelog ## START: Generated by rpmautospec * Sat Sep 07 2024 Peter Robinson - 4.3.5-6 - Update to 4.3.5 GA * Mon Sep 02 2024 Miroslav Suchý - 4.3.5-0.4.rc1 - convert license to SPDX * Tue Jul 23 2024 Peter Robinson - 4.3.5-0.3.rc1 - Add openssl-devel-engine build dep * Thu Jul 18 2024 Fedora Release Engineering - 4.3.5-0.2.rc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Peter Robinson - 4.3.5-0.1.rc1 - Update to 4.3.5-RC1 * Wed Apr 24 2024 Peter Robinson - 4.3.4a-2 - Patch to fix CVE-2024-31031 * Sun Mar 10 2024 Peter Robinson - 4.3.4a-1 - Update to 4.3.4a * Thu Jan 25 2024 Fedora Release Engineering - 4.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 4.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Oct 09 2023 Peter Robinson - 4.3.4-1 - Update to 4.3.4 * Tue Sep 19 2023 Peter Robinson - 4.3.3-1 - Update to 4.3.3 * Fri Aug 18 2023 Peter Robinson - 4.3.2-0.2.rc2 - Update to 4.3.2 RC2 * Sun Jul 23 2023 Peter Robinson - 4.3.2-0.1.rc1 - Update to 4.3.2 RC1 * Thu Jul 20 2023 Fedora Release Engineering - 4.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Nov 24 2022 Peter Robinson - 4.3.1-1 - Update to 4.3.1 * Thu Aug 25 2022 Peter Robinson - 4.3.1-0.2.rc2 - Update to 4.3.1 RC2 * Tue Aug 02 2022 Peter Robinson - 4.3.1-0.1.rc1 - Update to 4.3.1 RC1 * Thu Jul 21 2022 Fedora Release Engineering - 4.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 4.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 4.3.0-3 - Rebuilt with OpenSSL 3.0.0 * Thu Jul 22 2021 Fedora Release Engineering - 4.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 21 2021 Peter Robinson - 4.3.0-1 - Update to 4.3.0 GA release * Wed Jun 16 2021 Peter Robinson - 4.3.0-0.3.rc4 - Update to 4.3.0 RC4 * Fri Apr 30 2021 Peter Robinson - 4.3.0-0.2.rc3 - Update to 4.3.0 RC3 * Sun Mar 21 2021 Peter Robinson - 4.3.0-0.1.rc1 - Update to 4.3.0 RC1 * Tue Jan 26 2021 Fedora Release Engineering - 4.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 4.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 24 2020 Peter Robinson - 4.2.1-1 - Update to 4.2.1 * Wed Jan 29 2020 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 2 2019 Peter Robinson 4.2.0-1 - Update to 4.2.0 GA stable release * Sat Feb 9 2019 Peter Robinson 4.2.0-0.1.rc4 - Update to 4.2.0 rc4 * Sat Jul 1 2017 Peter Robinson 4.1.2-2 - Minor package review updates * Fri Apr 21 2017 Peter Robinson 4.1.2-1 - Initial package ## END: Generated by rpmautospec