Accepting request 120775 from home:jengelh:branches:Base:System
- Shared library policy: new subpackage libpci3 OBS-URL: https://build.opensuse.org/request/show/120775 OBS-URL: https://build.opensuse.org/package/show/Base:System/pciutils?expand=0&rev=34
This commit is contained in:
parent
fbc62d411f
commit
9d42fa819a
@ -1,2 +1,5 @@
|
|||||||
pciutils
|
libpci3
|
||||||
pciutils-devel
|
pciutils-devel
|
||||||
|
requires -pciutils-<targettype>
|
||||||
|
requires "libpci3-<targettype> = <version>"
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 18 15:33:42 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Shared library policy: new subpackage libpci3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 29 02:18:30 UTC 2012 - tabraham@novell.com
|
Sun Jan 29 02:18:30 UTC 2012 - tabraham@novell.com
|
||||||
|
|
||||||
|
@ -15,24 +15,22 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: pciutils
|
Name: pciutils
|
||||||
|
%define lname libpci3
|
||||||
Version: 3.1.9
|
Version: 3.1.9
|
||||||
Release: 1
|
Release: 0
|
||||||
BuildRequires: zlib-devel
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: zlib-devel
|
||||||
Requires: pciutils-ids
|
Requires: pciutils-ids
|
||||||
AutoReqProv: on
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: pciutils-64bit
|
Obsoletes: pciutils-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Group: Hardware/Other
|
Summary: PCI utilities for Kernel version 2.2 and newer
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Summary: PCI-utilities for Kernel version 2.2 and newer
|
Group: Hardware/Other
|
||||||
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
Url: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
@ -59,21 +57,25 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Martin Mares <mj@ucw.cz>
|
Martin Mares <mj@ucw.cz>
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: PCI utility library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
libpci offers access to the PCI configuration space.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL-2.0+
|
Summary: Library and Include Files of the PCI utilities
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Summary: Static Library and Include Files of the PCI-utilities
|
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: pciutils-devel-64bit
|
Obsoletes: pciutils-devel-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
Requires: %lname = %version
|
||||||
# As we only package a static library we need zlib-devel for final linking
|
|
||||||
Requires: zlib-devel %{name} = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the files that are necessary for software
|
This package contains the files that are necessary for software
|
||||||
development using the PCI-utilities.
|
development using the PCI utilities.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -100,20 +102,20 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/pci.ids*
|
|||||||
install -D -m 0644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libpci.pc
|
install -D -m 0644 lib/libpci.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libpci.pc
|
||||||
ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
|
ln -sf /%{_lib}/libpci.so.3 %{buildroot}%{_libdir}/libpci.so
|
||||||
|
|
||||||
%clean
|
%post -n %lname -p /sbin/ldconfig
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
%doc %{_mandir}/man?/*
|
%doc %{_mandir}/man?/*
|
||||||
/%{_lib}/libpci.so.*
|
|
||||||
/sbin/*
|
/sbin/*
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/%_lib/libpci.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_includedir}/pci/
|
%{_includedir}/pci/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user