xcb-proto-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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: 2%{?_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. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6-2
  40. - rebuild with rpm-4.8.1 for pkg-config file
  41. * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1
  42. - new upstream release
  43. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2
  44. - rebuilt with python-2.6.4
  45. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1
  46. - new upstream release
  47. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  48. - new upstream release
  49. - add BR: python
  50. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  51. - new versioning policy
  52. * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  53. - initial build for Vine Linux
  54. * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
  55. - xcb-proto 1.1
  56. * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
  57. - Initial revision.