]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = filesystem |
7 | version = 001 | |
b50ea81b | 8 | release = 3 |
803dc34f | 9 | |
802ea3af MT |
10 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
11 | groups = Base Build System/Base | |
12 | url = | |
13 | license = Public Domain | |
14 | summary = The basic directory layout for a Linux system. | |
803dc34f | 15 | |
802ea3af | 16 | description |
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 |
21 | end |
22 | ||
23 | # No tarball. | |
24 | sources = | |
803dc34f | 25 | |
802ea3af MT |
26 | build |
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 \ | |
b50ea81b MT |
43 | lib \ |
44 | %{lib} \ | |
802ea3af MT |
45 | lib/modules \ |
46 | media \ | |
47 | mnt \ | |
48 | opt \ | |
49 | proc \ | |
50 | root \ | |
51 | run/lock \ | |
52 | sbin \ | |
53 | srv \ | |
54 | sys \ | |
55 | tmp \ | |
56 | usr/bin \ | |
57 | usr/include \ | |
58 | usr/lib \ | |
b50ea81b | 59 | usr/%{lib} \ |
802ea3af MT |
60 | usr/lib/locale \ |
61 | usr/sbin \ | |
62 | usr/share/{aclocal,dict,doc,empty,info,mime-info,misc} \ | |
63 | 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} \ | |
64 | usr/src \ | |
65 | usr/local/bin \ | |
66 | usr/local/etc \ | |
67 | usr/local/lib \ | |
68 | usr/local/sbin \ | |
69 | usr/local/share \ | |
70 | usr/local/share/man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x} \ | |
71 | usr/local/share/info \ | |
72 | usr/local/include \ | |
73 | var/empty \ | |
74 | var/lib \ | |
75 | var/local \ | |
76 | var/lock/subsys \ | |
77 | var/log \ | |
78 | var/nis \ | |
79 | var/preserve \ | |
80 | var/run \ | |
81 | var/spool/{mail,lpd} \ | |
82 | var/tmp \ | |
83 | var/db \ | |
84 | var/cache | |
803dc34f | 85 | |
802ea3af MT |
86 | ln -snf ../var/tmp usr/tmp |
87 | ln -snf spool/mail var/mail | |
803dc34f | 88 | |
802ea3af MT |
89 | # Setting correct permissions. |
90 | chmod 1777 %{BUILDROOT}/{,var/}tmp | |
91 | chown root:mail %{BUILDROOT}/var/spool/mail | |
92 | chmod 775 %{BUILDROOT}/var/spool/mail | |
93 | end | |
1f9bc2f0 MT |
94 | |
95 | # XXX not implemented at the moment | |
802ea3af MT |
96 | export QUALITY_AGENT_NO_DIRECTORY_CHECK = yes |
97 | export QUALITY_AGENT_NO_DIRECTORY_PRUNE = yes | |
98 | end | |
803dc34f | 99 | |
802ea3af MT |
100 | packages |
101 | package %{name} | |
102 | prerequires = setup | |
103 | end | |
1f9bc2f0 MT |
104 | |
105 | # Although this package is not noarch, it does not | |
106 | # contain any binary data and thus has no debuginfo package. | |
802ea3af | 107 | end |