xcb-util-vl.spec 3.7 KB

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