libxklavier-vl.spec 4.3 KB

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