From 977d54901e05e4d08d7468cb8d4d7740390bbf6b4ee72276e2f84c6ddc18753a Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 9 Feb 2012 13:19:30 +0000 Subject: [PATCH] Accepting request 103571 from home:jengelh:branches:X11:XOrg Split xorg-x11-libs OBS-URL: https://build.opensuse.org/request/show/103571 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXxf86dga?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + baselibs.conf | 4 ++ libXxf86dga-1.1.2.tar.bz2 | 3 ++ libXxf86dga.changes | 4 ++ libXxf86dga.spec | 91 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libXxf86dga-1.1.2.tar.bz2 create mode 100644 libXxf86dga.changes create mode 100644 libXxf86dga.spec 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..ac32da0 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libXxf86dga1 +libXxf86dga-devel + requires -libXxf86dga- + requires "libXxf86dga1- = " diff --git a/libXxf86dga-1.1.2.tar.bz2 b/libXxf86dga-1.1.2.tar.bz2 new file mode 100644 index 0000000..207545f --- /dev/null +++ b/libXxf86dga-1.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ba652f562ce3fb3fef092ce5485eb7ef15b521124c901977b56d6f324605a06 +size 270013 diff --git a/libXxf86dga.changes b/libXxf86dga.changes new file mode 100644 index 0000000..61dba6b --- /dev/null +++ b/libXxf86dga.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de + +- Split xorg-x11-libs into separate packages diff --git a/libXxf86dga.spec b/libXxf86dga.spec new file mode 100644 index 0000000..8669583 --- /dev/null +++ b/libXxf86dga.spec @@ -0,0 +1,91 @@ +# +# spec file for package libXxf86dga +# +# 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: libXxf86dga +%define lname libXxf86dga1 +Version: 1.1.2 +Release: 0 +Summary: XFree86-DGA extension client library +License: MIT +Group: Development/Libraries/C and C++ +Url: http://cgit.freedesktop.org/xorg/lib/libXxf86dga/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86dga +Source: %name-%version.tar.bz2 +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: fdupes +BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xproto), pkgconfig(x11), pkgconfig(xextproto) +BuildRequires: pkgconfig(xext), pkgconfig(xf86dgaproto) >= 2.0.99.2 + +%description +libXxf86dga provides the XFree86-DGA extension, which allows direct +graphics access to a framebuffer-like region, and also allows +relative mouse reporting, et al. It is mainly used by games and +emulators for games. + +%package -n %lname +Summary: XFree86-DGA extension client library +Group: System/Libraries + +%description -n %lname +libXxf86dga provides the XFree86-DGA extension, which allows direct +graphics access to a framebuffer-like region, and also allows +relative mouse reporting, et al. It is mainly used by games and +emulators for games. + +%package devel +Summary: Development files for the XFree86-DGA extension library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +libXxf86dga provides the XFree86-DGA extension, which allows direct +graphics access to a framebuffer-like region, and also allows +relative mouse reporting, et al. It is mainly used by games and +emulators for games. + +This package contains the development headers for the library found +in %lname. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +rm -f "%buildroot/%_libdir"/*.la +%fdupes %buildroot + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libXxf86dga.so.1* + +%files devel +%defattr(-,root,root) +%_includedir/X11/* +%_libdir/libXxf86dga.so +%_libdir/pkgconfig/xxf86dga.pc +%_mandir/man3/* + +%changelog