e0efc1
%define debug_package %{nil}
e0efc1
e0efc1
Name:           xcb-proto
e0efc1
Version:        1.13
e0efc1
Release:        4%{?dist}
e0efc1
Summary:        XCB protocol descriptions
e0efc1
e0efc1
Group:          Development/Libraries
e0efc1
License:        MIT
e0efc1
URL:            https://xcb.freedesktop.org/
e0efc1
Source0:        https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
e0efc1
BuildArch:      noarch
e0efc1
e0efc1
BuildRequires:	python3-devel
e0efc1
Requires:       pkgconfig
e0efc1
e0efc1
%description
e0efc1
XCB is a project to enable efficient language bindings to the X11 protocol.
e0efc1
This package contains the protocol descriptions themselves.  Language
e0efc1
bindings use these protocol descriptions to generate code for marshalling
e0efc1
the protocol.
e0efc1
e0efc1
%prep
e0efc1
%setup -q
e0efc1
e0efc1
%build
e0efc1
# Bit of a hack to get the pc file in /usr/share, so we can be noarch.
e0efc1
%configure --libdir=%{_datadir}
e0efc1
make %{?_smp_mflags}
e0efc1
e0efc1
%install
e0efc1
rm -rf $RPM_BUILD_ROOT
e0efc1
make install DESTDIR=$RPM_BUILD_ROOT
e0efc1
e0efc1
%files
e0efc1
%doc COPYING NEWS README TODO doc/xml-xcb.txt
e0efc1
%{_datadir}/pkgconfig/xcb-proto.pc
e0efc1
%dir %{_datadir}/xcb/
e0efc1
%{_datadir}/xcb/*.xsd
e0efc1
%{_datadir}/xcb/*.xml
e0efc1
%{python3_sitelib}/xcbgen
e0efc1
e0efc1
%changelog
e0efc1
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.13-4
e0efc1
- Drop useless %%defattr
e0efc1
e0efc1
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 1.13-3
e0efc1
- Rebuilt for Python 3.7
e0efc1
e0efc1
* Mon Mar 19 2018 Adam Jackson <ajax@redhat.com> - 1.13-2
e0efc1
- Switch to python3
e0efc1
e0efc1
* Mon Mar 05 2018 Adam Jackson <ajax@redhat.com> - 1.13-1
e0efc1
- xcb-proto 1.13
e0efc1
e0efc1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-6
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e0efc1
e0efc1
* Fri Aug 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.12-5
e0efc1
- Add a build-time dependency on python2-devel
e0efc1
e0efc1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-4
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e0efc1
e0efc1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-3
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e0efc1
e0efc1
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
e0efc1
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e0efc1
e0efc1
* Wed May 18 2016 Adam Jackson <ajax@redhat.com> - 1.12-1
e0efc1
- xcb-proto 1.12
e0efc1
e0efc1
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e0efc1
e0efc1
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e0efc1
e0efc1
* Wed Oct 01 2014 Adam Jackson <ajax@redhat.com> 1.11-1
e0efc1
- xcb-proto 1.11
e0efc1
e0efc1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0efc1
e0efc1
* Fri Jan 17 2014 Adam Jackson <ajax@redhat.com> 1.10-1
e0efc1
- xcb-proto 1.10
e0efc1
e0efc1
* Mon Dec 02 2013 Adam Jackson <ajax@redhat.com> 1.9-1
e0efc1
- xcb-proto 1.9
e0efc1
e0efc1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e0efc1
e0efc1
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
e0efc1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild