1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://git.fedorahosted.org/git/grubby.git
13 summary = Command line tool for updating bootloader configs.
16 grubby is a command line tool for updating and displaying information about
17 the configuration files for the grub, lilo, elilo (ia64), yaboot (powerpc)
18 and zipl (s390) boot loaders. It is primarily designed to be used from scripts
19 which install new kernels and need to find information about the current boot
23 # Source tarballs must be generated from git.
24 sources = %{thisapp}.tar.bz2
34 make_build_targets += CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
40 make_install_targets += mandir=%{mandir}
43 mkdir -pv %{BUILDROOT}%{prefix}
44 mv -v %{BUILDROOT}{,%{prefix}}/sbin
50 # Pull in u-boot-tools on ARM platforms.
51 if "%{DISTRO_ARCH}" == "armv7hl"
52 requires += u-boot-tools
55 if "%{DISTRO_ARCH}" == "armv5tel"
56 requires += u-boot-tools
66 package %{name}-debuginfo