Name: glibc Version: 2.40 Release: 1%{?dist} Summary: The GNU libc libraries License: LGPL-2.1-or-later AND LGPL-2.1-or-later WITH exceptions AND GPL-2.0-or-later AND GPL-2.0-or-later WITH exceptions AND BSD-2-Clause AND BSD-3-Clause AND ISC AND Inner-Net AND CRC32 URL: https://www.gnu.org/software/libc/ Source0: https://ftp.gnu.org/gnu/glibc/glibc-%{version}.tar.xz BuildRequires: make BuildRequires: gcc BuildRequires: binutils BuildRequires: kernel-headers BuildRequires: bison BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python %description The glibc package contains standard libraries which are used by multiple programs on the system. In order to save disk space and memory, as well as to make upgrading easier, common system code is kept in one place and shared between programs. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function. %package devel Summary: Development files for glibc Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The glibc-devel package contains the header files and libraries needed to develop programs which make use of the standard C libraries. %package headers Summary: Header files for glibc Requires: %{name}%{?_isa} = %{version}-%{release} %description headers The glibc-headers package contains the header files needed to develop programs which make use of the standard C libraries. %prep %autosetup %build mkdir build cd build ../configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --libexecdir=%{_libexecdir} \ --enable-shared \ --enable-static \ --enable-stack-protector \ --enable-stackguard-randomization \ --disable-werror \ --with-headers=%{_includedir} %make_build %install cd build %make_install %files %{_libdir}/lib*.so.* %{_libdir}/lib*.a %{_libdir}/ld*.so* %files devel %{_libdir}/lib*.so %{_includedir}/* %{_libdir}/pkgconfig/*.pc %files headers %{_includedir}/* %changelog * Wed Sep 10 2025 buildsys@oreonproject.org 2.40-1 - Initial package for Oreon Linux