xcb-util-vl.spec 5.6 KB

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