From 6d1cd2a1099eceddf582070640557e8b60a85789a008b2f12e2be3c9b82e4cc4 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 9 Feb 2012 13:18:57 +0000 Subject: [PATCH] Accepting request 103567 from home:jengelh:branches:X11:XOrg Split xorg-x11-libs OBS-URL: https://build.opensuse.org/request/show/103567 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXrandr?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + baselibs.conf | 4 ++ libXrandr-1.3.1.tar.bz2 | 3 ++ libXrandr.changes | 4 ++ libXrandr.spec | 89 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 124 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libXrandr-1.3.1.tar.bz2 create mode 100644 libXrandr.changes create mode 100644 libXrandr.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..be1432d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libXrandr2 +libXrandr-devel + requires -libXrandr- + requires "libXrandr2- = " diff --git a/libXrandr-1.3.1.tar.bz2 b/libXrandr-1.3.1.tar.bz2 new file mode 100644 index 0000000..29633b1 --- /dev/null +++ b/libXrandr-1.3.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62bba708649c04cbbc2f5de910942a01cc727b27225bc06169af8a89b957c661 +size 285632 diff --git a/libXrandr.changes b/libXrandr.changes new file mode 100644 index 0000000..61dba6b --- /dev/null +++ b/libXrandr.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/libXrandr.spec b/libXrandr.spec new file mode 100644 index 0000000..bff09f6 --- /dev/null +++ b/libXrandr.spec @@ -0,0 +1,89 @@ +# +# spec file for package libXrandr +# +# 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: libXrandr +%define lname libXrandr2 +Version: 1.3.1 +Release: 0 +Summary: X Resize, Rotate and Reflection extension library +License: MIT +Group: Development/Libraries/C and C++ +Url: http://cgit.freedesktop.org/xorg/lib/libXrandr/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXrandr +Source: %name-%version.tar.bz2 +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: fdupes +BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(x11) +BuildRequires: pkgconfig(randrproto) >= 1.3, pkgconfig(xext) +BuildRequires: pkgconfig(xextproto), pkgconfig(xrender) +BuildRequires: pkgconfig(renderproto) + +%description +The X Resize, Rotate and Reflect Extension (RandR) allows clients to +dynamically change X screens, so as to resize, to change the +orientation and layout of the root window of a screen. + +%package -n %lname +Summary: X Resize, Rotate and Reflection extension library +Group: System/Libraries + +%description -n %lname +The X Resize, Rotate and Reflect Extension (RandR) allows clients to +dynamically change X screens, so as to resize, to change the +orientation and layout of the root window of a screen. + +%package devel +Summary: Development files for the X Resize-Rotate-Reflection library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +The X Resize, Rotate and Reflect Extension (RandR) allows clients to +dynamically change X screens, so as to resize, to change the +orientation and layout of the root window of a screen. + +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/libXrandr.so.2* + +%files devel +%defattr(-,root,root) +%_includedir/X11/* +%_libdir/libXrandr.so +%_libdir/pkgconfig/xrandr.pc +%_mandir/man3/* + +%changelog