gsynaptics-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Summary: Settings tool for Synaptics touchpad driver
  2. Summary(ja): Synaptics タッチパッドドライバ設定ツール
  3. Name: gsynaptics
  4. Version: 0.9.16
  5. Release: 1%{?_dist_release}
  6. Group: Applications/System
  7. License: GPLv2+
  8. URL: http://gsynaptics.sourceforge.jp/
  9. Source0: http://downloads.sourceforge.jp/gsynaptics/28322/gsynaptics-%{version}.tar.gz
  10. # Source1 taken from http://downloads.sourceforge.jp/gsynaptics/15189/gsynaptics-0.9.0.tar.gz
  11. # until http://sourceforge.jp/tracker/index.php?func=detail&aid=11265&group_id=1720&atid=6433 gets fixed
  12. Patch0: gsynaptics-0.9.14-dot-fixes.patch
  13. Patch1: gsynaptics-0.9.14-do-not-set-zero.patch
  14. Patch2: gsynaptics-0.9.16-pixmap.patch
  15. Patch3: gsynaptics-0.9.14-driver-header.patch
  16. Source1: %{name}-touchpad.png
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  18. BuildRequires: perl(XML::Parser)
  19. BuildRequires: libgnomeui-devel
  20. BuildRequires: libglade2-devel
  21. BuildRequires: desktop-file-utils gettext
  22. BuildRequires: gnome-doc-utils
  23. BuildRequires: xorg-x11-drv-synaptics
  24. Requires: xorg-x11-drv-synaptics
  25. %description
  26. A GTK+ tool to set scroll and tap preferences for the Synaptics touchpad
  27. driver.
  28. %prep
  29. %setup -q
  30. cp data/gsynaptics-init.desktop.in.in data/gsynaptics-init.desktop.in.in.org
  31. grep -v -e "^Categories=$" data/gsynaptics-init.desktop.in.in.org > data/gsynaptics-init.desktop.in.in
  32. install -p %{SOURCE1} data/touchpad.png
  33. %patch0 -p1 -b .dot-fixes
  34. %patch1 -p1 -b .zero
  35. %patch2 -p1 -b .pixmap
  36. %patch3 -p1 -b .header
  37. %build
  38. autoreconf -v --install --force || exit 1
  39. %configure
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. desktop-file-install --vendor "" \
  45. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  46. --add-category HardwareSettings \
  47. --delete-original \
  48. $RPM_BUILD_ROOT%{_datadir}/applications/gsynaptics.desktop
  49. desktop-file-install --vendor "" \
  50. --dir ${RPM_BUILD_ROOT}%{_datadir}/gnome/autostart/ \
  51. --delete-original \
  52. $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/gsynaptics-init.desktop
  53. %find_lang %{name}
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS ChangeLog COPYING README TODO
  59. %{_bindir}/*
  60. %{_datadir}/%{name}
  61. %{_datadir}/pixmaps/touchpad.png
  62. %{_datadir}/applications/*%{name}.desktop
  63. %{_datadir}/gnome/autostart/*%{name}*.desktop
  64. %{_datadir}/gnome/help/%{name}
  65. %{_mandir}/man1/gsynaptics*
  66. %changelog
  67. * Mon Apr 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.16-1
  68. - new upstream release
  69. - import Patch3 (use the driver's header file instead of a custom synshm.h)
  70. * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.14-1
  71. - initial build for Vine Linux
  72. * Tue Aug 12 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-2
  73. - Fix crash on startup, thanks to Sertaç Ö. Yıldız for the pointer (#457540)
  74. - Add patch to not set undefined keys to 0 by Michal Čihař (Debian #480744)
  75. - Fix for locales not using "." as decimal seperator (upstream #12498)
  76. * Sun Jul 27 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-1
  77. - Use dist tag
  78. * Sun Jul 27 2008 Christoph Wickert <fedora christoph-wickert de> - 0.9.14-1
  79. - Update 0.9.14
  80. * Sat Feb 09 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0.9.13-3
  81. - rebuilt
  82. * Sat Dec 01 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.13-2
  83. - BR gnome-doc-utils
  84. * Sat Dec 01 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.13-1
  85. - Update to 0.9.13
  86. - ship touchpad.png, fixes #401891
  87. * Fri Aug 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info>
  88. - Update License field due to the "Licensing guidelines changes"
  89. * Sun Jun 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.12-2
  90. - Use ExclusiveArch just as synaptics does
  91. * Sun Jun 03 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.12-1
  92. - Update to 0.9.12
  93. - Add category HardwareSettings to desktop file (#242345)
  94. * Sat Feb 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.11-1
  95. - Update to 0.9.11
  96. * Mon Aug 28 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.8-2
  97. - Rebuild
  98. * Sat Jul 08 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.8-1
  99. - Add BuildRequires: perl-XML-Parser (fixes #197955)
  100. - update to 0.9.8
  101. * Mon Feb 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.5-2
  102. - Rebuild for Fedora Extras 5
  103. * Sun Nov 13 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.5-1
  104. - Update to 0.9.5
  105. * Sat Oct 22 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-3
  106. - Use dist
  107. * Tue Oct 04 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-2
  108. - Improved Summary and description as suggested by ignacio
  109. * Mon Oct 03 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.9.4-1
  110. - Initial package.