xcb-proto-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
  2. Summary: XCB protocol descriptions
  3. Name: xcb-proto
  4. Version: 1.6
  5. Release: 1%{?_dist_release}
  6. Group: Development/Libraries
  7. License: MIT
  8. URL: http://xcb.freedesktop.org/
  9. Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: python
  13. Requires: pkgconfig
  14. %description
  15. XCB is a project to enable efficient language bindings to the X11 protocol.
  16. This package contains the protocol descriptions themselves. Language
  17. bindings use these protocol descriptions to generate code for marshalling
  18. the protocol.
  19. %prep
  20. %setup -q
  21. %build
  22. # Bit of a hack to get the pc file in /usr/share, no we can be noarch.
  23. %configure --libdir=%{_datadir}
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. %clean
  29. rm -rf $RPM_BUILD_ROOT
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc COPYING NEWS README TODO doc/xml-xcb.txt
  33. %{_datadir}/pkgconfig/xcb-proto.pc
  34. %dir %{_datadir}/xcb/
  35. %{_datadir}/xcb/*.xsd
  36. %{_datadir}/xcb/*.xml
  37. %{python_sitelib}/xcbgen
  38. %changelog
  39. * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1
  40. - new upstream release
  41. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2
  42. - rebuilt with python-2.6.4
  43. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1
  44. - new upstream release
  45. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  46. - new upstream release
  47. - add BR: python
  48. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  49. - new versioning policy
  50. * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  51. - initial build for Vine Linux
  52. * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
  53. - xcb-proto 1.1
  54. * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
  55. - Initial revision.