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
This commit is contained in:
Stefan Dirsch 2014-04-25 10:37:18 +00:00 committed by Git OBS Bridge
commit f89b1ece04
5 changed files with 128 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

3
xcb-proto-1.10.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:600ac0a5182c2a62d98bd874a68a131dfb7bfdc560e32936e0b9a0dcdaf1c8ad
size 83512

5
xcb-proto.changes Normal file
View File

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

96
xcb-proto.spec Normal file
View File

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