xcb-util-vl.spec 5.2 KB

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