libxklavier-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Summary: library providing high-level API for X Keyboard Extension
  2. Summary(ja): X キーボード拡張の高レベル API を提供するライブラリ
  3. Name: libxklavier
  4. Version: 5.0
  5. Release: 2%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: http://www.freedesktop.org/wiki/Software/LibXklavier
  9. Source: %{name}-%{version}.tar.bz2
  10. # http://bugs.freedesktop.org/show_bug.cgi?id=22687
  11. Patch0: flags.patch
  12. Patch2: catch-more-xerrors.patch
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: doxygen
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libxkbfile-devel
  17. BuildRequires: libxml2-devel
  18. BuildRequires: glib2-devel >= 2.6.0
  19. BuildRequires: libX11-devel
  20. BuildRequires: xorg-x11-proto-devel
  21. %description
  22. libxklavier is a library providing high-level API for X Keyboard Extension
  23. known as XKB. This library is intended to support XFree86 and other
  24. commercial X servers. It is useful for creating XKB-related software
  25. (layout indicators etc).
  26. %package devel
  27. Summary: Libraries, includes, etc to develop libxklavier applications
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. Libraries, include files, etc you can use to develop libxklavier applications.
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .flags
  35. %patch2 -p1 -b .catch-more-xerrors
  36. %build
  37. %configure \
  38. --disable-static \
  39. --with-xkb-base='%{_datadir}/X11/xkb' \
  40. --with-xkb-bin-base='%{_bindir}'
  41. %__make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. %makeinstall
  45. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  46. %clean
  47. rm -rf %{buildroot}
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-, root, root)
  52. %doc AUTHORS ChangeLog NEWS README COPYING.LIB
  53. %{_libdir}/lib*.so.*
  54. %files devel
  55. %defattr(-, root, root)
  56. %doc doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.css
  57. %{_libdir}/pkgconfig/*.pc
  58. %{_libdir}/*.so
  59. %{_includedir}/*
  60. %{_datadir}/gtk-doc/html/libxklavier/
  61. %changelog
  62. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-2
  63. - import patch0,2 from fedora
  64. - add "--with-xkb-bin-base" configure option
  65. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0-1
  66. - new upstream release
  67. - add BuildRequires: libX11-devel, xorg-x11-proto-devel
  68. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-1
  69. - new upstream release
  70. - added --disable-static option
  71. * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8-1
  72. - new upstream release
  73. - spec in UTF-8
  74. * Mon Sep 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-1
  75. - new upstream release
  76. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6-2
  77. - build with xorg-x11-7.3
  78. - change xkb-base to /usr/share/X11/xkb
  79. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6-1
  80. - new upstream release
  81. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5-1vl5
  82. - new upstream release
  83. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3-0vl1
  84. - new upstream release
  85. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-0vl1
  86. - new upstream release
  87. - dropped Patch0
  88. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-0vl1
  89. - new upstream release
  90. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl1
  91. - new upstream release
  92. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
  93. - new upstream version
  94. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.04-0vl1
  95. - initial build for Vine Linux, based on fedora package.
  96. * Wed Sep 29 2004 Jonathan Blandford <jrb@redhat.com> 1.02-3
  97. - bump version
  98. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  99. - rebuilt
  100. * Tue Apr 20 2004 Jeremy Katz <katzj@redhat.com> - 1.02-1
  101. - update to 1.02 with real fixes for xorg
  102. * Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00-2
  103. - patch for xorg.xml instead of xfree86.xml
  104. * Fri Apr 2 2004 Alex Larsson <alexl@redhat.com> 1.00-1
  105. - update to 1.00
  106. * Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
  107. - fix typo (#118237)
  108. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  109. - rebuilt
  110. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  111. - rebuilt
  112. * Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 0.97-1
  113. - First version