libxklavier-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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: 3%{?_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. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0-3
  63. - rebuild with rpm-4.8.1 for pkg-config file
  64. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0-2
  65. - import patch0,2 from fedora
  66. - add "--with-xkb-bin-base" configure option
  67. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.0-1
  68. - new upstream release
  69. - add BuildRequires: libX11-devel, xorg-x11-proto-devel
  70. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-1
  71. - new upstream release
  72. - added --disable-static option
  73. * Sun Jan 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8-1
  74. - new upstream release
  75. - spec in UTF-8
  76. * Mon Sep 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.7-1
  77. - new upstream release
  78. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.6-2
  79. - build with xorg-x11-7.3
  80. - change xkb-base to /usr/share/X11/xkb
  81. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6-1
  82. - new upstream release
  83. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5-1vl5
  84. - new upstream release
  85. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3-0vl1
  86. - new upstream release
  87. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2-0vl1
  88. - new upstream release
  89. - dropped Patch0
  90. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-0vl1
  91. - new upstream release
  92. * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl1
  93. - new upstream release
  94. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1
  95. - new upstream version
  96. * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.04-0vl1
  97. - initial build for Vine Linux, based on fedora package.
  98. * Wed Sep 29 2004 Jonathan Blandford <jrb@redhat.com> 1.02-3
  99. - bump version
  100. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  101. - rebuilt
  102. * Tue Apr 20 2004 Jeremy Katz <katzj@redhat.com> - 1.02-1
  103. - update to 1.02 with real fixes for xorg
  104. * Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 1.00-2
  105. - patch for xorg.xml instead of xfree86.xml
  106. * Fri Apr 2 2004 Alex Larsson <alexl@redhat.com> 1.00-1
  107. - update to 1.00
  108. * Mon Mar 15 2004 Bill Nottingham <notting@redhat.com>
  109. - fix typo (#118237)
  110. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  111. - rebuilt
  112. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  113. - rebuilt
  114. * Tue Jan 27 2004 Alexander Larsson <alexl@redhat.com> 0.97-1
  115. - First version