libxklavier-vl.spec 4.7 KB

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