xkeyboard-config-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. Summary: xkeyboard-config alternative xkb data files
  2. Name: xkeyboard-config
  3. Version: 2.0
  4. Release: 1%{?_dist_release}
  5. License: MIT
  6. Group: User Interface/X
  7. URL: http://www.freedesktop.org/wiki/Software/XKeyboardConfig
  8. Source0: http://xlibs.freedesktop.org/xkbdesc/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: pkgconfig
  12. BuildRequires: xorg-x11-util-macros
  13. BuildRequires: xkbcomp
  14. BuildRequires: perl(XML::Parser)
  15. Provides: xkbdata
  16. %description
  17. xkeyboard-config alternative xkb data files
  18. %prep
  19. %setup -q
  20. %build
  21. %configure \
  22. --enable-compat-rules \
  23. --with-xkb-base=%{_datadir}/X11/xkb \
  24. --disable-xkbcomp-symlink \
  25. --with-xkb-rules-symlink=xorg
  26. make
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. # Remove unnecessary symlink
  31. rm -f $RPM_BUILD_ROOT%{_datadir}/X11/xkb/compiled
  32. %find_lang %{name}
  33. # Create filelist
  34. {
  35. FILESLIST=${PWD}/files.list
  36. pushd $RPM_BUILD_ROOT
  37. find ./usr/share/X11/xkb -type d | sed -e "s/^\./%dir /g" > $FILESLIST
  38. find ./usr/share/X11/xkb -type f | sed -e "s/^\.//g" >> $FILESLIST
  39. popd
  40. }
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files -f files.list -f %{name}.lang
  44. %defattr(-,root,root,-)
  45. %{_datadir}/X11/xkb/rules/xorg
  46. %{_datadir}/X11/xkb/rules/xorg.lst
  47. %{_datadir}/X11/xkb/rules/xorg.xml
  48. %{_datadir}/pkgconfig/xkeyboard-config.pc
  49. %changelog
  50. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-1
  51. - new upstream release
  52. * Mon Apr 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.18-1
  53. - new upstream release
  54. - update URL:
  55. - drop upstreamed patch(1,2)
  56. - use %%find_lang macro
  57. * Mon Sep 14 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.16-1
  58. - new upstream release
  59. - drop upstreamed patch
  60. - add Patch1,2 from upstream
  61. * Thu Oct 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.14-1
  62. - new upstream release
  63. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-1
  64. - new upstream release
  65. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
  66. - new versioning policy
  67. * Mon Jan 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1
  68. - initial build for Vine Linux
  69. * Sat Oct 6 2007 Matthias Clasen <mclasen@redhat.com> - 1.1-3
  70. - Somehow the Dell M65 model lost its vendor
  71. * Wed Sep 26 2007 Matthias Clasen <mclasen@redhat.com> - 1.1-2
  72. - Pick up the respun 1.1 release
  73. * Wed Sep 26 2007 Matthias Clasen <mclasen@redhat.com> - 1.1-1
  74. - Update to 1.1
  75. - Drop upstreamed patches
  76. * Wed Sep 5 2007 Matthias Clasen <mclasen@redhat.com> - 1.0-1
  77. - Update to 1.0
  78. - Drop upstreamed patches
  79. - Update remaining patches
  80. * Fri Sep 1 2006 Alexander Larsson <alexl@redhat.com> - 0.8-7
  81. - Update macbook patch to be closer to what got in upstream
  82. - (kp enter is ralt, not the option key)
  83. * Fri Sep 1 2006 Matthias Clasen <mclasen@redhat.com> - 0.8-6
  84. - Add support for Korean 106 key keyboards (204158)
  85. * Tue Aug 29 2006 Alexander Larsson <alexl@redhat.com> - 0.8-5
  86. - Add MacBook model and geometry, plus alt_win option
  87. * Thu Aug 22 2006 Matthias Clasen <mclasen@redhat.com> 0.8-4
  88. - Fix geometry description for Thinkpads
  89. - Add a Kinesis model
  90. - Add Dell Precision M65 geometry and model
  91. * Tue Aug 22 2006 Adam Jackson <ajackson@redhat.com> 0.8-3
  92. - Add Compose semantics to right Alt when that's ISO_Level3_Shift (#193922)
  93. * Fri Jul 07 2006 Mike A. Harris <mharris@redhat.com> 0.8-2
  94. - Rename spec file from xorg-x11-xkbdata to xkeyboard-config.spec
  95. * Fri Jul 07 2006 Mike A. Harris <mharris@redhat.com> 0.8-1
  96. - Renamed package from 'xorg-x11-xkbdata' to 'xkeyboard-config' to match the
  97. upstream project name and tarball. I kept the rpm changelog intact however
  98. to preserve history, so all entries older than today, are from the
  99. prior 'xorg-x11-xkbdata' package. (#196229,197939)
  100. - Added "Obsoletes: xorg-x11-xkbdata"
  101. - Removed 'pre' script from spec file, as that was a temporary hack to help
  102. transition from modular X.Org xkbdata to modular xkeyboard-config during
  103. FC5 development. The issue it resolved is not present in any officially
  104. released distribution release or updates, so the hack is no longer needed.
  105. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-8.xkbc0.8.0
  106. - Embed xkeyboard-config version in Release field so we can tell from the
  107. filename what is really in this package without having to look in the
  108. spec file. We should rename the package to xkeyboard-config and restart
  109. the versioning.
  110. * Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-8
  111. - Added "BuildRequires: perl(XML::Parser)" for (#194188)
  112. * Sat Mar 04 2006 Ray Strode <rstrode@redhat.com> 1.0.1-7
  113. - Update to 0.8.
  114. * Wed Mar 01 2006 Ray Strode <rstrode@redhat.com> 1.0.1-6
  115. - Turn on compat symlink (bug 183521)
  116. * Tue Feb 28 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-5
  117. - Fixed rpm pre script upgrade/install testing
  118. - Rebuild package as 1.0.1-5 in rawhide, completing the transition to
  119. xkeyboard-config.
  120. * Tue Feb 28 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-4.0.7.xkbcfg.5
  121. - Added rpm pre script, to pre-remove the symbols/pc during package upgrades,
  122. to avoid an rpm cpio error if the X11R7.0 modular xkbdata package is already
  123. installed, because rpm can not replace a directory with a file.
  124. * Fri Feb 24 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-4.0.7.xkbcfg.1
  125. - Package renamed to xorg-x11-xkbdata and version/release tweaked since it
  126. is too late to add new package names to Fedora Core 5 development.
  127. - Added "Provides: xkeyboard-config" virtual provide.
  128. * Fri Feb 24 2006 Mike A. Harris <mharris@redhat.com> 0.7-1
  129. - Initial package created with xkeyboard-config-0.7.
  130. * Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
  131. - Added xkbdata-1.0.1-greek-fix-bug181313.patch to fix (#181313,181313)
  132. - Added xkbdata-1.0.1-cz-fix-bug177362.patch to fix (#177362,178892)
  133. * Thu Feb 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  134. - Added xkbdata-1.0.1-sysreq-fix-bug175661.patch to fix (#175661)
  135. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  136. - Updated to xbitmaps 1.0.1 from X11R7.0
  137. * Sat Dec 17 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  138. - Updated to xbitmaps 1.0.0 from X11R7 RC4.
  139. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  140. - Add a few missing rpm 'dir' directives to file manifest.
  141. - Bump release, and build as a 'noarch' package.
  142. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  143. - Updated to xkbdata 0.99.1 from X11R7 RC2.