Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37042111
en ru br
ALT Linux repositórios
S:3.10.0-alt1
D:2.99.1-alt0.2
5.0: 3.1.2-alt1
4.1: 3.0.0-alt1
4.0: 2.2.4-alt1
3.0: 2.1.11-alt10

Group :: Sistema/Kernel e hardware
RPM: pciutils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pciutils
Version: 2.2.4
Release: alt1

Summary: Linux PCI utilities.
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÙ ÄÌÑ ÒÁÂÏÔÙ Ó PCI × Linux
Group: System/Kernel and hardware
License: GPL

URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%name-%version.tar.gz
Requires: hwdatabase >= 0.2.0

Patch0: %name-2.1.9-unused.patch
Patch1: %name-2.1.6-cardbusonlywhenroot.patch
Patch2: %name-bufsiz.patch
Patch3: %name-2.1.10-x86_64.patch
Patch4: %name-2.2.4-pcimodules.patch
Patch5: %name-2.1.11-alt-headerfix.patch
Patch6: %name-sysfs.diff
Patch7: %name-2.1.11-sysfs-filter.diff
Patch8: %name-2.1.11-pciids.patch
Patch9: %name-2.1.11-name_list_leak.patch
Patch10: %name-2.2.4-makefile.patch

%description
This package contains various utilities for inspecting and setting
devices connected to the PCI bus. The utilities provided require
kernel version 2.1.82 or newer (supporting the /proc/bus/pci interface).

%description -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÎÅÓËÏÌØËÏ ÕÔÉÌÉÔ ÄÌÑ ÐÒÏÓÍÏÔÒÁ É ÎÁÓÔÒÏÊËÉ
ÕÓÔÒÏÊÓÔ×, ÐÏÄËÌÀÞÅÎÎÙÈ Ë ÛÉÎÅ PCI.

%package devel
Summary: Linux PCI development library
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains a library for inspecting and setting devices
connected to the PCI bus.

%package devel-static
Summary: Linux PCI development static library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
This package contains a static library for inspecting and setting devices
connected to the PCI bus.

%prep
%setup -q
%patch4 -p1
%patch10 -p1

%build
make \
OPT="%optflags" \
PREFIX=%_prefix \
IDSDIR=%_datadir/hwdatabase

%install
install -d %buildroot{%_bindir,%_mandir/man8,%_datadir,%_libdir,%_includedir/pci}

install -p -m755 lspci setpci %buildroot%_bindir/
install -p -m644 lspci.8 setpci.8 %buildroot%_mandir/man8/
install -p -m644 lib/libpci.a %buildroot%_libdir/
install -p -m644 lib/{pci.h,header.h,config.h,types.h} %buildroot%_includedir/pci/

%files
%_bindir/*
%_mandir/man?/*
%doc README ChangeLog *.lsm

%files devel
%_includedir/*
%doc TODO

%files devel-static
%_libdir/*.*a

# TODO:

# - try proper make install?

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009