Name: dev
Version: 2.7.7
Release: 7
-Source: %{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
Copyright: public domain
Group: Base
Group(pl): Podstawowe
%description
Unix and unix like systems (including Linux) use file system entries
-to represent devices attached to the machine. All of these entries
-are in the /dev tree (though they don't have to be), and this package
-contains the most commonly used /dev entries. These files are essential
-for a system to function properly.
+to represent devices attached to the machine. All of these entries are
+in the /dev tree (though they don't have to be), and this package
+contains the most commonly used /dev entries. These files are
+essential for a system to function properly.
%description -l pl
-Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do przedstawiania
-urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki znajduj± siê zwykle w
-katalogu /dev. Pakiet ten zawiera wiêkszo¶æ popularnych plików specjalnych,
-s± one jedn± z wa¿niejszych czê¶ci prawid³owo dzia³aj±cego systemu operacyjnego.
+Wszystkie systemy unixowe, w tym Linux, u¿ywaj± plików do
+przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
+znajduj± siê zwykle w katalogu /dev. Pakiet ten zawiera wiêkszo¶æ
+popularnych plików specjalnych, s± one jedn± z wa¿niejszych czê¶ci
+prawid³owo dzia³aj±cego systemu operacyjnego.
%description -l fr
Unix et les systèmes apparentés (dont Linux) utilise des fichiers pour
pour qu'un système fonctionne correctement.
%description -l tr
-Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya baðlý
-aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel dosyalarýn tümü
-/dev dizin yapýsý altýndadýr. Bu paket en çok kullanýlan /dev dosyalarýný
-içerir. Bu dosyalar, bir sistemin düzgün olarak iþleyebilmesi için temel
-gereksinimlerdendir.
+Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya
+baðlý aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel
+dosyalarýn tümü /dev dizin yapýsý altýndadýr. Bu paket en çok
+kullanýlan /dev dosyalarýný içerir. Bu dosyalar, bir sistemin düzgün
+olarak iþleyebilmesi için temel gereksinimlerdendir.
%description -l de
Unix und Unix-ähnliche Systeme (inkl. Linux) verwenden Dateisystem-
-Einträge zum Darstellen angeschlossener Geräte. Diese Einträge befinden
-sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses Paket enthält
-die üblichsten /dev-Einträge. Diese Dateien sind für das Funktionieren
-eines Systems unbedingt erforderlich.
+Einträge zum Darstellen angeschlossener Geräte. Diese Einträge
+befinden sich (nicht notwendigerweise) im Verzeichnis /dev. Dieses
+Paket enthält die üblichsten /dev-Einträge. Diese Dateien sind für das
+Funktionieren eines Systems unbedingt erforderlich.
%prep
%setup -q -c -T
#add group for floppy and console
# if setup contains this group then remove next 4 lines
-#grep '^floppy:' /etc/group >/dev/null \
+#grep '^floppy:' /etc/group >/dev/null \
# || groupadd -g 19 -r -f floppy >/dev/null
#grep '^console:' /etc/group >/dev/null \
# || groupadd -g 20 -f -r console >/dev/null
ln -s music sequencer2
+mknode aloadC0 c 116 0
+mknode aloadC1 c 116 32
+mknode aloadC2 c 116 64
+mknode aloadC3 c 116 96
+mknode aloadSEQ c 116 1
+
+mknode amixer0 c 14 11
+mknode amixer1 c 14 27
+mknode amixer2 c 14 43
+mknode amixer3 c 14 59
+
#raid
mknode md0 b 9 0
mknode md1 b 9 1
#temporary
install -d $RPM_BUILD_ROOT/proc/asound
-touch $RPM_BUILD_ROOT/proc/asound/snd
+touch $RPM_BUILD_ROOT/proc/asound/dev
-ln -s ../proc/asound/snd snd
+ln -s ../proc/asound/dev snd
# prepared for SysVinit
mknode initctl p
#prepared for Log Daemon
mkfifo --mode=666 syslog
-#knfsd char dev
-mknode nfsd_netlink c 36 4
-
#libsvga char dev helpers
mknod svga c 209 0
mknod svga1 c 209 1
mknod svga3 c 209 3
mknod svga4 c 209 4
+#ipsec character device
+mknod ipsec c 36 10
+
%clean
rm -rf $RPM_BUILD_ROOT
%attr(640,root,kmem) /dev/kmem
#l#
-%attr(666,root,root) /dev/log
%attr(664,root,root) /dev/logibm
%attr(660,root,disk) /dev/loop*
%attr(640,root,disk) /dev/mcd
%attr(640,root,kmem) /dev/mem
%config(noreplace) %verify(not link) %attr(662,root,sys) /dev/midi
-%attr(662,root, sys) /dev/midi?*
+%attr(662,root,audio) /dev/midi?*
%config(noreplace) %verify(not link) %attr(660,root,audio) /dev/mixer
-%attr(660,root, audio) /dev/mixer?*
+%attr(660,root,audio) /dev/mixer?*
%attr(660,root, sys) /dev/mmetfgrab
%attr(600,root,root) /dev/mpu401*
-%attr(662,root, sys) /dev/music
+%attr(660,root,audio) /dev/music
%attr(600,root, root) /dev/md*
#n#
%attr(660,root,disk) /dev/nb*
%config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
-%attr(600,root,root) /dev/nfsd_netlink
%attr(660,root,disk) /dev/nht*
%attr(660,root,disk) /dev/nqft*
%attr(660,root,disk) /dev/nrawqft*
%attr(644,root,root) /dev/random
%attr(660,root,disk) /dev/rawqft*
%attr(660,root,disk) /dev/rft*
-%attr(660,root, sys) /dev/rmidi*
+%attr(660,root,audio) /dev/rmidi*
%attr(660,root,disk) /dev/rmt*
%attr(644,root,root) /dev/route
%attr(664,root,root) /dev/rtc
%attr(660,root,disk) /dev/scd*
%attr(660,root,disk) /dev/sd*
-%attr(662,root,sys) /dev/sequencer
-%attr(662,root,sys) /dev/sequencer2
+%attr(660,root,audio) /dev/sequencer
+%attr(660,root,audio) /dev/sequencer2
%attr(600,root,root) /dev/sg*
%attr(664,root,root) /dev/sjcd