libxkbcommon-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 XKB parsing library
  3. Summary(ja): X.Org X11 XKB 解析ライブラリ
  4. Name: libxkbcommon
  5. Version: 1.4.1
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: MIT
  11. URL: http://xkbcommon.org/
  12. Source0: http://xkbcommon.org/download/%{name}-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: libxcb-devel
  15. BuildRequires: xorg-x11-util-macros
  16. BuildRequires: xkeyboard-config
  17. BuildRequires: bison
  18. BuildRequires: meson
  19. BuildRequires: libxml2-devel
  20. %description
  21. xkbcommon is a library to handle keyboard descriptions, including
  22. loading them from disk, parsing them and handling their state.
  23. It's mainly meant for client toolkits, window systems, and other
  24. system applications; currently that includes Wayland, kmscon, GTK+,
  25. Qt, Clutter, and more. It is also used by some XCB applications for
  26. proper keyboard support.
  27. %package devel
  28. Summary: Development tools for %{name}
  29. Summary(ja): %{name} の開発環境
  30. Group: programming
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. Requires: libxcb-devel
  34. %description devel
  35. Header files and libraries for building a extension library for the %{name}.
  36. %package utils
  37. Summary: X.Org X11 XKB parsing utilities
  38. Group: admin-tools
  39. Requires: %{name}%{?_isa} = %{version}-%{release}
  40. %description utils
  41. %{name}-utils is a set of utilities to analyze and test XKB parsing.
  42. # compat32
  43. %package -n compat32-%{name}
  44. Summary: X.Org X11 XKB parsing library
  45. Summary(ja): X.Org X11 XKB 解析ライブラリ
  46. Group: system,legacy
  47. Requires: %{name} = %{version}-%{release}
  48. %description -n compat32-%{name}
  49. xkbcommon is a library to handle keyboard descriptions, including
  50. loading them from disk, parsing them and handling their state.
  51. It's mainly meant for client toolkits, window systems, and other
  52. system applications; currently that includes Wayland, kmscon, GTK+,
  53. Qt, Clutter, and more. It is also used by some XCB applications for
  54. proper keyboard support.
  55. %package -n compat32-%{name}-devel
  56. Summary: Development tools for %{name}
  57. Summary(ja): %{name} の開発環境
  58. Group: programming,legacy
  59. Requires: %{name}-devel = %{version}-%{release}
  60. Requires: pkgconfig
  61. Requires: compat32-libxcb-devel
  62. %description -n compat32-%{name}-devel
  63. Header files and libraries for building a extension library for the %{name}.
  64. %debug_package
  65. %prep
  66. %setup -q
  67. %build
  68. %meson \
  69. -Denable-docs=false \
  70. -Denable-x11=true \
  71. -Denable-wayland=false \
  72. -Ddefault-model=pc106 \
  73. -Ddefault-layout=jp
  74. %meson_build
  75. %install
  76. rm -rf $RPM_BUILD_ROOT
  77. %meson_install
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %files
  81. %defattr(-,root,root,-)
  82. %doc COPYING NEWS README.md
  83. %{_libdir}/libxkbcommon-x11.so.*
  84. %{_libdir}/libxkbcommon.so.*
  85. %{_libdir}/libxkbregistry.so.*
  86. %files devel
  87. %defattr(-,root,root,-)
  88. %{_includedir}/xkbcommon/
  89. %{_libdir}/libxkbcommon-x11.so
  90. %{_libdir}/libxkbcommon.so
  91. %{_libdir}/libxkbregistry.so
  92. %{_libdir}/pkgconfig/xkbcommon-x11.pc
  93. %{_libdir}/pkgconfig/xkbcommon.pc
  94. %{_libdir}/pkgconfig/xkbregistry.pc
  95. %files utils
  96. %{_bindir}/xkbcli
  97. %{_libexecdir}/xkbcommon/xkbcli-compile-keymap
  98. %{_libexecdir}/xkbcommon/xkbcli-how-to-type
  99. %{_libexecdir}/xkbcommon/xkbcli-interactive-evdev
  100. %{_libexecdir}/xkbcommon/xkbcli-interactive-x11
  101. %{_libexecdir}/xkbcommon/xkbcli-list
  102. %{_mandir}/man1/xkbcli-compile-keymap.1.gz
  103. %{_mandir}/man1/xkbcli-how-to-type.1.gz
  104. %{_mandir}/man1/xkbcli-interactive-evdev.1.gz
  105. %{_mandir}/man1/xkbcli-interactive-x11.1.gz
  106. %{_mandir}/man1/xkbcli-list.1.gz
  107. %{_mandir}/man1/xkbcli.1.gz
  108. # compat32
  109. %if %{build_compat32}
  110. %files -n compat32-%{name}
  111. %defattr(-,root,root,-)
  112. %{_libdir}/libxkbcommon-x11.so.*
  113. %{_libdir}/libxkbcommon.so.*
  114. %{_libdir}/libxkbregistry.so.*
  115. %files -n compat32-%{name}-devel
  116. %defattr(-,root,root,-)
  117. %{_libdir}/libxkbcommon-x11.so
  118. %{_libdir}/libxkbcommon.so
  119. %{_libdir}/libxkbregistry.so
  120. %endif
  121. %changelog
  122. * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.1-1
  123. - new upstream release.
  124. * Sun Jul 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.1-1
  125. - new upstream release.
  126. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
  127. - initial build