]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - dracut/dracut.nm
dracut: Build manpages with docbook.
[people/arne_f/ipfire-3.x.git] / dracut / dracut.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = dracut
7 version = 010
8 release = 4
9 arch = noarch
10
11 groups = System/Boot
12 url = http://sourceforge.net/apps/trac/dracut/wiki
13 license = GPLv2+
14 summary = Initramfs generator using udev.
15
16 description
17 dracut is a new, event-driven initramfs infrastructure based around udev.
18 end
19
20 source_dl =
21 sources = %{thisapp}.tar.bz2
22
23 build
24 requires
25 docbook-utils
26 docbook-xsl
27 end
28
29 install
30 make install DESTDIR=%{BUILDROOT} \
31 sbindir=/sbin sysconfdir=/etc mandir=/usr/share/man
32
33 # Install local configuration.
34 mkdir -pv %{BUILDROOT}/etc/dracut.conf.d
35 cp -vf %{DIR_SOURCE}/ipfire.conf %{BUILDROOT}/etc/dracut.conf.d/ipfire.conf
36 end
37 end
38
39 packages
40 package %{name}
41 requires
42 bash
43 bzip2
44 cpio
45 coreutils
46 dmraid
47 e2fsprogs
48 eject
49 gzip
50 iputils
51 kbd
52 less
53 libselinux
54 lvm2
55 mdadm
56 sysvinit
57 udev
58 util-linux
59 which
60 end
61 end
62
63 package %{name}-network
64 summary = Network support for the initramdisk.
65 description
66 This package requires everything which is needed to build a generic
67 all purpose initramfs with network support with dracut.
68 end
69
70 requires
71 bridge-utils
72 dhclient
73 iproute
74 nfs-utils
75 end
76
77 files
78 /usr/share/dracut/modules.d/40network
79 /usr/share/dracut/modules.d/95fcoe
80 /usr/share/dracut/modules.d/95iscsi
81 /usr/share/dracut/modules.d/95nbd
82 /usr/share/dracut/modules.d/95nfs
83 /usr/share/dracut/modules.d/45ifcfg
84 /usr/share/dracut/modules.d/95znet
85 end
86 end
87
88
89 package %{name}-utils
90 summary = Command line utils for dracut.
91 description = %{summary}
92
93 files
94 /sbin/dracut-*
95 /sbin/*initrd
96 end
97 end
98 end