]> git.pld-linux.org Git - packages/MAKEDEV.git/blob - MAKEDEV.spec
- bcond without selinux added
[packages/MAKEDEV.git] / MAKEDEV.spec
1 #
2 # Conditional build:
3 %bcond_without  selinux         # build without SELinux support
4 #
5 Summary:        Program to make and update /dev entries
6 Summary(de):    Script zum Erstellen und Aktualisieren von /dev-Einträgen
7 Summary(es):    Script para hacer y actualizar entradas referentes a dispositivos en /dev
8 Summary(fr):    Script pour créer et mettre à jour les entrées /dev
9 Summary(pl):    Program do tworzenia i poprawiania urz±dzeñ z /dev
10 Summary(pt_BR): Script para fazer e atualizar entradas referentes a dispositivos em /dev
11 Summary(tr):    Aygýt tanýmý yapmak ve deðiþtirmek için bir araç
12 Name:           MAKEDEV
13 Version:        3.13
14 Release:        2
15 License:        GPL v2+
16 Group:          Applications/System
17 Source0:        %{name}-%{version}-1.tar.gz
18 # Source0-md5:  f8befaebd0813c6fa59c07ef3875f232
19 Patch0:         %{name}-ub.patch
20 BuildRequires:  libselinux-devel >= 0:1.8
21 Requires:       libselinux >= 0:1.8
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _bindir         /sbin
25
26 %description
27 The /dev tree holds special files, each of which corresponds to a type
28 of hardware device that Linux supports. This package contains a
29 program which makes it easier to create and maintain the files which
30 fill the /dev tree.
31
32 %description -l de
33 Die /dev-Hierarchie enthält spezielle Dateien, von denen jede einem
34 Hardwaregerättyp entspricht, der von Linux unterstützt wird. Dieses
35 Paket enthält ein Skript, das die Erstellung und die Pflege der
36 Dateien innerhalb dieser Hierarchie vereinfacht.
37
38 %description -l es
39 El directorio /dev posee archivos especiales, cada uno de ellos
40 correspondiendo a un tipo de dispositivo de hardware que Linux
41 soporta. Este paquete contiene un script que hace más fácil la
42 creación y manutención de los archivos en el directorio /dev.
43
44 %description -l fr
45 L'arborescence /dev contient des fichiers spéciaux. Chacun d'eux
46 correspond à un périphérique matériel gérable par Linux. Ce paquetage
47 contient un script facilitant la création et la maintenance des
48 fichiers qui remplissent l'arborescence /dev.
49
50 %description -l pl
51 Pliki specjalne znajduj±ce siê w katalogu /dev odpowiadaj±
52 urz±dzeniom, które s± obs³ugiwane przez Linuksa. Pakiet ten zawiera
53 program, który uczyni tworzenie i operowanie tymi plikami ³atwiejszym.
54
55 %description -l pt_BR
56 O diretório /dev possui arquivos especiais, cada um deles
57 correspondendo a um tipo de dispositivo de hardware que o Linux
58 suporta. Este pacote contém um script que torna mais fácil a criação
59 e manutenção dos arquivos no diretório /dev.
60
61 %description -l tr
62 Unix ve Unix benzeri sistemler (Linux da dahil olmak üzere), makinaya
63 baðlý aygýtlarý göstermek için özel dosyalar kullanýrlar. Bu özel
64 dosyalarýn tümü /dev dizin yapýsý altýndadýr. Bu paket en çok
65 kullanýlan /dev dosyalarýný içerir. Bu dosyalar, bir sistemin düzgün
66 olarak iþleyebilmesi için temel gereksinimlerdendir.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 %{__make} \
74         CC="%{__cc}" \
75         OPTFLAGS="%{rpmcflags} %{rpmldflags}" \
76         %{?with_selinux:SELINUX=1}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84         devdir=/dev \
85         makedevdir=/sbin
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/MAKEDEV
93 %attr(755,root,root) %{_sbindir}/*
94 %{_mandir}/man8/*
95 %config %{_sysconfdir}/makedev.d
This page took 0.144258 seconds and 3 git commands to generate.