]> mj.ucw.cz Git - pciutils.git/blob - pciutils.spec
3e980308e7fbf55275f1f378feb24d54979d1833
[pciutils.git] / pciutils.spec
1 Name:           pciutils
2 Version:        2.1.5
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 make install PREFIX=$RPM_BUILD_ROOT/usr ROOT=$RPM_BUILD_ROOT/ \
32      MANDIR=$RPM_BUILD_ROOT/%{_mandir}
33
34 %files
35 %defattr(0644, root, root, 0755)
36 %attr(0644, root, man) %{_mandir}/man8/*
37 %attr(0711, root, root) /sbin/*
38 %config /usr/share/pci.ids
39 %doc README ChangeLog pciutils.lsm
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %changelog
45 * Tue Sep 29 1998 Krzysztof G. Baranowski <kgb@knm.org.pl>
46 [1.07-1]
47 - build from non-root account against glibc-2.0
48 - written spec from scratch