]> git.pld-linux.org Git - packages/sdparm.git/blob - sdparm.spec
a10da5dd745a3d857809234a86b091aec442d22f
[packages/sdparm.git] / sdparm.spec
1 Summary:        sdparm - listing and changing SCSI disk parameters
2 Summary(pl.UTF-8):      sdparm - wyświetlanie i zmiana parametrów dysków SCSI
3 Name:           sdparm
4 Version:        1.11
5 Release:        1
6 License:        BSD
7 Group:          Applications/System
8 Source0:        http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
9 # Source0-md5:  12250299825966c04713252f88ae92e0
10 Patch0:         %{name}-am.patch
11 URL:            http://sg.danny.cz/sg/sdparm.html
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  sg3_utils-devel >= 1.26
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xz
17 # for scsi_ch_swp
18 Suggests:       blockdev
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 sdparm is a utility for listing and potentially changing SCSI disk
23 parameters. More generally it can be used on any device that uses a
24 SCSI command set. Apart from SCSI disks, examples of devices that use
25 SCSI command sets are ATAPI CD/DVD drives, SCSI and ATAPI tape drives
26 and SCSI enclosures.
27
28 %description -l pl.UTF-8
29 sdparm to narzędzie do wyświetlania i ewentualnej zmiany parametrów
30 dysków SCSI. Bardziej ogólnie może być używane z każdym urządzeniem
31 używającym zestawu poleceń SCSI. Oprócz dysków SCSI przykładami takich
32 urządzeń mogą być napędy CD/DVD ATAPI, napędy taśmowe SCSI i ATAPI
33 oraz zewnętrzne macierze SCSI.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS COPYING CREDITS ChangeLog README
58 %attr(755,root,root) %{_bindir}/sas_disk_blink
59 %attr(755,root,root) %{_bindir}/scsi_ch_swp
60 %attr(755,root,root) %{_bindir}/sdparm
61 %{_mandir}/man8/sas_disk_blink.8*
62 %{_mandir}/man8/scsi_ch_swp.8*
63 %{_mandir}/man8/sdparm.8*
This page took 0.0738 seconds and 2 git commands to generate.