- spec cleanup
This commit is contained in:
parent
2c3bd818c7
commit
182438d18c
@ -1,25 +1,25 @@
|
|||||||
Name: pciutils
|
Name: pciutils
|
||||||
Version: 3.1.4
|
Version: 3.1.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
|
Source: ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
#truncate too long names (#205948)
|
#truncate too long names (#205948)
|
||||||
Patch1: pciutils-2.2.4-buf.patch
|
Patch1: pciutils-2.2.4-buf.patch
|
||||||
|
|
||||||
#don't segfault on systems without PCI bus (#84146)
|
#don't segfault on systems without PCI bus (#84146)
|
||||||
Patch2: pciutils-2.1.10-scan.patch
|
Patch2: pciutils-2.1.10-scan.patch
|
||||||
|
|
||||||
#use pread/pwrite, ifdef check is obsolete nowadays
|
#use pread/pwrite, ifdef check is obsolete nowadays
|
||||||
Patch3: pciutils-havepread.patch
|
Patch3: pciutils-havepread.patch
|
||||||
|
|
||||||
#change pci.ids directory to hwdata
|
#change pci.ids directory to hwdata
|
||||||
Patch6: pciutils-2.2.1-idpath.patch
|
Patch6: pciutils-2.2.1-idpath.patch
|
||||||
|
|
||||||
#multilib support
|
#multilib support
|
||||||
Patch8: pciutils-3.0.2-multilib.patch
|
Patch8: pciutils-3.0.2-multilib.patch
|
||||||
|
|
||||||
#add support for directory with another pci.ids
|
#add support for directory with another pci.ids
|
||||||
Patch9: pciutils-dir-d.patch
|
Patch9: pciutils-dir-d.patch
|
||||||
|
|
||||||
#platform support 3x
|
#platform support 3x
|
||||||
Patch10: pciutils-2.2.10-sparc-support.patch
|
Patch10: pciutils-2.2.10-sparc-support.patch
|
||||||
@ -28,8 +28,8 @@ Patch12: pciutils-3.1.2-arm.patch
|
|||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
Summary: PCI bus related utilities
|
Summary: PCI bus related utilities
|
||||||
@ -106,7 +106,7 @@ install -p lib/libpci.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
|
|||||||
ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpci.so
|
ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/*.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpci.so
|
||||||
|
|
||||||
mv lib/libpci.a.toinstall lib/libpci.a
|
mv lib/libpci.a.toinstall lib/libpci.a
|
||||||
install -p lib/libpci.a $RPM_BUILD_ROOT%{_libdir}
|
install -p -m 644 lib/libpci.a $RPM_BUILD_ROOT%{_libdir}
|
||||||
/sbin/ldconfig -N $RPM_BUILD_ROOT%{_libdir}
|
/sbin/ldconfig -N $RPM_BUILD_ROOT%{_libdir}
|
||||||
install -p lib/pci.h $RPM_BUILD_ROOT%{_includedir}/pci
|
install -p lib/pci.h $RPM_BUILD_ROOT%{_includedir}/pci
|
||||||
install -p lib/header.h $RPM_BUILD_ROOT%{_includedir}/pci
|
install -p lib/header.h $RPM_BUILD_ROOT%{_includedir}/pci
|
||||||
@ -120,14 +120,16 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644, root, root, 0755)
|
%defattr(0644, root, root, 0755)
|
||||||
|
%doc README ChangeLog pciutils.lsm COPYING
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%attr(0755, root, root) /sbin/*
|
%attr(0755, root, root) /sbin/*
|
||||||
%doc README ChangeLog pciutils.lsm COPYING
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libpci.so.*
|
%{_libdir}/libpci.so.*
|
||||||
|
|
||||||
%files devel-static
|
%files devel-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libpci.a
|
%{_libdir}/libpci.a
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -140,6 +142,9 @@ install -p lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 3.1.4-6
|
||||||
|
- spec cleanup
|
||||||
|
|
||||||
* Mon Oct 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 3.1.4-5
|
* Mon Oct 26 2009 Michal Hlavinka <mhlavink@redhat.com> - 3.1.4-5
|
||||||
- fix build to enable -F option (#531020)
|
- fix build to enable -F option (#531020)
|
||||||
|
|
||||||
@ -496,7 +501,7 @@ print out 64-bit addresses.
|
|||||||
* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
|
* Thu May 20 1999 Bill Nottingham <notting@redhat.com>
|
||||||
- update to 2.0
|
- update to 2.0
|
||||||
|
|
||||||
* Mon Apr 19 1999 Jakub Jelinek <jj@ultra.linux.cz>
|
* Mon Apr 19 1999 Jakub Jelinek <jj@ultra.linux.cz>
|
||||||
- update to 1.99.5
|
- update to 1.99.5
|
||||||
- fix sparc64 operation
|
- fix sparc64 operation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user