Name: libcerror Version: 20240413 Summary: Libyal library for cross-platform C error functions Group: System Environment/Libraries License: LGPL-3.0-or-later URL: https://github.com/libyal/libcerror # https://github.com/libyal/libcerror/releases %global gituser libyal %global gitname libcerror %global gitdate %{version} %global commit 9b13d0ca59dcc83f94eef7c6c4e99c46b84550c8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Release: 1%{?dist} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz # https://github.com/libyal/libcerror/pull/10 # there are older versions of gettext and autoconf, but still builds well Patch0: libcerror-configure.ac.patch BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig BuildRequires: automake BuildRequires: libtool BuildRequires: gettext-devel %description Library for cross-platform C error functions. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: zlib-devel Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{gitname}-%{commit} ./autogen.sh %build %configure --disable-static --enable-wide-character-type %make_build %install %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets %check make check %files %license COPYING %doc AUTHORS NEWS README %{_libdir}/*.so.* %files devel %{_includedir}/%{name}.h %{_includedir}/%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/%{name}.3* %changelog * Mon May 13 2024 Michal Ambroz - 20240413-1 - bump to 20240413 * Fri Oct 27 2023 Michal Ambroz - 20231024-2 - lower build requirements for rhel * Fri Oct 27 2023 Michal Ambroz - 20231024-1 - bump to 20231024 * Tue Jun 27 2023 Michal Ambroz - 20220101-1 - bump to 20220101 * Mon Jun 20 2016 Michal Ambroz - 20160507-1 - bump to 20160507 * Mon Jun 20 2016 Michal Ambroz - 20160327-1 - bump to 20160327 * Sat Jun 06 2015 Michal Ambroz - 20150407-1 - Initial build for Fedora