xfce4-xkb-plugin-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. Name: xfce4-xkb-plugin
  2. Summary: XKB layout switcher for the Xfce panel
  3. Summary(ja): Xfce パネル用 XKB レイアウト変更器
  4. Version: 0.5.3.3
  5. Release: 7%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: BSD
  8. URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
  9. Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.gz
  10. Patch0: xfce4-xkb-plugin-0.5.2-xklavier-api.patch
  11. Patch1: xfce4-xkb-plugin-0.5.3.3-libxklavier5.patch
  12. # https://bugzilla.redhat.com/show_bug.cgi?id=525471
  13. # fix at http://bugzilla.xfce.org/show_bug.cgi?id=6122#c1
  14. Patch2: xfce4-xkb-plugin-0.5.3.3-fix-various-segfaults.patch
  15. Patch3: xfce4-xkb-plugin-0.5.3.3-fix-segfault-in-kb-selector.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: librsvg2-devel >= 2.18
  18. BuildRequires: libwnck-devel >= 2.12
  19. BuildRequires: libxfcegui4-devel >= 4.3.90.2
  20. BuildRequires: libxklavier-devel >= 3.2
  21. BuildRequires: libxml2-devel
  22. BuildRequires: xfce4-panel-devel >= 4.3.20
  23. BuildRequires: gettext, intltool
  24. Requires: xfce4-panel >= 4.4.0
  25. %description
  26. Xfce XKB layout switch plugin for the Xfce panel. It displays the current
  27. keyboard layout, and refreshes when layout changes. The layout can be
  28. switched by simply clicking on the plugin. For now the keyboard layouts
  29. cannot be configured from the plugin itself, they should be set in the
  30. XF86Config file or some other way (e.g. setxkbmap).
  31. %prep
  32. %setup -q
  33. %patch2 -p1 -b .orig
  34. %patch3 -p1 -b .segfault-in-kb-selector
  35. # Vine Linux 6 will have libxklavier 5.1
  36. %if %{?_dist_release} != "vl5"
  37. %patch0 -p1 -b .xklavier4
  38. %patch1 -p1 -b .xklavier5
  39. %endif
  40. %build
  41. %configure --disable-static
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  46. %find_lang %{name}
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files -f %{name}.lang
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS COPYING ChangeLog README
  52. %{_libexecdir}/xfce4/panel-plugins/%{name}
  53. %{_datadir}/xfce4/panel-plugins/*.desktop
  54. %dir %{_datadir}/xfce4/xkb/
  55. %dir %{_datadir}/xfce4/xkb/flags
  56. %{_datadir}/xfce4/xkb/flags/*.svg
  57. %changelog
  58. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.3.3-7
  59. - initial build for Vine Linux
  60. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3.3-6
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Thu Jan 13 2011 Kevin Fenzi <kevin@tummy.com> - 0.5.3.3-5
  63. - Rebuild for Xfce 4.8
  64. * Fri Nov 25 2010 François Cami <fcami@fedoraproject.org> - 0.5.3.3-4
  65. - Fix segfault when adding a second keymap. Thanks to Lionel Le Folgoc (#597207)
  66. * Fri Feb 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3.3-3
  67. - Fix various segfaults. Thanks to Lionel Le Folgoc (#525471, #547553)
  68. * Mon Jan 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3.3-2
  69. - Add patch for libxklavier 5.0. Thanks to Caolan McNamara (#558083)
  70. * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.3.3-1
  71. - Update to 0.5.3.3 (#502878)
  72. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-5
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Tue Jul 07 2009 Adam Jackson <ajax@redhat.com> 0.5.2-4
  75. - xxp-0.5.2-xklavier-api.patch: Fix for new libxklavier API.
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-2
  79. - Rebuild for Xfce 4.6 (Beta 3)
  80. * Thu Nov 27 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-1
  81. - Update to 0.5.2
  82. * Thu Oct 02 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-1
  83. - Update to 0.5.1
  84. * Mon Jul 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.3-5
  85. - fix conditional comparison
  86. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.3-4
  87. - Autorebuild for GCC 4.3
  88. * Sat Aug 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.3-3
  89. - Rebuild for BuildID feature
  90. * Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.3-2
  91. - Rebuild for Xfce 4.4.1
  92. * Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.3-1
  93. - Update to 0.4.3 on Xfce 4.4.
  94. * Sat Dec 09 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-1
  95. - Update to 0.4.2.
  96. * Fri Dec 01 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.1-1
  97. - Update to 0.4.1 on Xfce 4.3.99.2.
  98. * Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-0.2.20060923svn
  99. - Bump release for devel checkin.
  100. * Sat Sep 23 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-0.1.20060923svn
  101. - Update to svn snapshot of Sep 23rd 2006 on Xfce 4.3.99.1.
  102. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.5-3
  103. - Mass rebuild for Fedora Core 6.
  104. * Tue Apr 11 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.5-2
  105. - Require xfce4-panel.
  106. * Fri Mar 31 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.5-1
  107. - Update to 0.3.5.
  108. * Fri Mar 17 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.4-1
  109. - Update to 0.3.4.
  110. * Fri Mar 10 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.3-1
  111. - Update to 0.3.3.
  112. * Thu Feb 16 2006 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-6
  113. - Rebuild for Fedora Extras 5.
  114. * Fri Dec 30 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-5
  115. - Changes for modular X: Add libXext-devel and libXpm-devel BuildReqs.
  116. * Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-4
  117. - Add libxfcegui4-devel BuildReqs.
  118. - Fix %%defattr.
  119. * Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-3
  120. - Initial Fedora Extras version.
  121. - Rebuild for XFCE 4.2.3.
  122. - disable-static instead of removing .a files.
  123. * Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-2.fc4.cw
  124. - Add libxml2 BuildReqs.
  125. * Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-1.fc4.cw
  126. - Rebuild for Core 4.
  127. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.2-1.fc3.cw
  128. - Initial RPM release.