xcb-proto-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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.15
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: https://xcb.freedesktop.org/
  11. Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.xz
  12. BuildArch: noarch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: python3 python3-rpm-macros
  15. Requires: pkgconfig
  16. %description
  17. XCB is a project to enable efficient language bindings to the X11 protocol.
  18. This package contains the protocol descriptions themselves. Language
  19. bindings use these protocol descriptions to generate code for marshalling
  20. the protocol.
  21. %prep
  22. %setup -q
  23. %build
  24. export PYTHON=%{__python3}
  25. # Bit of a hack to get the pc file in /usr/share, no we can be noarch.
  26. %configure --libdir=%{_datadir}
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root,-)
  35. %license COPYING
  36. %doc NEWS README TODO doc/xml-xcb.txt
  37. %{_datadir}/pkgconfig/xcb-proto.pc
  38. %dir %{_datadir}/xcb/
  39. %{_datadir}/xcb/*.xsd
  40. %{_datadir}/xcb/*.xml
  41. %{python3_sitelib}/xcbgen
  42. %changelog
  43. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.15-1
  44. - new upstream release.
  45. * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14-1
  46. - new upstream release.
  47. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.13-1
  48. - new upstream release.
  49. * Fri Oct 31 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11-1
  50. - new upstream release
  51. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-1
  52. - new upstream release
  53. * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1
  54. - new upstream release
  55. * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-1
  56. - new upstream release
  57. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-2
  58. - rebuild with python-2.7.2
  59. * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-1
  60. - new upstream release
  61. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6-2
  62. - rebuild with rpm-4.8.1 for pkg-config file
  63. * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1
  64. - new upstream release
  65. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2
  66. - rebuilt with python-2.6.4
  67. * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1
  68. - new upstream release
  69. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  70. - new upstream release
  71. - add BR: python
  72. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  73. - new versioning policy
  74. * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  75. - initial build for Vine Linux
  76. * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
  77. - xcb-proto 1.1
  78. * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
  79. - Initial revision.