commit f89b1ece0489dffb3110a8533a9d87d0749e822ca7e0a99f98f3d5ac7d3c7fbb Author: Stefan Dirsch Date: Fri Apr 25 10:37:18 2014 +0000 Accepting request 231309 from home:tobijk:X11:XOrg OBS-URL: https://build.opensuse.org/request/show/231309 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xcb-proto?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/xcb-proto-1.10.1.tar.bz2 b/xcb-proto-1.10.1.tar.bz2 new file mode 100644 index 0000000..0a1bd7c --- /dev/null +++ b/xcb-proto-1.10.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:600ac0a5182c2a62d98bd874a68a131dfb7bfdc560e32936e0b9a0dcdaf1c8ad +size 83512 diff --git a/xcb-proto.changes b/xcb-proto.changes new file mode 100644 index 0000000..1291f11 --- /dev/null +++ b/xcb-proto.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Apr 23 16:41:57 UTC 2014 - tobias.johannes.klausmann@mni.thm.de + +- Created package xcb-proto with initial version 1.10 + diff --git a/xcb-proto.spec b/xcb-proto.spec new file mode 100644 index 0000000..36c5875 --- /dev/null +++ b/xcb-proto.spec @@ -0,0 +1,96 @@ +# +# spec file for package xcb-proto +# +# Copyright (c) 2014 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: xcb-proto +Version: 1.10.1 +BuildRequires: pkg-config +BuildRequires: python-base + +BuildRequires: autoconf >= 2.60 +BuildRequires: automake +BuildRequires: libtool +BuildRequires: fdupes + +Url: http://xorg.freedesktop.org/ +Release: 0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: The X Protocol +License: MIT +Group: Development/Libraries/X11 +#Source URL: http://xorg.freedesktop.org/archive/individual/xcb/ +Source: %{name}-%{version}.tar.bz2 + +%description +The XCB Protocol Headers for X development + +%package -n %{name}-devel +Summary: The X Protocol +Group: Development/Libraries/X11 + +Requires: python-xcb-proto-devel = %{version} + +# Added within the 13.2 Development Cycle +Obsoletes: xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/xcb-proto.pc + +%description -n %{name}-devel +The XCB Protocol Headers for X development + +%package -n python-xcb-proto-devel +Summary: Python libraries mandatory for XML-XCB Development +Group: Development/Libraries/X11 +Requires: python-base = %{py_ver} + +%description -n python-xcb-proto-devel +Language-independent Python +libraries that used to parse an XML description and create objects +used by Python code generators in individual language bindings. + +%prep +%setup -q + +%build +autoreconf -fi +./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ + --prefix=/usr --libdir=%{_libdir} +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot" + +%if %suse_version > 1110 +%fdupes -s $RPM_BUILD_ROOT/%python_sitelib/xcbgen/ +%else +%fdupes -s $RPM_BUILD_ROOT/usr/%{_lib}/python2.6/site-packages/xcbgen/ +%endif + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/share/xcb +%doc /usr/share/xcb/* +/usr/%{_lib}/pkgconfig/*.pc + +%files -n python-xcb-proto-devel +%defattr(-,root,root) +%if %suse_version > 1110 +%python_sitelib/xcbgen/ +%else +/usr/%{_lib}/python2.6/site-packages/xcbgen/ +%endif + +%changelog +