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