]> git.pld-linux.org Git - SPECS.git/blob - prtdiag.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / prtdiag.spec
1 Summary:        A tool that generates report of the hardware
2 Summary(pl.UTF-8):      Narzędzie do generowania raportu na temat urządzeń komputera
3 Name:           prtdiag
4 Version:        1.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://people.redhat.com/tcallawa/prtdiag/%{name}-%{version}.tar.bz2
9 # Source0-md5:  08aa8468294aca3d3d622d8be70177ab
10 URL:            http://people.redhat.com/tcallawa/prtdiag/
11 Requires:       bash
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Prtdiag is a bash script that generates a report that describes the
16 state of the hardware on the running machine.
17
18 %description -l pl.UTF-8
19 Prtdiag jest skryptem napisanym w bashu, który generuje raport
20 dotyczący stanu urządzeń znajdujących się w komputerze.
21
22 %prep
23 %setup -q
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},%{_mandir}/man8}
28
29 install prtdiag $RPM_BUILD_ROOT%{_sbindir}
30 install prtdiag.cfg $RPM_BUILD_ROOT%{_sysconfdir}
31 gzip -dc prtdiag.8.gz > $RPM_BUILD_ROOT%{_mandir}/man8/prtdiag.8
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc CHANGELOG README AUTHORS
39 %attr(755,root,root) %{_sbindir}/*
40 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/prtdiag.cfg
41 %{_mandir}/man8/*
This page took 0.071816 seconds and 3 git commands to generate.