mousetweaks-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. %define pkg_version 3.2.1
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Mouse accessibility enhancements for GNOME desktop
  4. Summary(ja): GNOME デスクトップ用マウス利便性強化ツール
  5. Name: mousetweaks
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/mousetweaks/3.2/%{name}-%{version}.tar.xz
  9. License: GPLv3, FDL
  10. Group: User Interface/Desktops
  11. URL: http://live.gnome.org/Mousetweaks/Home
  12. BuildRequires: gtk3-devel
  13. BuildRequires: GConf2-devel
  14. BuildRequires: dbus-glib-devel
  15. BuildRequires: at-spi-devel
  16. BuildRequires: libXcursor-devel
  17. BuildRequires: libXfixes-devel
  18. BuildRequires: libXtst-devel
  19. BuildRequires: gnome-panel-devel
  20. BuildRequires: gnome-doc-utils
  21. BuildRequires: gsettings-desktop-schemas
  22. Requires(post): GConf2
  23. Requires(pre): GConf2
  24. Requires(preun): GConf2
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. The Mousetweaks package provides mouse accessibility enhancements for
  31. the GNOME desktop. These enhancements are:
  32. 1. It offers a way to perform the various clicks without using any
  33. hardware button.
  34. 2. It allows users to perform a right click by doing a click&hold
  35. of the left mousebutton. (For a left-handed mouse user, the termes
  36. left and right have to be inverted.)
  37. 3. It provides an applet that the user can install on a panel. This
  38. applet creates an area on the panel into which the pointer can
  39. be captured until the user releases it with a predefined button
  40. and modifier combination.
  41. The options can be accessed through the Accessibility tab of the
  42. Mouse Preferences of GNOME Control Center or through command-line.
  43. %prep
  44. %setup -q
  45. %build
  46. %configure --disable-scrollkeeper
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. unset export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  53. %find_lang %{name} --with-gnome
  54. %clean
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %postun
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. %posttrans
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. %files -f %{name}.lang
  61. %defattr(-,root,root)
  62. %doc COPYING COPYING.FDL COPYING.GPL ChangeLog NEWS README
  63. %{_bindir}/mousetweaks
  64. %{_datadir}/GConf/gsettings/mousetweaks.convert
  65. %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.enums.xml
  66. %{_datadir}/glib-2.0/schemas/org.gnome.mousetweaks.gschema.xml
  67. %{_datadir}/mousetweaks
  68. %{_mandir}/man1/*
  69. %changelog
  70. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  71. - new upstream release
  72. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  73. - new upstream release
  74. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91-1
  75. - new upstream release
  76. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  77. - new upstream release
  78. - change BuildRequires: gtk3-devel instead of gtk2-devel
  79. - add BuildRequires: gsettings-desktop-schemas
  80. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  81. - new upstream release
  82. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  83. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  84. - new upstream release
  85. * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  86. - initial build for Vine Linux