commit 06a50750a8cb2bf1a0b0327ba2dc4cdcb34bd5ffb7db1c690980720a57ef2d14 Author: Stefan Dirsch Date: Thu Feb 9 13:20:57 2012 +0000 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 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..5cd2919 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libxkbui1 +libxkbui-devel + requires -libxkbui- + requires "libxkbui1- = " diff --git a/libxkbui-X11R7.1-1.0.2.tar.bz2 b/libxkbui-X11R7.1-1.0.2.tar.bz2 new file mode 100644 index 0000000..e07ccd8 --- /dev/null +++ b/libxkbui-X11R7.1-1.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a69d690af93646be28228553c05b71d9830e3bf2ea301f6ed369a2c1cddf2ddf +size 221532 diff --git a/libxkbui.changes b/libxkbui.changes new file mode 100644 index 0000000..61dba6b --- /dev/null +++ b/libxkbui.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/libxkbui.diff b/libxkbui.diff new file mode 100644 index 0000000..b028adc --- /dev/null +++ b/libxkbui.diff @@ -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 diff --git a/libxkbui.spec b/libxkbui.spec new file mode 100644 index 0000000..6ef4a92 --- /dev/null +++ b/libxkbui.spec @@ -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