commit f80b0fe99f5d0dd9c18c18b4fdbfe4db355b0c9b8abca84161e690e39f0dc181 Author: Stefan Dirsch Date: Mon Feb 13 10:06:03 2012 +0000 Accepting request 104201 from home:jengelh:branches:X11:XOrg Intended to replace the old libpciaccess0. Also see my branch's prjconf for Prefer: lines that are required until all the new packages have appeared in Factory. OBS-URL: https://build.opensuse.org/request/show/104201 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libpciaccess?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..4984fba --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libpciaccess0 diff --git a/libpciaccess-0.12.902.tar.bz2 b/libpciaccess-0.12.902.tar.bz2 new file mode 100644 index 0000000..87477e8 --- /dev/null +++ b/libpciaccess-0.12.902.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0861d5bf68b598baa307e5c9b06dfd38ae03096b46e36b236106517bcd14b63a +size 331008 diff --git a/libpciaccess.changes b/libpciaccess.changes new file mode 100644 index 0000000..d021fe6 --- /dev/null +++ b/libpciaccess.changes @@ -0,0 +1,39 @@ +------------------------------------------------------------------- +Mon Feb 13 02:40:46 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 0.12.902 +* ships new map_legacy APIs required by the current development + version of xorg-server as well as miscelaneous bug fixes. +- Rename main package from libpciaccess0 to libpciaccess. + Do away with the 0 in libpciaccess0-devel, since the devel + package is not actually versioned and only one can be installed. +- Parallel build with %_smp_mflags + +------------------------------------------------------------------- +Tue Jan 10 11:47:22 UTC 2012 - sndirsch@suse.com + +- added libtool to Buildrequires to fix build on factory + +------------------------------------------------------------------- +Thu Dec 1 17:06:34 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Wed Nov 2 13:27:29 UTC 2011 - eich@suse.com + +- Add ./ to the %_configure define - just to be on the safe side. + +------------------------------------------------------------------- +Tue Nov 1 13:30:06 UTC 2011 - johannesobermayr@gmx.de + +- update to 0.12.901 + * use autogen.sh not ./configure + * needs pkgconfig(xorg-macros) >= 1.8 + * general X11 is 7.6 not 7.4 + +------------------------------------------------------------------- +Tue Aug 30 12:47:57 UTC 2011 - sndirsch@suse.com + +- created package + diff --git a/libpciaccess.spec b/libpciaccess.spec new file mode 100644 index 0000000..2e584b7 --- /dev/null +++ b/libpciaccess.spec @@ -0,0 +1,84 @@ +# +# spec file for package libpciaccess +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +Name: libpciaccess +%define lname libpciaccess0 +Version: 0.12.902 +Release: 0 +Summary: Generic PCI access library +License: MIT +Group: Development/Libraries/C and C++ +Url: http://cgit.freedesktop.org/xorg/lib/libpciaccess/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libpciaccess +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libpciaccess/ +Source: %name-%version.tar.bz2 +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8 + +%description +Provides functionality for X to access the PCI bus and devices in a +platform-independent way. + +%package -n %lname +Summary: Generic PCI access library +Group: System/Libraries + +%description -n %lname +Provides functionality for X to access the PCI bus and devices in a +platform-independent way. + +%package devel +Summary: Development files for the Generic PCI access library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +# O/P added for 12.2 +Provides: libpciaccess0-devel = 7.6_%version-%release +Obsoletes: libpciaccess0-devel < 7.6_%version-%release + +%description devel +Provides functionality for X to access the PCI bus and devices in a +platform-independent way. + +This package contains the development headers for the library found +in %lname. + +%prep +%setup -q + +%build +%configure --with-pciids-path=%_datadir --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libpciaccess.so.0* + +%files devel +%defattr(-,root,root) +%_includedir/pciaccess.h +%_libdir/libpciaccess.so +%_libdir/pkgconfig/pciaccess.pc + +%changelog