]> git.pld-linux.org Git - SPECS.git/blob - scsidev.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / scsidev.spec
1 Summary:        scsidev - alternative scheme for SCSI devices
2 Summary(pl.UTF-8):      scsidev - alternatywny sposób nazywania urządzeń SCSI
3 Name:           scsidev
4 Version:        2.37
5 Release:        1
6 Epoch:          1
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://www.garloff.de/kurt/linux/scsidev/%{name}-%{version}.tar.gz
10 # Source0-md5:  e3f2116f5b069503fda62363634dc4c6
11 Patch0:         %{name}-makefile.patch
12 URL:            http://www.garloff.de/kurt/linux/scsidev/#scsidev
13 BuildRequires:  autoconf
14 Obsoletes:      scsiutils
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _bindir         /sbin
18
19 %description
20 If your SCSI config changes from time to time, e.g. because you have
21 external devices which are not always switched on or connected then
22 the kernel's mapping to the device nodes is not always the way you
23 would expect it. This program creates a mapping which remains
24 unchanged in most of these cases.
25
26 %description -l pl.UTF-8
27 Jeżeli konfiguracja SCSI zmienia się w czasie, np. ponieważ urządzenia
28 zewnętrzne nie są zawsze podłączone lub włączone, mapowania jądra
29 dotyczące urządzeń SCSI nie są takie same. Ten program tworzy
30 mapowanie nie zmieniające się w większości przypadków.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__autoconf}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc CHANGES README TODO
53 %attr(755,root,root) %{_bindir}/scsidev
54 %{_mandir}/man8/scsidev.8*
This page took 0.174259 seconds and 3 git commands to generate.