[521] | 1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} |
---|
| 2 | |
---|
| 3 | Summary: XCB protocol descriptions |
---|
| 4 | Name: xcb-proto |
---|
[12451] | 5 | Version: 1.14 |
---|
[6011] | 6 | Release: 1%{?_dist_release} |
---|
[12451] | 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
[521] | 9 | |
---|
[12451] | 10 | Group: programming |
---|
[521] | 11 | License: MIT |
---|
[12451] | 12 | URL: https://xcb.freedesktop.org/ |
---|
| 13 | Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz |
---|
[521] | 14 | BuildArch: noarch |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 17 | BuildRequires: python |
---|
| 18 | Requires: pkgconfig |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | XCB is a project to enable efficient language bindings to the X11 protocol. |
---|
| 22 | This package contains the protocol descriptions themselves. Language |
---|
| 23 | bindings use these protocol descriptions to generate code for marshalling |
---|
| 24 | the protocol. |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | # Bit of a hack to get the pc file in /usr/share, no we can be noarch. |
---|
| 31 | %configure --libdir=%{_datadir} |
---|
| 32 | make %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf $RPM_BUILD_ROOT |
---|
| 36 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-,root,root,-) |
---|
[12185] | 43 | %license COPYING |
---|
| 44 | %doc NEWS README TODO doc/xml-xcb.txt |
---|
[521] | 45 | %{_datadir}/pkgconfig/xcb-proto.pc |
---|
| 46 | %dir %{_datadir}/xcb/ |
---|
| 47 | %{_datadir}/xcb/*.xsd |
---|
| 48 | %{_datadir}/xcb/*.xml |
---|
| 49 | %{python_sitelib}/xcbgen |
---|
| 50 | |
---|
| 51 | %changelog |
---|
[12451] | 52 | * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14-1 |
---|
| 53 | - new upstream release. |
---|
| 54 | |
---|
[12185] | 55 | * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.13-1 |
---|
| 56 | - new upstream release. |
---|
| 57 | |
---|
[9044] | 58 | * Fri Oct 31 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11-1 |
---|
| 59 | - new upstream release |
---|
| 60 | |
---|
[8064] | 61 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-1 |
---|
| 62 | - new upstream release |
---|
| 63 | |
---|
[6918] | 64 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1 |
---|
| 65 | - new upstream release |
---|
| 66 | |
---|
[6011] | 67 | * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-1 |
---|
| 68 | - new upstream release |
---|
| 69 | |
---|
[5701] | 70 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-2 |
---|
| 71 | - rebuild with python-2.7.2 |
---|
| 72 | |
---|
[5549] | 73 | * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-1 |
---|
| 74 | - new upstream release |
---|
| 75 | |
---|
[1901] | 76 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6-2 |
---|
| 77 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 78 | |
---|
[528] | 79 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
[521] | 82 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2 |
---|
| 83 | - rebuilt with python-2.6.4 |
---|
| 84 | |
---|
| 85 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
| 88 | * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1 |
---|
| 89 | - new upstream release |
---|
| 90 | - add BR: python |
---|
| 91 | |
---|
| 92 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
| 93 | - new versioning policy |
---|
| 94 | |
---|
| 95 | * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
| 96 | - initial build for Vine Linux |
---|
| 97 | |
---|
| 98 | * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1 |
---|
| 99 | - xcb-proto 1.1 |
---|
| 100 | |
---|
| 101 | * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1 |
---|
| 102 | - Initial revision. |
---|