]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - grubby/grubby.nm
glib2: Update to 2.61
[people/stevee/ipfire-3.x.git] / grubby / grubby.nm
CommitLineData
4d4e8902
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = grubby
b25c05d0 7version = 8.11
5034500f 8release = 5
4d4e8902
MT
9
10groups = System/Base
11url = http://git.fedorahosted.org/git/grubby.git
12license = GPLv2+
13summary = Command line tool for updating bootloader configs.
14
15description
1f9bc2f0
MT
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)
4d4e8902 18 and zipl (s390) boot loaders. It is primarily designed to be used from scripts
1f9bc2f0 19 which install new kernels and need to find information about the current boot
4d4e8902
MT
20 environment.
21end
22
40c54876
MT
23# Source tarballs must be generated from git.
24sources = %{thisapp}.tar.bz2
4d4e8902
MT
25
26build
27 requires
28 glib2-devel
29 libblkid-devel
30 popt-devel
31 util-linux
32 end
33
5034500f
MT
34 make_build_targets += CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
35
4d4e8902
MT
36 test
37 make test
38 end
39
40c54876 40 make_install_targets += mandir=%{mandir}
b25c05d0
MT
41
42 install_cmds
43 mkdir -pv %{BUILDROOT}%{prefix}
44 mv -v %{BUILDROOT}{,%{prefix}}/sbin
45 end
4d4e8902
MT
46end
47
48packages
49 package %{name}
7bb48a5b 50 # Pull in u-boot-tools on ARM platforms.
057bcb63
MT
51 if "%{DISTRO_ARCH}" == "armv7hl"
52 requires += u-boot-tools
53 end
54
55 if "%{DISTRO_ARCH}" == "armv5tel"
7bb48a5b 56 requires += u-boot-tools
40c54876 57 end
a65e0067
MT
58
59 provides
60 /sbin/grubby
61 /sbin/installkernel
62 /sbin/new-kernel-pkg
63 end
40c54876 64 end
1f9bc2f0
MT
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
4d4e8902 69end