]> mj.ucw.cz Git - pciutils.git/blob - pciutils.spec
e4326cefe4e167348965673a9be0c625263d66db
[pciutils.git] / pciutils.spec
1 Name:           pciutils
2 Version:        1.08
3 Release:        1
4 Source:         ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
5 Copyright:      GNU GPL
6 Buildroot:      /tmp/%{name}-%{version}-root
7 ExclusiveOS:    Linux
8 Summary:        Linux PCI Utilities
9 Summary(pl):    Narzêdzia do manipulacji ustawieniami urz±dzeñ PCI
10 Group:          Utilities/System
11
12 %description
13 This package contains various utilities for inspecting and
14 setting of devices connected to the PCI bus. Requires kernel
15 version 2.1.82 or newer (supporting the /proc/bus/pci interface).
16
17 %description -l pl
18 Pakiet zawiera narzêdzia do ustawiania i odczytywania informacji
19 o urz±dzeniach pod³±czonych do szyny PCI w Twoim komputerze.
20 Wymaga kernela 2.1.82 lub nowszego (udostêpniaj±cego odpowiednie
21 informacje poprzez /proc/bus/pci).
22
23 %prep
24 %setup -q
25
26 %build
27 make OPT="$RPM_OPT_FLAGS"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/{sbin,/usr/man/man8,/etc}
32
33 install -s lspci setpci $RPM_BUILD_ROOT/sbin
34 install lspci.8 setpci.8 $RPM_BUILD_ROOT/usr/man/man8
35 install pci.ids $RPM_BUILD_ROOT/etc
36
37 %files
38 %defattr(0644, root, root, 0755)
39 %attr(0644, root, man) /usr/man/man8/*
40 %attr(0711, root, root) /sbin/*
41 %config /etc/pci.ids
42 %doc README ChangeLog pciutils.lsm
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %changelog
48 * Tue Sep 29 1998 Krzysztof G. Baranowski <kgb@knm.org.pl>
49 [1.07-1]
50 - build from non-root account against glibc-2.0
51 - written spec from scratch