xcb-util-vl.spec 5.6 KB

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