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