]> git.pld-linux.org Git - packages/dev.git/blob - dev.spec
- don't touch please, will finish in the morning
[packages/dev.git] / dev.spec
1 Summary:        /dev entries
2 Summary(de):    /dev-Einträge
3 Summary(fr):    Entrées de /dev
4 Summary(pl):    Pliki specjalne /dev/*
5 Summary(tr):    /dev dizini
6 Name:           dev
7 Version:        2.9.0
8 Release:        0.1
9 License:        Public Domain
10 Group:          Base
11 Source0:        dev-list.bz2
12 # Source0-md5:  4808891f6317383850ff826c31a1e797
13 PreReq:         setup >= 2.4.1-2
14 Provides:       devfs
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Autoreqprov:    no
17
18 %description
19 Unix and unix like systems (including Linux) use file system entries
20 to represent devices attached to the machine. All of these entries are
21 in the /dev tree (though they don't have to be), and this package
22 contains the most commonly used /dev entries. These files are
23 essential for a system to function properly.
24
25 %description -l de
26 Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
27 Einträge zum Darstellen angeschlossener Geräte. Diese Einträge
28 befinden sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses
29 Paket enthält die üblichsten /dev-Einträge. Diese Dateien sind für das
30 Funktionieren eines Systems unbedingt erforderlich.
31
32 %description -l fr
33 Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
34 représenter les périphériques reliés à la machine. Toutes ces entrées
35 sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
36 contient les entrées /dev les plus courantes. Elles sont essentielles
37 pour qu'un système fonctionne correctement.
38
39 %description -l pl
40 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
41 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
42 znajduj± siê zwykle w katalogu /dev. Pakiet ten zawiera wiêkszo¶æ
43 popularnych plików specjalnych, s± one jedn± z wa¿niejszych czê¶ci
44 prawid³owo dzia³aj±cego systemu operacyjnego.
45
46 %description -l tr
47 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya
48 baðlý aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel
49 dosyalarýn tümü /dev dizin yapýsý altýndadýr. Bu paket en çok
50 kullanýlan /dev dosyalarýný içerir. Bu dosyalar, bir sistemin düzgün
51 olarak iþleyebilmesi için temel gereksinimlerdendir.
52
53 %prep
54 %setup -q -c -T
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT/dev/cpu/{0,1,2,3,4,5,6,7} \
59         $RPM_BUILD_ROOT/dev/{ataraid,cciss,cdroms,discs,i2o,ida,input,net,pts,raw,rd,usb}
60
61 bunzip2 -dc %{SOURCE0} > dev-list
62
63 cd $RPM_BUILD_ROOT/dev
64 ln -sf adsp0 adsp
65 ln -sf amidi0 amidi
66 ln -sf audio0 audio
67 ln -sf dsp0 dsp
68 ln -sf fb0 fb
69 ln -sf rft0 ftape
70 ln -sf isdnctrl0 isdnctrl
71 ln -sf midi00 midi
72 ln -sf mixer0 mixer
73 ln -sf nrft0 nftape
74 ln -sf ram0 ramdisk
75
76 %ifarch sparc
77 ln -sf sunmouse mouse
78 %endif
79
80 %ifarch m68k
81 ln -sf amigamouse mouse
82 %endif
83
84 %ifarch ppc
85 ln -sf adbmouse mouse
86 %endif
87
88 %files -f dev-list
89 %defattr(644,root,root,755)
90 %dir /dev/cpu
91 %dir /dev/cpu/0
92 %dir /dev/cpu/1
93 %dir /dev/cpu/2
94 %dir /dev/cpu/3
95 %dir /dev/cpu/4
96 %dir /dev/cpu/5
97 %dir /dev/cpu/6
98 %dir /dev/cpu/7
99 %dir /dev/ataraid
100 %dir /dev/cciss
101 %dir /dev/cdroms
102 %dir /dev/discs
103 %dir /dev/i2o
104 %dir /dev/ida
105 %dir /dev/input
106 %dir /dev/net
107 %dir /dev/pts
108 %dir /dev/raw
109 %dir /dev/rd
110 %dir /dev/usb
111 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/adsp
112 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/amidi
113 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/audio
114 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/dsp
115 %config(noreplace) %verify(not link) %attr(644,root,root) /dev/fb
116 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/ftape
117 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
118 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/midi
119 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
120 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
121 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
122
123 %ifarch %{ix86}
124 %dev(c,10,184) %attr(666,root,root) /dev/cpu/microcode
125 %dev(c,10,181) %attr(666,root,root) /dev/toshiba
126 %endif
127
128 %ifarch sparc m68k
129 # XXX: which permissions???
130 %dev(c,11,00 %attr(600,root,root) /dev/kbd
131 %endif
132
133 %ifarch m68k
134 # XXX: which permissions???
135 %dev(c,10,4) %attr(664,root,root) /dev/amigamouse
136 %dev(c,10,5) %attr(664,root,root) /dev/atarimouse
137 %dev(c,10,7) %attr(664,root,root) /dev/apollomouse
138 # XXX: what's that???
139 %dev(b,2,4) /dev/fdhd0
140 %dev(b,2,5) /dev/fdhd1 
141 %endif
142
143 %ifarch ppc
144 %dev(c,56,0) %attr(644,root,root) /dev/adb*
145 %dev(c,10,10) %attr(644,root,root) /dev/adbmouse
146 %dev(c,10.154) %attr(644,root,root) /dev/pmu
147 %dev(c,10,198) %attr(644,root,root) /dev/sheep_net
148 %endif
149
150 %ifarch sparc
151 # XXX: which permissions ???
152 %dev(c,10,139) %attr(600,root,root) /dev/openprom
153 %dev(c,10,6) %attr(664,root,root) /dev/sunmouse
154 %endif
155
156 %ifnarch sparc m68k
157 %dev(c,10,3) %attr(664,root,root) /dev/atibm
158 %dev(b,29,0) %attr(660,root,disk) /dev/aztcd
159 %dev(b,15,0) %attr(660,root,disk) /dev/cdu31a
160 %dev(b,24,0) %attr(660,root,disk) /dev/cdu535
161 %dev(b,32,0) %attr(660,root,disk) /dev/cm206cd
162 %dev(b,16,0) %attr(660,root,disk) /dev/gscd
163 %dev(c,10,2) %attr(664,root,root) /dev/inportbm
164 %dev(c,10,0) %attr(664,root,root) /dev/logibm
165 %dev(b,23,0) %attr(660,root,disk) /dev/mcd
166 %dev(c,10,1) %attr(664,root,root) /dev/psaux
167 %dev(b,25,0) %attr(660,root,disk) /dev/sbpcd
168 %dev(b,25,0) %attr(660,root,disk) /dev/sbpcd0
169 %dev(b,25,1) %attr(660,root,disk) /dev/sbpcd1
170 %dev(b,25,2) %attr(660,root,disk) /dev/sbpcd2
171 %dev(b,25,3) %attr(660,root,disk) /dev/sbpcd3
172 %dev(b,18,0) %attr(660,root,disk) /dev/sjcd
173 %dev(b,15,0) %attr(660,root,disk) /dev/sonycd
174 %endif
This page took 0.047642 seconds and 4 git commands to generate.