%define major 0 %define libname %mklibname pciaccess %{major} %define develname %mklibname pciaccess -d Name: libpciaccess Version: 0.13.5 Release: %mkrel 1 Summary: Generic PCI access library (from X.org) Group: Development/X11 URL: http://xorg.freedesktop.org Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 License: MIT BuildRequires: pciids %description A generic PCI access library from X.org. %package -n %{libname} Summary: Generic PCI access library (from X.org) Group: Development/X11 %description -n %{libname} A generic PCI access library from X.org. %package -n %{develname} Summary: Development headers and libraries for %{name} Group: Development/X11 Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} %description -n %{develname} A generic PCI access library from X.org. Development headers and libraries. %prep %setup -q %build %configure2_5x --with-pciids-path=%{_datadir} --disable-static %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %files -n %{libname} %{_libdir}/*.so.%{major}{,.*} %files -n %{develname} %{_libdir}/*.so %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %changelog * Tue May 16 2017 luigiwalser <luigiwalser> 0.13.5-1.mga6 + Revision: 1102222 - 0.13.5 * Mon Feb 15 2016 umeabot <umeabot> 0.13.4-2.mga6 + Revision: 961158 - Mageia 6 Mass Rebuild * Sat Jun 20 2015 tv <tv> 0.13.4-1.mga6 + Revision: 836080 - new release * Wed Oct 15 2014 umeabot <umeabot> 0.13.2-4.mga5 + Revision: 740897 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.13.2-3.mga5 + Revision: 681704 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.13.2-2.mga4 + Revision: 530478 - Mageia 4 Mass Rebuild * Wed Jul 24 2013 luigiwalser <luigiwalser> 0.13.2-1.mga4 + Revision: 457733 - 0.13.2 * Sat Jan 12 2013 umeabot <umeabot> 0.13.1-2.mga3 + Revision: 357956 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue May 29 2012 tv <tv> 0.13.1-1.mga3 + Revision: 249345 - new release * Mon Mar 05 2012 fwang <fwang> 0.13-1.mga2 + Revision: 218356 - new version 0.13 * Sun Jan 29 2012 tv <tv> 0.12.902-1.mga2 + Revision: 203089 - new release * Thu Apr 14 2011 tv <tv> 0.12.1-1.mga1 + Revision: 84861 - new release * Tue Jan 11 2011 dmorgan <dmorgan> 0.12.0-1.mga1 + Revision: 6029 - imported package libpciaccess