]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - filesystem/filesystem.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / filesystem / filesystem.nm
CommitLineData
803dc34f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
803dc34f
MT
4###############################################################################
5
802ea3af
MT
6name = filesystem
7version = 001
8release = 2
803dc34f 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = Base Build System/Base
12url =
13license = Public Domain
14summary = The basic directory layout for a Linux system.
803dc34f 15
802ea3af 16description
803dc34f
MT
17 The filesystem package is one of the basic packages that is installed
18 on a Linux system. Filesystem contains the basic directory layout
19 for a Linux operating system, including the correct permissions for
20 the directories.
802ea3af
MT
21end
22
23# No tarball.
24sources =
803dc34f 25
802ea3af
MT
26build
27 DIR_APP = %{DIR_SRC}
803dc34f 28
802ea3af
MT
29 build
30 : # Nothing to do
31 end
803dc34f 32
802ea3af
MT
33 install
34 cd %{BUILDROOT}
35 mkdir -pv \
36 bin \
37 boot \
38 dev \
39 etc/pki \
40 etc/skel \
41 etc/sysconfig \
42 home \
43 lib/modules \
44 media \
45 mnt \
46 opt \
47 proc \
48 root \
49 run/lock \
50 sbin \
51 srv \
52 sys \
53 tmp \
54 usr/bin \
55 usr/include \
56 usr/lib \
57 usr/lib/locale \
58 usr/sbin \
59 usr/share/{aclocal,dict,doc,empty,info,mime-info,misc} \
60 usr/share/man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p} \
61 usr/src \
62 usr/local/bin \
63 usr/local/etc \
64 usr/local/lib \
65 usr/local/sbin \
66 usr/local/share \
67 usr/local/share/man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x} \
68 usr/local/share/info \
69 usr/local/include \
70 var/empty \
71 var/lib \
72 var/local \
73 var/lock/subsys \
74 var/log \
75 var/nis \
76 var/preserve \
77 var/run \
78 var/spool/{mail,lpd} \
79 var/tmp \
80 var/db \
81 var/cache
803dc34f 82
802ea3af
MT
83 ln -snf ../var/tmp usr/tmp
84 ln -snf spool/mail var/mail
803dc34f 85
802ea3af
MT
86 # Setting correct permissions.
87 chmod 1777 %{BUILDROOT}/{,var/}tmp
88 chown root:mail %{BUILDROOT}/var/spool/mail
89 chmod 775 %{BUILDROOT}/var/spool/mail
90 end
1f9bc2f0
MT
91
92 # XXX not implemented at the moment
802ea3af
MT
93 export QUALITY_AGENT_NO_DIRECTORY_CHECK = yes
94 export QUALITY_AGENT_NO_DIRECTORY_PRUNE = yes
95end
803dc34f 96
802ea3af
MT
97packages
98 package %{name}
99 prerequires = setup
100 end
1f9bc2f0
MT
101
102 # Although this package is not noarch, it does not
103 # contain any binary data and thus has no debuginfo package.
802ea3af 104end