libpciaccess/libpciaccess.spec

79 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:33 -04:00
Name: libpciaccess
Version: 0.14
2020-07-01 14:13:02 +08:00
Release: 4
2019-09-30 10:57:33 -04:00
Summary: Generic PCI access library
License: MIT
URL: https://www.x.org/
Source0: https://www.x.org/archive/individual/lib/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
2020-07-01 14:13:02 +08:00
Patch0: 0000-libpciaccess-rom-size.patch
Patch1: 0001-linux-Set-number-of-devices-to-0-in-case-of-error.patch
2019-09-30 10:57:33 -04:00
BuildRequires: autoconf automake libtool pkgconfig git xorg-x11-util-macros
Requires: hwdata
%description
Provides functionality for X to access the PCI bus and devices in a
platform-independent way.
%package devel
Summary: PCI access library development package
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains the development headers for the library.
%prep
%autosetup -Sgit -n %{name}-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS
%{_libdir}/libpciaccess.so.0*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/libpciaccess.so
%{_libdir}/pkgconfig/pciaccess.pc
%changelog
2020-07-01 14:13:02 +08:00
* Wed Jul 1 2020 Wu Bo <wubo009@163.com> - 0.14-2.4
- rebuild package
2019-09-30 10:57:33 -04:00
* Tue Aug 27 2019 zoujing <zoujing13@huawei.com> - 0.14-3
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESCi:openEuler Debranding
* Wed Aug 21 2019 wubo <wubo40@huawei.com> - 0.14-2.2
- change patch name
* Thu Apr 18 2019 wangxiao<wangxiao65@huawei.com> - 0.14-2.1
- Type:bugfix
- ID:NA
- SUG:restart
- DESC:Set number of devices to 0 in case of error
* Wed Apr 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.14-2
- Package Initialization