%global debug_package %{nil} Name: elfio Version: 3.2 Release: 8%{?dist} Summary: C++ library for reading and generating ELF files License: MIT URL: http://elfio.sourceforge.net/ Source0: https://downloads.sf.net/elfio/elfio-%{version}.tar.gz BuildRequires: gcc-c++ %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 %setup -q %build %configure %make_build %install %make_install # Binaries are the examples and have too generic names: elfdump tutorial write_obj writer rm %{buildroot}%{_bindir}/* %check # Sanity check examples/elfdump/elfdump %{_bindir}/make %files devel %license COPYING %doc AUTHORS doc/elfio.pdf README %{_includedir}/elfio/ %changelog * 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