xcb-proto-vl.spec 2.1 KB

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