xcb-util-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: xcb-util
  3. Version: 0.3.9
  4. Release: 1%{?_dist_release}
  5. Summary: Convenience libraries sitting on top of libxcb
  6. Group: System Environment/Libraries
  7. License: MIT
  8. URL: http://xcb.freedesktop.org
  9. Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: gperf, pkgconfig, libxcb-devel >= 1.4, m4, xorg-x11-proto-devel
  12. BuildRequires: xorg-x11-util-macros
  13. BuildRequires: chrpath
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. The xcb-util module provides a number of libraries which sit on top of
  18. libxcb, the core X protocol library, and some of the extension
  19. libraries. These experimental libraries provide convenience functions
  20. and interfaces which make the raw X protocol more usable. Some of the
  21. libraries also provide client-side code which is not strictly part of
  22. the X protocol but which have traditionally been provided by Xlib.
  23. %package devel
  24. Summary: Development and header files for xcb-util
  25. Group: System Environment/Libraries
  26. Requires: %{name} = %{version}-%{release}, pkgconfig
  27. %description devel
  28. Development files for xcb-util.
  29. # compat32
  30. %package -n compat32-%{name}
  31. Summary: Convenience libraries sitting on top of libxcb
  32. Group: System Environment/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. %description -n compat32-%{name}
  35. The xcb-util module provides a number of libraries which sit on top of
  36. libxcb, the core X protocol library, and some of the extension
  37. libraries. These experimental libraries provide convenience functions
  38. and interfaces which make the raw X protocol more usable. Some of the
  39. libraries also provide client-side code which is not strictly part of
  40. the X protocol but which have traditionally been provided by Xlib.
  41. %package -n compat32-%{name}-devel
  42. Summary: Development and header files for xcb-util
  43. Group: System Environment/Libraries
  44. Requires: %{name}-devel = %{version}-%{release}
  45. %description -n compat32-%{name}-devel
  46. Development files for xcb-util.
  47. %prep
  48. %setup -q
  49. %build
  50. %configure --with-pic --disable-static
  51. make %{?_smp_mflags}
  52. %check
  53. make check
  54. %install
  55. rm -rf %{buildroot}
  56. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  57. # remove RPATH
  58. chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.*
  59. rm %{buildroot}%{_libdir}/*.la
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %post -n compat32-%{name} -p /sbin/ldconfig
  63. %postun -n compat32-%{name} -p /sbin/ldconfig
  64. %clean
  65. rm -rf %{buildroot}
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc README
  69. %{_libdir}/libxcb-util.so.*
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %{_libdir}/pkgconfig/*.pc
  73. %{_libdir}/libxcb-util.so
  74. %{_includedir}/xcb/*.h
  75. # compat32
  76. %if %{build_compat32}
  77. %files -n compat32-%{name}
  78. %defattr(-,root,root,-)
  79. %{_libdir}/libxcb-util.so.*
  80. %files -n compat32-%{name}-devel
  81. %defattr(-,root,root,-)
  82. %{_libdir}/pkgconfig/*.pc
  83. %{_libdir}/libxcb-util.so
  84. %endif
  85. %changelog
  86. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-1
  87. - new upstream release
  88. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1
  89. - new upstream release
  90. - add BuildRequires: xorg-x11-util-macros
  91. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-2
  92. - rebuild with rpm-4.8.1 for pkg-config file
  93. * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-1
  94. - initial build for Vine Linux
  95. * Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1
  96. - 0.3.6
  97. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  99. * Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1
  100. - xcb-util 0.3.5
  101. * Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2
  102. - Explicitly list DSOs so we're notified of version changes.
  103. * Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1
  104. - 0.3.4; needed for Awesome 3.3
  105. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  107. * Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1
  108. - 0.3.3
  109. - removed patches already in git (and 0.3.3)
  110. * Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2
  111. - hack the sed lines after %%configure out and hack chrpath in
  112. - make check is running again
  113. * Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1
  114. - 0.3.2
  115. - remove rpath (x86-64)
  116. - xcb_keysyms: remove xcb_lookup_t
  117. - Revert "keysyms: use xcb_key_lookup_t type for col paramter"
  118. - temporary disabled %%check due to RPATH regression
  119. * Thu Dec 4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2
  120. - patch for exit() in aux library (Peter Harris)
  121. - slight changes in spec file
  122. * Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1
  123. - 0.3.1
  124. - fix license issue (Jonathan Landis)
  125. * Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1
  126. - bump to 0.3.0
  127. * Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2
  128. - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel
  129. - not installing *.a files anymore
  130. - configure with --with-pic
  131. * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1
  132. - initial package