| 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 |
|---|
| 5 | Version: 1.7.1 |
|---|
| 6 | Release: 1%{?_dist_release} |
|---|
| 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 |
|---|
| 49 | * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-1 |
|---|
| 50 | - new upstream release |
|---|
| 51 | |
|---|
| 52 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-2 |
|---|
| 53 | - rebuild with python-2.7.2 |
|---|
| 54 | |
|---|
| 55 | * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-1 |
|---|
| 56 | - new upstream release |
|---|
| 57 | |
|---|
| 58 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6-2 |
|---|
| 59 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 60 | |
|---|
| 61 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1 |
|---|
| 62 | - new upstream release |
|---|
| 63 | |
|---|
| 64 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2 |
|---|
| 65 | - rebuilt with python-2.6.4 |
|---|
| 66 | |
|---|
| 67 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1 |
|---|
| 68 | - new upstream release |
|---|
| 69 | |
|---|
| 70 | * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1 |
|---|
| 71 | - new upstream release |
|---|
| 72 | - add BR: python |
|---|
| 73 | |
|---|
| 74 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
|---|
| 75 | - new versioning policy |
|---|
| 76 | |
|---|
| 77 | * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
|---|
| 78 | - initial build for Vine Linux |
|---|
| 79 | |
|---|
| 80 | * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1 |
|---|
| 81 | - xcb-proto 1.1 |
|---|
| 82 | |
|---|
| 83 | * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1 |
|---|
| 84 | - Initial revision. |
|---|