xautoclick-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Summary: automatically click the left mousebutton
  2. Name: xautoclick
  3. Version: 0.30
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/Accessories
  7. URL: http://xautoclick.sourceforge.net/
  8. Source0: %{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  10. BuildRequires: libXtst-devel
  11. BuildRequires: gtk2-devel
  12. Distribution: Vine Linux
  13. Vendor: Project Vine
  14. Packager: iwaim
  15. %description
  16. This application enables you to automatically click the left mousebutton.
  17. It is designed to reduce strain on the wrist muscles caused by repetitive
  18. mouse clicking, which can lead to serious injury or impair
  19. (RSI, Carpal Tunnel Syndrome, et cetera). By specifying the interval,
  20. a random factor and the number of times to click, the program simulates
  21. natural clicking.
  22. %package gtk2
  23. Summary: automatically click the left mousebutton for GTK+ 2
  24. Group: Applications/Accessories
  25. %description gtk2
  26. This application enables you to automatically click the left mousebutton.
  27. It is designed to reduce strain on the wrist muscles caused by repetitive
  28. mouse clicking, which can lead to serious injury or impair
  29. (RSI, Carpal Tunnel Syndrome, et cetera). By specifying the interval,
  30. a random factor and the number of times to click, the program simulates
  31. natural clicking.
  32. %prep
  33. %setup -q
  34. ./configure --prefix=%{_prefix}
  35. %build
  36. make
  37. %install
  38. rm -rf %{buildroot}
  39. # ad-hoc
  40. make install PREFIX=%{buildroot}%{_prefix}
  41. %{__rm} -rf %{buildroot}%{_prefix}/man
  42. %{__mkdir_p} %{buildroot}%{_mandir}/man1
  43. %{__cp} -a xautoclick.1 %{buildroot}%{_mandir}/man1/gautoclick2.1
  44. %{__cp} -a xautoclick.1 %{buildroot}%{_mandir}/man1/
  45. %clean
  46. rm -rf %{buildroot}
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS ChangeLog LICENSE README
  50. %{_bindir}/[ac]autoclick
  51. %{_mandir}/man1/xautoclick.1*
  52. %files gtk2
  53. %defattr(-,root,root,-)
  54. %doc AUTHORS ChangeLog LICENSE README
  55. %{_bindir}/gautoclick2
  56. %{_mandir}/man1/gautoclick2.1*
  57. %changelog
  58. * Sat Feb 26 2011 IWAI, Masaharu <iwai@alib.jp> 0.30-1
  59. - Initial build.