From: Martin Mares Date: Fri, 23 Oct 1998 10:21:44 +0000 (+0000) Subject: Renamed specs to pciutils.spec, so that rpm --build finds it. X-Git-Tag: v3.0.0~311 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3d3c85b7bd70ce1f8ea9cbf2f044257ee531e692;p=pciutils.git Renamed specs to pciutils.spec, so that rpm --build finds it. --- diff --git a/pciutils.spec b/pciutils.spec new file mode 100644 index 0000000..e4326ce --- /dev/null +++ b/pciutils.spec @@ -0,0 +1,51 @@ +Name: pciutils +Version: 1.08 +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: Linux 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). + +%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). + +%prep +%setup -q + +%build +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 + +%files +%defattr(0644, root, root, 0755) +%attr(0644, root, man) /usr/man/man8/* +%attr(0711, root, root) /sbin/* +%config /etc/pci.ids +%doc README ChangeLog pciutils.lsm + +%clean +rm -rf $RPM_BUILD_ROOT + +%changelog +* Tue Sep 29 1998 Krzysztof G. Baranowski +[1.07-1] +- build from non-root account against glibc-2.0 +- written spec from scratch diff --git a/specs b/specs deleted file mode 100644 index e4326ce..0000000 --- a/specs +++ /dev/null @@ -1,51 +0,0 @@ -Name: pciutils -Version: 1.08 -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: Linux 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). - -%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). - -%prep -%setup -q - -%build -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 - -%files -%defattr(0644, root, root, 0755) -%attr(0644, root, man) /usr/man/man8/* -%attr(0711, root, root) /sbin/* -%config /etc/pci.ids -%doc README ChangeLog pciutils.lsm - -%clean -rm -rf $RPM_BUILD_ROOT - -%changelog -* Tue Sep 29 1998 Krzysztof G. Baranowski -[1.07-1] -- build from non-root account against glibc-2.0 -- written spec from scratch