libxklavier-vl.spec 4.4 KB

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