forked from matatata/pciutils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pciutils.spec
49 lines (40 loc) · 1.23 KB
/
pciutils.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name: pciutils
Version: @VERSION@
Release: 1
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
Copyright: GNU GPL
Buildroot: /tmp/%{name}-%{version}-root
ExclusiveOS: Linux
Summary: The PCI Utilities
Summary(pl): Narzêdzia do manipulacji ustawieniami urz±dzeñ PCI
Group: Utilities/System
%description
This package contains various utilities for inspecting and
setting of devices connected to the PCI bus.
%description -l pl
Pakiet zawiera narzêdzia do ustawiania i odczytywania informacji
o urz±dzeniach pod³±czonych do szyny PCI w Twoim komputerze.
%description -l de
Dieses Paket enthält verschiedene Programme zum Anzeigen und
Einstellen von PCI-Bus Erweiterungen.
%prep
%setup -q
%build
make OPT="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT/usr ROOT=$RPM_BUILD_ROOT/ \
MANDIR=$RPM_BUILD_ROOT/%{_mandir}
%files
%defattr(0644, root, root, 0755)
%attr(0644, root, man) %{_mandir}/man8/*
%attr(0711, root, root) /usr/sbin/*
%config /usr/share/pci.ids
%doc README ChangeLog pciutils.lsm
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Sep 29 1998 Krzysztof G. Baranowski <kgb@knm.org.pl>
[1.07-1]
- build from non-root account against glibc-2.0
- written spec from scratch