system-setup-keyboard-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: system-setup-keyboard
  2. Version: 0.8.5
  3. Release: 2%{?_dist_release}
  4. Summary: xorg.conf keyboard layout daemon
  5. Group: Applications/System
  6. License: MIT
  7. URL: http://git.fedorahosted.org/git/system-setup-keyboard.git/
  8. Source0: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2
  9. Source10: system-setup-keyboard.init
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: system-config-keyboard >= 1.3.1
  13. Requires: xorg-x11-server-Xorg >= 1.8.0-2
  14. #Requires: upstart
  15. Conflicts: xorg-x11-server-Xorg < 1.6.0
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: daisuke
  19. %description
  20. system-setup-keyboard is a daemon that monitors /etc/sysconfig/keyboard
  21. and writes out an xorg.conf.d snippet based on this file's contents.
  22. Whenever the file is updated, system-setup-keyboard writes out the
  23. matching XKB configuration for the selected layout. This configuration
  24. applies to all keyboards but may be overwritten by other xorg.conf.d
  25. snippets or entries in the xorg.conf configuration file.
  26. %prep
  27. %setup -q
  28. %build
  29. make CFLAGS="%{optflags}" %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. #install -D -m775 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc COPYING
  39. %{_bindir}/%{name}
  40. %{_sysconfdir}/init/%{name}.conf
  41. #%{_sysconfdir}/rc.d/init.d/%{name}
  42. %{_mandir}/man1/system-setup-keyboard.1*
  43. %changelog
  44. * Thu May 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.5-2
  45. - remove sysv initscript
  46. * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.5-1
  47. - new upstream release
  48. - use /etc/X11/xorg.conf.d for snippet directory.
  49. - require xorg-x11-server-Xorg >= 1.8.0-2
  50. * Tue Mar 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-2
  51. - add initscripts
  52. * Fri Mar 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  53. - initial build for Vine Linux
  54. * Sat Feb 27 2010 Adel Gadllah <adel.gadllah@gmail.com> 0.8.2-1
  55. - 0.8.2 release
  56. - Actually install the upstart config file
  57. * Thu Feb 18 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.8.1-1
  58. - 0.8.1 release (makefile fixes)
  59. * Tue Feb 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.8-1
  60. - 0.8 release (xorg.conf.d support)
  61. - drop HAL requires.
  62. * Tue Feb 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.7-1
  63. - Rename to system-setup-keyboard, update the URL and Source0 accordingly.
  64. Obsoletes fedora-setup-keyboard.
  65. * Sat Dec 26 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.6-1
  66. - 0.6 release
  67. - Fixes RH #545970
  68. * Fri Nov 20 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.5-1
  69. - Patch merged upstream
  70. * Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.4-4
  71. - rhpl was replaced by system-config-keyboard.
  72. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Wed May 27 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.4-2
  75. - Rebuild to pick up rhpl changes
  76. * Mon Apr 13 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.4-1
  77. - 0.4 release
  78. - Dropped patch, merged upstream
  79. * Thu Apr 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.3-4
  80. - fedora-setup-keyboard-0.3-merge-terminate.patch: merge xkb options for
  81. termination.
  82. * Thu Mar 05 2009 Peter Hutterer <peter.hutterer@redhat.com> 0.3-3
  83. - Conflict xorg-x11-server-Xorg < 1.6.0-7 (10-x11-keymap.fdi and
  84. fedora-setup-keyboard up to 1.6.0-5)
  85. * Mon Mar 02 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-2
  86. - Fix license tag
  87. * Wed Feb 25 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.3-1
  88. - 0.3 release
  89. - Require hal
  90. * Sat Feb 21 2009 Adel Gadllah <adel.gadllah@gmail.com> 0.2-1
  91. - Initial package