Group :: System/Configuration/Boot and Init
RPM: grub-customizer
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: grub-customizer
Version: 5.2.2
Release: alt1
Summary: Grub Customizer is a graphical interface to configure the grub2/burg settings
License: GPL-3.0
Group: System/Configuration/Boot and Init
URL: https://launchpad.net/grub-customizer
Source0: https://launchpad.net/grub-customizer/4.0/%{version}/+download/%{name}_%{version}.tar.gz
Source1: %name.watch
Patch1: grub-customizer-alt-desktop-l10n.patch
BuildRequires(pre): cmake
BuildRequires: ctest
BuildRequires: gcc-c++
BuildRequires: libgtkmm3-devel
BuildRequires: gettext
BuildRequires: libssl-devel
BuildRequires: libarchive-devel
BuildRequires: desktop-file-utils
ExclusiveArch: %ix86 x86_64 aarch64 ppc64le
Requires: grub-common
Requires: hwinfo
%description
Grub Customizer is a graphical interface to configure the grub2/burg settings
with focus on the individual list order - without losing the dynamical behavior
of grub.
The goal of this project is to create a complete and intuitive graphical
grub2/burg configuration interface. The main feature is the boot entry list
configuration - but not simply by modified the grub.cfg: to keep the dynamical
configuration, this application will only edit the script order and generate
proxies (script output filter), if required.
%prep
%setup -q
%patch1 -p2
%build
%add_optflags -fpermissive -std=c++11
%cmake
%cmake_build
%install
%cmakeinstall_std
cat > grub.cfg << EOF
MKCONFIG_CMD=grub-mkconfig
INSTALL_CMD=grub-install
MKFONT_CMD=grub-mkfont
CFG_DIR=/etc/grub.d
OUTPUT_DIR=/boot/grub
OUTPUT_FILE=/boot/grub/grub.cfg
SETTINGS_FILE=/etc/sysconfig/grub2
EOF
mkdir -p %buildroot%_sysconfdir/%name
install -m 0644 grub.cfg %buildroot%_sysconfdir/%name/grub.cfg
%find_lang %name
%files -f %name.lang
%doc README COPYING changelog
%config(noreplace) %_sysconfdir/%name
%_bindir/%name
%_libdir/grubcfg-proxy
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/%name.svg
%_man1dir/%name.1*
%_datadir/polkit-1/actions/net.launchpad.danielrichter2007.pkexec.grub-customizer.policy
%changelog
…
Full changelog you can see here
Version: 5.2.2
Release: alt1
Summary: Grub Customizer is a graphical interface to configure the grub2/burg settings
License: GPL-3.0
Group: System/Configuration/Boot and Init
URL: https://launchpad.net/grub-customizer
Source0: https://launchpad.net/grub-customizer/4.0/%{version}/+download/%{name}_%{version}.tar.gz
Source1: %name.watch
Patch1: grub-customizer-alt-desktop-l10n.patch
BuildRequires(pre): cmake
BuildRequires: ctest
BuildRequires: gcc-c++
BuildRequires: libgtkmm3-devel
BuildRequires: gettext
BuildRequires: libssl-devel
BuildRequires: libarchive-devel
BuildRequires: desktop-file-utils
ExclusiveArch: %ix86 x86_64 aarch64 ppc64le
Requires: grub-common
Requires: hwinfo
%description
Grub Customizer is a graphical interface to configure the grub2/burg settings
with focus on the individual list order - without losing the dynamical behavior
of grub.
The goal of this project is to create a complete and intuitive graphical
grub2/burg configuration interface. The main feature is the boot entry list
configuration - but not simply by modified the grub.cfg: to keep the dynamical
configuration, this application will only edit the script order and generate
proxies (script output filter), if required.
%prep
%setup -q
%patch1 -p2
%build
%add_optflags -fpermissive -std=c++11
%cmake
%cmake_build
%install
%cmakeinstall_std
cat > grub.cfg << EOF
MKCONFIG_CMD=grub-mkconfig
INSTALL_CMD=grub-install
MKFONT_CMD=grub-mkfont
CFG_DIR=/etc/grub.d
OUTPUT_DIR=/boot/grub
OUTPUT_FILE=/boot/grub/grub.cfg
SETTINGS_FILE=/etc/sysconfig/grub2
EOF
mkdir -p %buildroot%_sysconfdir/%name
install -m 0644 grub.cfg %buildroot%_sysconfdir/%name/grub.cfg
%find_lang %name
%files -f %name.lang
%doc README COPYING changelog
%config(noreplace) %_sysconfdir/%name
%_bindir/%name
%_libdir/grubcfg-proxy
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/%name.svg
%_man1dir/%name.1*
%_datadir/polkit-1/actions/net.launchpad.danielrichter2007.pkexec.grub-customizer.policy
%changelog
…
Full changelog you can see here