Name: linux_logo Version: 5.11 Release: 1%{?dist} Summary: Color ANSI logo with some system information # The original code is GPLv2, verified in the COPYING file License: GPL-2.0-or-later URL: http://www.deater.net/weave/vmwprod/linux_logo Source0: http://www.deater.net/weave/vmwprod/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: gettext %description Linux_logo displays a color ANSI logo of a penguin and some system information found in /proc. It is designed for the text-console and is often used in boot scripts to display the login screen. %prep %autosetup %build # The ./configure script for this project is NOT standard GNU Autotools. # Do not use the %%configure macro here, as it passes unsupported flags. # We must manually export Fedora build flags to ensure correct hardening and optimization. export CFLAGS="%{optflags}" export LDFLAGS="%{?__global_ldflags}" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} %make_build %install # The upstream Makefile does not support DESTDIR cleanly. # We perform a manual installation to ensure files go to the correct # locations in the buildroot. mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_sysconfdir} # Install binaries and manual pages install -m 755 linux_logo %{buildroot}%{_bindir}/linux_logo install -m 644 linux_logo.1 %{buildroot}%{_mandir}/man1/linux_logo.1 install -m 644 linux_logo.conf %{buildroot}%{_sysconfdir}/linux_logo.conf %files # Documentation and License %license COPYING %doc README TODO USAGE # Binaries and Configuration %{_bindir}/linux_logo %{_mandir}/man1/linux_logo.1* %config(noreplace) %{_sysconfdir}/linux_logo.conf %changelog * Thu Feb 05 2026 Priscila - 5.11-1 - Initial package for Fedora