Name: libdwarf
Epoch: 1
Version: 0.6.0
Release: 1%{?dist}
Summary: Library to access the DWARF Debugging file format
License: LGPL-2.1-only AND BSD-2-Clause-FreeBSD
URL: https://www.prevanders.net/dwarf.html
Source0: https://www.prevanders.net/%{name}-%{version}.tar.xz
BuildRequires: gcc make python3
%description
Library to access the DWARF debugging file format which supports
source level debugging of a number of procedural languages, such as C, C++,
and Fortran. Please see http://www.dwarfstd.org for DWARF specification.
%package devel
Summary: Library and header files of libdwarf
License: LGPL-2.1-only AND BSD-2-Clause-FreeBSD
Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
Development package containing library and header files of libdwarf.
%package static
Summary: Static libdwarf library
License: LGPL-2.1-only AND BSD-2-Clause-FreeBSD
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
%description static
Static libdwarf library.
%package tools
Summary: Tools for accessing DWARF debugging information
License: GPL-2.0-only AND BSD-2-Clause-FreeBSD
Requires: %{name} = %{epoch}:%{version}-%{release}
%description tools
C++ version of dwarfdump (dwarfdump2) command-line utilities
to access DWARF debug information.
%prep
%autosetup -p1
%build
%configure --enable-shared
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
%check
TZ=:America/Los_Angeles %__make check
%files
%doc src/lib/libdwarf/ChangeLog src/lib/libdwarf/README
%license src/lib/libdwarf/COPYING src/lib/libdwarf/LIBDWARFCOPYRIGHT src/lib/libdwarf/LGPL.txt
%{_libdir}/libdwarf.so.0
%{_libdir}/libdwarf.so.0.*
%files static
%{_libdir}/libdwarf.a
%files devel
%doc doc/*.pdf
%{_includedir}/libdwarf-0
%{_libdir}/libdwarf.so
%{_libdir}/pkgconfig/libdwarf.pc
%files tools
%license src/bin/dwarfdump/COPYING src/bin/dwarfdump/DWARFDUMPCOPYRIGHT src/bin/dwarfdump/GPL.txt
%{_bindir}/dwarfdump
%{_datadir}/dwarfdump/dwarfdump.conf
%{_mandir}/man1/dwarfdump.1.gz
%changelog
* Mon Feb 20 2023 Tom Hughes <tom@compton.nu> - 1:0.6.0-1
- Update to 0.6.0 upstream release
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 23 2022 Tom Hughes <tom@compton.nu> - 1:0.5.0-1
- Update to 0.5.0 upstream release
* Tue Sep 13 2022 Tom Hughes <tom@compton.nu> - 1:0.4.2-1
- Update to 0.4.2 upstream release
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 26 2022 Tom Hughes <tom@compton.nu> - 1:0.4.1-1
- Update to 0.4.1 upstream release
* Wed Apr 13 2022 Tom Hughes <tom@compton.nu> - 1:0.4.0-1
- Update to 0.4.0 upstream release
* Wed Feb 23 2022 Tom Hughes <tom@compton.nu> - 1:0.3.4-1
- Update to 0.3.4 upstream release
* Wed Feb 23 2022 Tom Hughes <tom@compton.nu> - 1:0.3.3-1
- Update to 0.3.3 upstream release
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Nov 25 2021 Tom Hughes <tom@compton.nu> - 1:0.3.0-2
- Add missing epoch to requires
* Mon Nov 22 2021 Tom Hughes <tom@compton.nu> - 1:0.3.0-1
- Update to 0.3.0 upstream release
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210528-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat May 29 2021 Tom Hughes <tom@compton.nu> - 20210528-1
- Update to 20210528 upstream release
* Sun Mar 7 2021 Tom Hughes <tom@compton.nu> - 20210305-1
- Update to 20210305 upstream release
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20201201-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 1 2020 Tom Hughes <tom@compton.nu> - 20201201-1
- Update to 20201201 upstream release
* Wed Oct 21 2020 Tom Hughes <tom@compton.nu> - 20201020-1
- Update t0 20201020 upstream release
* Tue Oct 20 2020 Tom Hughes <tom@compton.nu> - 20201017-1
- Update to 20201017 upstream release
* Tue Aug 25 2020 Tom Hughes <tom@compton.nu> - 20200825-1
- Update to 20200825 upstream release
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200719-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jul 19 2020 Tom Hughes <tom@compton.nu> - 20200719-1
- Update to 20200719 upstream release
* Sat Jul 4 2020 Tom Hughes <tom@compton.nu> - 20200703-1
- Update to 20200703 upstream release
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200114-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jan 14 2020 Tom Hughes <tom@compton.nu> - 20200114-1
- Update to 20200114 upstream release
* Tue Nov 5 2019 Tom Hughes <tom@compton.nu> - 20191104-1
- Update to 20191104 upstream release
- Enable tests
* Fri Oct 4 2019 Tom Hughes <tom@compton.nu> - 20191002-1
- Update to 20191002 upstream release
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190529-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Tom Hughes <tom@compton.nu> - 20190529-1
- Update to 20190529 upstream release
* Mon May 6 2019 Tom Hughes <tom@compton.nu> - 20190505-1
- Update to 20190505 upstream release
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180809-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Aug 10 2018 Tom Hughes <tom@compton.nu> - 20180809-1
- Update to 20180809 upstream release
* Thu Jul 26 2018 Tom Hughes <tom@compton.nu> - 20180724-1
- Update to 20180724 upstream release
* Tue Jul 24 2018 Tom Hughes <tom@compton.nu> - 20180723-1
- Update to 20180723 upstream release
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180527-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon May 28 2018 Tom Hughes <tom@compton.nu> - 20180527-1
- Update to 20180527 upstream release
* Sun Feb 18 2018 Tom Hughes <tom@compton.nu> - 20180129-4
- Require gcc
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180129-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 30 2018 Tom Hughes <tom@compton.nu> - 20180129-2
- Drop ldconfig scriptlets
* Tue Jan 30 2018 Tom Hughes <tom@compton.nu> - 20180129-1
- Update to 20180129 upstream release
* Tue Jan 23 2018 Tom Hughes <tom@compton.nu> - 20170709-4
- Link libdwarf against libelf
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170709-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170709-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 10 2017 Tom Hughes <tom@compton.nu> - 20170709-1
- Update to 20170709 upstream release
* Mon Apr 17 2017 Tom Hughes <tom@compton.nu> - 20170416-1
- Update to 20170416 upstream release
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20161124-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Nov 25 2016 Tom Hughes <tom@compton.nu> - 20161124-1
- Update to 20161124 upstream release
* Sun Oct 23 2016 Tom Hughes <tom@compton.nu> - 20161021-1
- Update to 20161021 upstream release
* Sun Oct 2 2016 Tom Hughes <tom@compton.nu> - 20161001-1
- Update to 20161001 upstream release
* Fri Sep 30 2016 Tom Hughes <tom@compton.nu> - 20160929-1
- Update to 20160929 upstream release
* Mon Sep 26 2016 Tom Hughes <tom@compton.nu> - 20160923-1
- Update to 20160923 upstream release
* Wed Jun 15 2016 Tom Hughes <tom@compton.nu> - 20160613-1
- Update to 20160613 upstream release
* Sun May 8 2016 Tom Hughes <tom@compton.nu> - 20160507-1
- Update to 20160507 upstream release
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160115-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Jan 16 2016 Tom Hughes <tom@compton.nu> - 20160115-1
- Update to 20160116 upstream release
* Wed Dec 30 2015 Tom Hughes <tom@compton.nu> - 20151114-3
- Add upstream patch for crash with debug sections marked NOBITS
* Wed Dec 9 2015 Tom Hughes <tom@compton.nu> - 20151114-2
- Add upstream patch for crash reading corrupt DWARF data
* Sun Nov 15 2015 Tom Hughes <tom@compton.nu> - 20151114-1
- Update to 20151114 upstream release
* Wed Sep 16 2015 Tom Hughes <tom@compton.nu> - 20150915-1
- Update to 20150915 upstream release
* Mon Sep 14 2015 Tom Hughes <tom@compton.nu> - 20150913-1
- Update to 20150913 upstream release
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150507-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri May 8 2015 Tom Hughes <tom@compton.nu> - 20150507-1
- Update to 20150507 upstream release
* Mon Apr 20 2015 Tom Hughes <tom@compton.nu> - 20150310-4
- Drop PPC linker bug patch, as the bug is now fixed
- Re-enable hardended builds (was the same bug)
* Wed Apr 15 2015 Jaromir Capik <jcapik@redhat.com> - 20150310-3
- ppc linker bug workaround (#1208467)
* Thu Mar 12 2015 Tom Hughes <tom@compton.nu> - 20150310-2
- Disable hardened builds for now
- Drop explicit CFLAGS as %%configure sets them anyway
* Thu Mar 12 2015 Tom Hughes <tom@compton.nu> - 20150310-1
- Update to 20150310 upstream release
* Mon Jan 19 2015 Tom Hughes <tom@compton.nu> - 20150115-1
- Update to 20150115 upstream release
* Wed Jan 14 2015 Tom Hughes <tom@compton.nu> - 20150112-1
- Update to 20150112 upstream release
- Switch back to dwarfdump, as dwarfdump2 is deprecated upstream
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140805-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Wed Aug 6 2014 Tom Hughes <tom@compton.nu> - 20140805-1
- Update to 20140805 upstream release
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140519-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu May 22 2014 Tom Hughes <tom@compton.nu> - 20140519-1
- Update to 20140519 upstream release
* Wed Apr 16 2014 Tom Hughes <tom@compton.nu> - 20140413-1
- Update to 20140413 upstream release
* Sun Feb 9 2014 Tom Hughes <tom@compton.nu> - 20140208-1
- Update to 20140208 upstream release
* Tue Feb 4 2014 Tom Hughes <tom@compton.nu> - 20140131-2
- Link libdwarf.so with libelf
* Sun Feb 2 2014 Tom Hughes <tom@compton.nu> - 20140131-1
- Update to 20140131 upstream release
* Tue Jan 7 2014 Tom Hughes <tom@compton.nu> - 20130729-2
- Update upstream URLs to point at new site
* Wed Jul 31 2013 Tom Hughes <tom@compton.nu> - 20130729-1
- Update to 20130729 release
* Fri Feb 8 2013 Tom Hughes <tom@compton.nu> - 20130207-1
- Update to 20130207 release
* Sun Jan 27 2013 Tom Hughes <tom@compton.nu> - 20130126-1
- Update to 20130126 release
- Revert soname to libdwarf.so.0
* Sat Jan 26 2013 Tom Hughes <tom@compton.nu> - 20130125-1
- Update to 20130125 release
- Bump soname to libdwarf.so.1
* Mon Dec 3 2012 Tom Hughes <tom@compton.nu> - 20121130-1
- Update to 20121130 release
* Thu Nov 29 2012 Tom Hughes <tom@compton.nu> - 20121127-1
- Update to 20121127 release
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120410-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jul 13 2012 Tom Hughes <tom@compton.nu> - 20120410-1
- Update to 20120410 release
- Drop the 0. from the version - the dates are the upstream versions
- Remove explicit dependencies on elfutils-libelf
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110612-3
- Rebuilt for c++ ABI breakage
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110612-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Jul 13 2011 Parag Nemade <paragn AT fedoraproject DOT org> - 0.20110612-1
- Update to 20110612 release
* Wed Mar 09 2011 Parag Nemade <paragn AT fedoraproject DOT org> - 0.20110113-1
- Update to 20110113 release
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100629-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jul 06 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.20100629-1
- Update to 20100629 release
- Add -static subpackage as request in rh#586807
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20090324-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Mar 31 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
- 0.20090324-4
- Adding _smp_mflags for libdwarf build
- Move CFLAGS override from configure to make
* Mon Mar 30 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
- 0.20090324-3
- Remove AutoreqProv no
* Thu Mar 26 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
- 0.20090324-2
- Drop the C implementation of dwarfdump. (dwarfdump1)
- Since the doc package is small, we combined the contents into the devel package.
- Fix the version string.
- Drop the static library.
- Add release number to "Requires".
- Fix licensing (v2 instead of v2+)
- Change linking for libdwarf.so and libdwarf.so.0
* Wed Mar 25 2009 - Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
- 20090324-1
- Initial Revision