xcb-util-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Name: xcb-util
  2. Version: 0.3.6
  3. Release: 2%{?_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. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-2
  61. - rebuild with rpm-4.8.1 for pkg-config file
  62. * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-1
  63. - initial build for Vine Linux
  64. * Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1
  65. - 0.3.6
  66. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1
  69. - xcb-util 0.3.5
  70. * Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2
  71. - Explicitly list DSOs so we're notified of version changes.
  72. * Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1
  73. - 0.3.4; needed for Awesome 3.3
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1
  77. - 0.3.3
  78. - removed patches already in git (and 0.3.3)
  79. * Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2
  80. - hack the sed lines after %%configure out and hack chrpath in
  81. - make check is running again
  82. * Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1
  83. - 0.3.2
  84. - remove rpath (x86-64)
  85. - xcb_keysyms: remove xcb_lookup_t
  86. - Revert "keysyms: use xcb_key_lookup_t type for col paramter"
  87. - temporary disabled %%check due to RPATH regression
  88. * Thu Dec 4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2
  89. - patch for exit() in aux library (Peter Harris)
  90. - slight changes in spec file
  91. * Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1
  92. - 0.3.1
  93. - fix license issue (Jonathan Landis)
  94. * Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1
  95. - bump to 0.3.0
  96. * Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2
  97. - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel
  98. - not installing *.a files anymore
  99. - configure with --with-pic
  100. * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1
  101. - initial package