X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=pciutils.spec;h=6320faec1cec76721eb8cbc5ec0cf4f2641161e3;hb=4bb972945cd7076d0b7b128fdf31015329ef9d52;hp=a550c0d876c2f7fe2977a39e219cba5146ff7747;hpb=d38471fded865475f9bc94a238c60e15fb2bf9f6;p=pciutils.git diff --git a/pciutils.spec b/pciutils.spec index a550c0d..6320fae 100644 --- a/pciutils.spec +++ b/pciutils.spec @@ -1,24 +1,25 @@ Name: pciutils -Version: 1.09 +Version: @VERSION@ Release: 1 -Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz +Source: http://mj.ucw.cz/download/linux/pci/%{name}-%{version}.tar.gz Copyright: GNU GPL Buildroot: /tmp/%{name}-%{version}-root ExclusiveOS: Linux -Summary: Linux PCI Utilities +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. Requires kernel -version 2.1.82 or newer (supporting the /proc/bus/pci interface). +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. -Wymaga kernela 2.1.82 lub nowszego (udostêpniaj±cego odpowiednie -informacje poprzez /proc/bus/pci). + +%description -l de +Dieses Paket enthält verschiedene Programme zum Anzeigen und +Einstellen von PCI-Bus Erweiterungen. %prep %setup -q @@ -28,17 +29,14 @@ make OPT="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/{sbin,/usr/man/man8,/etc} - -install -s lspci setpci $RPM_BUILD_ROOT/sbin -install lspci.8 setpci.8 $RPM_BUILD_ROOT/usr/man/man8 -install pci.ids $RPM_BUILD_ROOT/etc +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) /usr/man/man8/* -%attr(0711, root, root) /sbin/* -%config /etc/pci.ids +%attr(0644, root, man) %{_mandir}/man8/* +%attr(0711, root, root) /usr/sbin/* +%config /usr/share/pci.ids %doc README ChangeLog pciutils.lsm %clean