- rel 10; more sgXX devices
[packages/dev.git] / dev.spec
CommitLineData
d2e2d9e9 1Summary: /dev entries
46cb85af
ER
2Summary(de.UTF-8): /dev-Einträge
3Summary(fr.UTF-8): Entrées de /dev
4Summary(pl.UTF-8): Pliki specjalne /dev/*
5Summary(tr.UTF-8): /dev dizini
d2e2d9e9 6Name: dev
29e4d96d 7Version: 3.4
49252fd5 8Release: 10
ab207240 9License: Public Domain
d2e2d9e9 10Group: Base
3fa37532 11Source0: %{name}-list
006d5e9f 12Requires: setup >= 2.6.1-1
17fb831c 13Provides: devfs
13e9701d 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d2e2d9e9 15
16%description
0f777298 17Unix and Unix-like systems (including Linux) use file system entries
82e05ac6 18to represent devices attached to the machine. All of these entries are
19in the /dev tree (though they don't have to be), and this package
20contains the most commonly used /dev entries. These files are
21essential for a system to function properly.
d2e2d9e9 22
1bf0399d
JR
23%description -l de.UTF-8
24Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
25Einträge zum Darstellen angeschlossener Geräte. Diese Einträge
b11e1d71 26befinden sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses
1bf0399d 27Paket enthält die üblichsten /dev-Einträge. Diese Dateien sind für das
b11e1d71 28Funktionieren eines Systems unbedingt erforderlich.
d2e2d9e9 29
1bf0399d
JR
30%description -l fr.UTF-8
31Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
32représenter les périphériques reliés à la machine. Toutes ces entrées
d2e2d9e9 33sont dans l'arborescence /dev (ce n'est pas obligatoire). Ce paquetage
1bf0399d
JR
34contient les entrées /dev les plus courantes. Elles sont essentielles
35pour qu'un système fonctionne correctement.
36
37%description -l pl.UTF-8
38Wszystkie systemy klasy unices, w tym Linux, używają plików do
39przedstawiania urządzeń podłączonych do komputera. Wszystkie te pliki
40znajdują się zwykle w katalogu /dev. Pakiet ten zawiera większość
41popularnych plików specjalnych, są one jedną z ważniejszych części
42prawidłowo działającego systemu operacyjnego.
43
44%description -l tr.UTF-8
45Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya
46bağlı aygıtları göstermek için özel dosyalar kullanırlar. Bu özel
47dosyaların tümü /dev dizin yapısı altındadır. Bu paket en çok
48kullanılan /dev dosyalarını içerir. Bu dosyalar, bir sistemin düzgün
49olarak işleyebilmesi için temel gereksinimlerdendir.
d2e2d9e9 50
d2e2d9e9 51%prep
52%setup -q -c -T
436fc26f
AF
53
54%install
d647cfd2 55rm -rf $RPM_BUILD_ROOT
39858879 56install -d $RPM_BUILD_ROOT/dev/{ataraid,cciss,cdemu,cdroms,cpu/{0,1,2,3,4,5,6,7},cgroup,cpuset} \
48f5e101 57 $RPM_BUILD_ROOT/dev/{discs,dri,etherd,i2o,ida,input,mapper,net,pts,raw,rd,usb,shm,snd,zap}
d2e2d9e9 58
858a875c 59install %{SOURCE0} .
d2e2d9e9 60
3ee3c022
TP
61cd $RPM_BUILD_ROOT/dev
62ln -sf adsp0 adsp
63ln -sf amidi0 amidi
64ln -sf audio0 audio
65ln -sf dsp0 dsp
66ln -sf fb0 fb
67ln -sf rft0 ftape
68ln -sf isdnctrl0 isdnctrl
69ln -sf midi00 midi
70ln -sf mixer0 mixer
71ln -sf nrft0 nftape
72ln -sf ram0 ramdisk
d2e2d9e9 73
746c3f8d 74ln -sf em8300-0 em8300
75ln -sf em8300_ma-0 em8300_ma
76ln -sf em8300_mv-0 em8300_mv
77ln -sf em8300_sp-0 em8300_sp
6530ec48 78for i in `seq 0 31`; do
54d93ebf
TP
79 ln -sf fb$i fb${i}current
80done
81ln -sf /proc/self/fd fd
82ln -sf fd/0 stdin
83ln -sf fd/1 stdout
84ln -sf fd/2 stderr
85i=0;
49252fd5 86for l in a b c d e f g h i j k l m n o p; do
54d93ebf
TP
87 ln -sf sg$l sg$i
88 i=$((i+1))
89done
90ln -sf radio0 radio
91ln -sf music sequencer2
54d93ebf
TP
92ln -sf vbi0 vbi
93ln -sf video0 video
94ln -sf vtx0 vtx
95
96# prepared for SysVinit
d700cf91 97mkfifo initctl
54d93ebf 98
d700cf91
JB
99mkfifo lircm
100mkfifo printer
54d93ebf
TP
101
102# prepared for Log Daemon
103mkfifo syslog
d2e2d9e9 104
ba7010c3 105%ifarch m68k
d647cfd2 106ln -sf amigamouse mouse
ba7010c3
JB
107%endif
108
4ef9b6a3 109%ifarch ppc
cecd8d3b 110ln -sf adbmouse mouse
4ef9b6a3
MC
111%endif
112
a899e888 113%ifarch sparc sparc64 sparcv9
54d93ebf
TP
114ln -sf sunmouse mouse
115%endif
116
b05aece3
PG
117# PLD-forklor:
118ln -sf null drzewo
119
858a875c
TP
120%clean
121rm -rf $RPM_BUILD_ROOT
122
3ee3c022 123%files -f dev-list
d2e2d9e9 124%defattr(644,root,root,755)
48f5e101
JB
125%dir /dev/ataraid
126%dir /dev/cciss
127%dir /dev/cdemu
18af7515 128%dir /dev/cgroup
3ee3c022
TP
129%dir /dev/cpu
130%dir /dev/cpu/0
131%dir /dev/cpu/1
132%dir /dev/cpu/2
133%dir /dev/cpu/3
134%dir /dev/cpu/4
135%dir /dev/cpu/5
136%dir /dev/cpu/6
137%dir /dev/cpu/7
cbd87d45 138%dir /dev/cpuset
d52c66d0 139%dir /dev/dri
266183e3
JB
140%attr(750,root,disk) %dir /dev/cdroms
141%attr(750,root,disk) %dir /dev/discs
48f5e101 142%dir /dev/etherd
3ee3c022
TP
143%dir /dev/i2o
144%dir /dev/ida
145%dir /dev/input
48f5e101 146%dir /dev/mapper
3ee3c022
TP
147%dir /dev/net
148%dir /dev/pts
149%dir /dev/raw
150%dir /dev/rd
151%dir /dev/usb
11fe76dc 152%dir /dev/zap
f3726469 153%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/adsp
f3726469 154%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/amidi
196a776c 155%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/audio
196a776c 156%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/dsp
22c0d4f1 157%config(noreplace) %verify(not link) %attr(660,root,video) /dev/fb
54d93ebf 158%config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ftape
436fc26f 159%config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
af62a42b 160%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/midi
c14440db 161%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
54d93ebf 162%config(noreplace) %verify(not link) %attr(660,root,disk) /dev/nftape
436fc26f 163%config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
54d93ebf 164%attr(660,root,video) /dev/em8300*
22c0d4f1 165%attr(660,root,video) /dev/fb[0-9]*current
54d93ebf
TP
166/dev/fd
167/dev/stdin
168/dev/stdout
169/dev/stderr
170%attr(660,root,video) /dev/radio
171%attr(660,root,audio) /dev/sequencer2
49252fd5
AM
172%attr(600,root,root) /dev/sg[0-9]
173%attr(600,root,root) /dev/sg1[0-5]
427f5ee1 174%attr(1777,root,root) %dir /dev/shm
2f7edf0f 175%dir /dev/snd
54d93ebf
TP
176%attr(660,root,video) /dev/vbi
177%attr(660,root,video) /dev/video
178%attr(660,root,video) /dev/vtx
179%attr(600,root,root) /dev/initctl
180%attr(660,root,root) /dev/lircm
181%attr(600,root,root) /dev/printer
182%attr(666,root,root) /dev/syslog
b05aece3 183%attr(666,root,root) /dev/drzewo
d2e2d9e9 184
ff23f95d 185%ifarch %{ix86}
3ee3c022 186%dev(c,10,181) %attr(666,root,root) /dev/toshiba
067e3978 187%dev(c,212,0) %attr(600,root,root) /dev/slamr0
188%dev(c,213,0) %attr(600,root,root) /dev/slusb0
d52c66d0 189%dev(c,226,0) %attr(660,root,video) /dev/dri/card0
ce8820cb 190%dev(c,226,1) %attr(660,root,video) /dev/dri/card1
191%dev(c,226,2) %attr(660,root,video) /dev/dri/card2
192%dev(c,226,3) %attr(660,root,video) /dev/dri/card3
193%dev(c,226,4) %attr(660,root,video) /dev/dri/card4
194%dev(c,226,5) %attr(660,root,video) /dev/dri/card5
195%dev(c,226,6) %attr(660,root,video) /dev/dri/card6
196%dev(c,226,7) %attr(660,root,video) /dev/dri/card7
5ad14e49 197%endif
ba7010c3 198
60d5184c
JR
199%ifarch %{ix86} %{x8664}
200%dev(c,10,227) %attr(600,root,root) /dev/mcelog
05c1641b 201%dev(c,10,184) %attr(666,root,root) /dev/cpu/microcode
60d5184c
JR
202%endif
203
ba7010c3 204%ifarch m68k
54d93ebf 205%dev(b,2,4) %attr(660,root,floppy) /dev/fdhd0
3fa37532 206%dev(b,2,5) %attr(660,root,floppy) /dev/fdhd1
ba7010c3 207# XXX: which permissions???
3ee3c022 208%dev(c,10,4) %attr(664,root,root) /dev/amigamouse
54d93ebf 209%attr(664,root,root) /dev/mouse
3ee3c022
TP
210%dev(c,10,5) %attr(664,root,root) /dev/atarimouse
211%dev(c,10,7) %attr(664,root,root) /dev/apollomouse
ba7010c3
JB
212%endif
213
cecd8d3b 214%ifarch ppc
1c6a9d2f
ER
215%dev(c,56,0) /dev/adb
216%dev(c,10,10) /dev/adbmouse
217/dev/mouse
218%dev(c,10,154) /dev/pmu
219%dev(c,10,198) /dev/sheep_net
cecd8d3b
MC
220%endif
221
c54de6ab
JB
222%ifarch sparc sparc64 sparcv9
223%dev(c,14,7) %attr(660,root,audio) /dev/audioctl
ba7010c3 224# XXX: which permissions ???
3ee3c022
TP
225%dev(c,10,139) %attr(600,root,root) /dev/openprom
226%dev(c,10,6) %attr(664,root,root) /dev/sunmouse
54d93ebf
TP
227%attr(664,root,root) /dev/mouse
228%endif
229
8f184aba 230%ifarch m68k sparc sparc64 sparcv9
54d93ebf
TP
231# XXX: which permissions???
232%dev(c,11,00) %attr(600,root,root) /dev/kbd
ba7010c3
JB
233%endif
234
8f184aba 235%ifnarch m68k sparc sparc64 sparcv9
3ee3c022
TP
236%dev(c,10,3) %attr(664,root,root) /dev/atibm
237%dev(b,29,0) %attr(660,root,disk) /dev/aztcd
238%dev(b,15,0) %attr(660,root,disk) /dev/cdu31a
239%dev(b,24,0) %attr(660,root,disk) /dev/cdu535
240%dev(b,32,0) %attr(660,root,disk) /dev/cm206cd
241%dev(b,16,0) %attr(660,root,disk) /dev/gscd
242%dev(c,10,2) %attr(664,root,root) /dev/inportbm
243%dev(c,10,0) %attr(664,root,root) /dev/logibm
244%dev(b,23,0) %attr(660,root,disk) /dev/mcd
245%dev(c,10,1) %attr(664,root,root) /dev/psaux
246%dev(b,25,0) %attr(660,root,disk) /dev/sbpcd
247%dev(b,25,0) %attr(660,root,disk) /dev/sbpcd0
248%dev(b,25,1) %attr(660,root,disk) /dev/sbpcd1
249%dev(b,25,2) %attr(660,root,disk) /dev/sbpcd2
250%dev(b,25,3) %attr(660,root,disk) /dev/sbpcd3
251%dev(b,18,0) %attr(660,root,disk) /dev/sjcd
252%dev(b,15,0) %attr(660,root,disk) /dev/sonycd
ba7010c3 253%endif
This page took 0.130805 seconds and 5 git commands to generate.