xcb-proto-vl.spec 2.3 KB

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