Accepting request 103591 from home:jengelh:branches:X11:XOrg

xorg-x11-libs split

OBS-URL: https://build.opensuse.org/request/show/103591
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxkbui?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2012-02-09 13:20:57 +00:00 committed by Git OBS Bridge
commit 06a50750a8
7 changed files with 127 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libxkbui1
libxkbui-devel
requires -libxkbui-<targettype>
requires "libxkbui1-<targettype> = <version>"

BIN
libxkbui-X11R7.1-1.0.2.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

4
libxkbui.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de
- Split xorg-x11-libs into separate packages

13
libxkbui.diff Normal file
View File

@ -0,0 +1,13 @@
Index: src/XKBui.c
===================================================================
--- src/XKBui.c.orig
+++ src/XKBui.c
@@ -104,7 +104,7 @@ XkbDescPtr xkb;
char buf[20];
sprintf(buf,"#%02x%02x%02x",(sdef.red>>8)&0xff,
(sdef.green>>8)&0xff,
- (sdef.blue>>8)&&0xff);
+ (sdef.blue>>8)&0xff);
if (XAllocNamedColor(view->dpy,view->opts.cmap,buf,&sdef,&xdef)) {
xkb->geom->colors[i].pixel= sdef.pixel;
#ifdef DEBUG

79
libxkbui.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package libxkbui
#
# 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: libxkbui
%define lname libxkbui1
Version: 1.0.2
Release: 0
Summary: X.org libxkbui library
License: MIT
Group: Development/Libraries/C and C++
Url: http://cgit.freedesktop.org/xorg/lib/libxkbui/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbui
Source: %name-X11R7.1-%version.tar.bz2
Patch1: libxkbui.diff
#git#BuildRequires: autoconf >= 2.57, automake, libtool
BuildRequires: pkgconfig, pkgconfig(x11), pkgconfig(xt), pkgconfig(xkbfile)
%description
(Upstream has not provided a description)
%package -n %lname
Summary: X.org libxkbui library
Group: System/Libraries
%description -n %lname
(Upstream has not provided a description)
%package devel
Summary: Development files for the X.org libxkbui library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
(Upstream has not provided a description)
This package contains the development headers for the library found
in %lname.
%prep
%setup -qn %name-X11R7.1-%version
%patch -P 1 -p0
%build
%configure --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/libxkbui.so.1*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libxkbui.so
%_libdir/pkgconfig/xkbui.pc
%changelog