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