]> git.pld-linux.org Git - packages/dev.git/blobdiff - dev.spec
- release 8
[packages/dev.git] / dev.spec
index d85980a67d2d93a1759c978bfd313e211db684bb..4f2f466fd57cd3489dc7948a536255546dbbd0b9 100644 (file)
--- a/dev.spec
+++ b/dev.spec
@@ -5,15 +5,14 @@ Summary(pl):  Pliki specjalne /dev/*
 Summary(tr):   /dev dizini
 Name:          dev
 Version:       2.9.0
-Release:       1
+Release:       8
 License:       Public Domain
 Group:         Base
-Source0:       dev-list.bz2
-# Source0-md5: 4808891f6317383850ff826c31a1e797
+Source0:       dev-list
 PreReq:                setup >= 2.4.1-2
 Provides:      devfs
+AutoReqProv:   no
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Autoreqprov:   no
 
 %description
 Unix and unix like systems (including Linux) use file system entries
@@ -56,9 +55,10 @@ olarak i
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/dev/{ataraid,cciss,cdroms,cpu/{0,1,2,3,4,5,6,7}} \
-       $RPM_BUILD_ROOT/dev/{discs,i2o,ida,input,net,pts,raw,rd,usb}
+       $RPM_BUILD_ROOT/dev/{discs,i2o,ida,input,net,pts,raw,rd,usb,shm,snd} \
+       $RPM_BUILD_ROOT/dev/mapper
 
-bunzip2 -dc %{SOURCE0} > dev-list
+install %{SOURCE0} .
 
 cd $RPM_BUILD_ROOT/dev
 ln -sf adsp0 adsp
@@ -77,7 +77,7 @@ ln -sf em8300-0    em8300
 ln -sf em8300_ma-0 em8300_ma
 ln -sf em8300_mv-0 em8300_mv
 ln -sf em8300_sp-0 em8300_sp
-for i in 0 1 2 3 4 5 6 7; do
+for i in `seq 0 31`; do
        ln -sf fb$i fb${i}current
 done
 ln -sf /proc/self/fd fd
@@ -91,16 +91,15 @@ for l in a b c d e f g h; do
 done
 ln -sf radio0 radio
 ln -sf music sequencer2
-ln -sf /proc/asound/dev snd
 ln -sf vbi0 vbi
 ln -sf video0 video
 ln -sf vtx0 vtx
 
 # prepared for SysVinit
-mknod initctl p
+mkfifo initctl
 
-mknod lircm p
-mknod printer p
+mkfifo lircm
+mkfifo printer
 
 # prepared for Log Daemon
 mkfifo syslog
@@ -117,6 +116,12 @@ ln -sf adbmouse mouse
 ln -sf sunmouse mouse
 %endif
 
+# PLD-forklor:
+ln -sf null drzewo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files -f dev-list
 %defattr(644,root,root,755)
 %dir /dev/cpu
@@ -140,11 +145,12 @@ ln -sf sunmouse mouse
 %dir /dev/raw
 %dir /dev/rd
 %dir /dev/usb
+%dir /dev/mapper
 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/adsp
 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/amidi
 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/audio
 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/dsp
-%config(noreplace) %verify(not link) %attr(664,root,video) /dev/fb
+%config(noreplace) %verify(not link) %attr(660,root,video) /dev/fb
 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ftape
 %config(noreplace) %verify(not link) %attr(600,root,root) /dev/isdnctrl
 %config(noreplace) %verify(not link) %attr(660,root,audio) /dev/midi
@@ -152,7 +158,7 @@ ln -sf sunmouse mouse
 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/nftape
 %config(noreplace) %verify(not link) %attr(660,root,disk) /dev/ramdisk
 %attr(660,root,video) /dev/em8300*
-%attr(664,root,video) /dev/fb[0-7]current
+%attr(660,root,video) /dev/fb[0-9]*current
 /dev/fd
 /dev/stdin
 /dev/stdout
@@ -160,7 +166,8 @@ ln -sf sunmouse mouse
 %attr(660,root,video) /dev/radio
 %attr(660,root,audio) /dev/sequencer2
 %attr(600,root,root) /dev/sg[0-7]
-/dev/snd
+%dir /dev/shm
+%dir /dev/snd
 %attr(660,root,video) /dev/vbi
 %attr(660,root,video) /dev/video
 %attr(660,root,video) /dev/vtx
@@ -168,6 +175,20 @@ ln -sf sunmouse mouse
 %attr(660,root,root) /dev/lircm
 %attr(600,root,root) /dev/printer
 %attr(666,root,root) /dev/syslog
+%attr(666,root,root) /dev/drzewo
+
+%dev(c,10,165) %attr(640,root,root) /dev/vmmon
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet0
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet1
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet2
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet3
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet4
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet5
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet6
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet7
+%dev(c,119,10) %attr(640,root,root) /dev/vmnet8
+
+%dev(c,10,63) %attr(660,root,disk) /dev/mapper/control
 
 %ifarch %{ix86}
 %dev(c,10,184) %attr(666,root,root) /dev/cpu/microcode
This page took 0.028018 seconds and 4 git commands to generate.