## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 debug_package %{nil} Name: elfio Version: 3.12 Release: %autorelease Summary: C++ library for reading and generating ELF files # This is the proper SPDX license License: MIT URL: http://elfio.sourceforge.net/ Source0: https://downloads.sf.net/elfio/elfio-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake %description ELFIO is a small, header-only C++ library that provides a simple interface for reading and generating files in ELF binary format. It is used as a standalone library - it is not dependent on any other product or project. Adhering to ISO C++, it compiles on a wide variety of architectures and compilers. While the library is easy to use, some basic knowledge of the ELF binary format is required. Such Information can easily be found on the Web. %package devel Summary: %{summary} Provides: %{name}-static = %{version}-%{release} BuildArch: noarch %description devel ELFIO is a small, header-only C++ library that provides a simple interface for reading and generating files in ELF binary format. It is used as a standalone library - it is not dependent on any other product or project. Adhering to ISO C++, it compiles on a wide variety of architectures and compilers. While the library is easy to use, some basic knowledge of the ELF binary format is required. Such Information can easily be found on the Web. %prep %autosetup -p1 %build %cmake -DELFIO_BUILD_EXAMPLES=ON %cmake_build %install %cmake_install rm -r %{buildroot}%{_datadir}/docs %check # Sanity check %{_vpath_builddir}/examples/elfdump/elfdump %{_bindir}/cmake %files devel %license LICENSE.txt %doc doc/elfio.pdf README.md %{_includedir}/elfio/ %{_datadir}/elfio/ %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 3.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 3.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 3.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Aug 31 2023 Orion Poplawski - 3.12-1 - Update to 3.12 * Wed Jul 19 2023 Fedora Release Engineering - 3.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Orion Poplawski - 3.11-1 - Update to 3.11 * Thu Jan 19 2023 Fedora Release Engineering - 3.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 3.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 08 2022 Orion Poplawski - 3.10-1 - local build * Thu Jan 20 2022 Fedora Release Engineering - 3.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Mikel Olasagasti Uranga - 3.9-3 - Use _vpath_builddir macro * Wed Sep 15 2021 Orion Poplawski - 3.9-1 - Update to 3.9 * Wed Jul 21 2021 Fedora Release Engineering - 3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Nov 06 2020 Orion Poplawski - 3.8-1 - Update to 3.8 * Thu Sep 17 2020 Orion Poplawski - 3.7-1 - Update to 3.7 * Mon Jul 27 2020 Fedora Release Engineering - 3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 20 2020 Orion Poplawski - 3.6-1 - Update to 3.6 * Thu Feb 27 2020 Orion Poplawski - 3.5-1 - Update to 3.5 * Tue Jan 28 2020 Fedora Release Engineering - 3.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue May 28 2019 Orion Poplawski - 3.4-1 - Update to 3.4 * Thu Jan 31 2019 Fedora Release Engineering - 3.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 3.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 13 2017 Orion Poplawski - 3.2-5 - Rebuild for protobuf 3.3.1 * Fri Feb 10 2017 Fedora Release Engineering - 3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 23 2017 Orion Poplawski - 3.2-3 - Rebuild for protobuf 3.2.0 * Sat Nov 19 2016 Orion Poplawski - 3.2-2 - Fix source url - Add BR gcc-c++ - Add %%check - Other cleanup * Thu Nov 17 2016 Orion Poplawski - 3.2-1 - Initial Fedora package ## END: Generated by rpmautospec