]>
Commit | Line | Data |
---|---|---|
4d4e8902 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = grubby | |
40c54876 | 7 | version = 8.9 |
4d4e8902 MT |
8 | release = 1 |
9 | ||
10 | groups = System/Base | |
11 | url = http://git.fedorahosted.org/git/grubby.git | |
12 | license = GPLv2+ | |
13 | summary = Command line tool for updating bootloader configs. | |
14 | ||
15 | description | |
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. |
21 | end | |
22 | ||
40c54876 MT |
23 | # Source tarballs must be generated from git. |
24 | sources = %{thisapp}.tar.bz2 | |
4d4e8902 MT |
25 | |
26 | build | |
27 | requires | |
28 | glib2-devel | |
29 | libblkid-devel | |
30 | popt-devel | |
31 | util-linux | |
32 | end | |
33 | ||
34 | test | |
35 | make test | |
36 | end | |
37 | ||
40c54876 | 38 | make_install_targets += mandir=%{mandir} |
4d4e8902 MT |
39 | end |
40 | ||
41 | packages | |
42 | package %{name} | |
40c54876 MT |
43 | # Pull in uboot-tools on ARM platforms. |
44 | if "%{DISTRO_ARCH}" == "armv7hl" | |
45 | requires += uboot-tools | |
46 | end | |
47 | ||
48 | if "%{DISTRO_ARCH}" == "armv5tel" | |
49 | requires += uboot-tools | |
50 | end | |
51 | end | |
1f9bc2f0 MT |
52 | |
53 | package %{name}-debuginfo | |
54 | template DEBUGINFO | |
55 | end | |
4d4e8902 | 56 | end |