trackpad-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: trackpad
  2. Summary: controls trackpad tapping behavior in Apple PowerBooks
  3. Summary(ja): Apple PowerBook のトラックパッドの挙動を制御するプログラム
  4. Version: 0.1
  5. Release: 1vl3
  6. Source0: %{name}-%{version}.tar.gz
  7. Source1: %{name}-%{version}.ja.po
  8. Patch0: %{name}-%{version}.nls.patch
  9. URL: http://www.linuxppc.org/~hollis/trackpad-0.1.tar.gz
  10. Group: Applications/System
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Copyright: GPL
  16. ExclusiveArch: ppc
  17. %description
  18. Tool to control trackpad tapping behavior in Apple PowerBooks.
  19. %description -l ja
  20. trackpad は Apple PowerBook のトラックパッドの
  21. タッピングを制御するプログラムです.
  22. %prep
  23. rm -rf $RPM_BUILD_ROOT
  24. %setup -q
  25. %patch0 -p1
  26. cp %{SOURCE1} ${RPM_BUILD_DIR}/%{name}-%{version}/%{name}.ja.po
  27. %build
  28. make clean
  29. make
  30. msgfmt %{name}.ja.po -o %{name}.mo
  31. %install
  32. make install ROOT="$RPM_BUILD_ROOT"
  33. mkdir -p ${RPM_BUILD_ROOT}%{_localedir}/ja/LC_MESSAGES/.
  34. install -m 644 %{name}.mo ${RPM_BUILD_ROOT}%{_localedir}/ja/LC_MESSAGES/.
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %{_bindir}/trackpad
  40. %{_localedir}/*/*/*
  41. %changelog
  42. * Sun Sep 02 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> 0.1-1vl3
  43. - Oops, added forgotten %%defattr
  44. - FIXME: this trackpad package should be merged into pmud package,
  45. which contains newer version of trackpad :-P
  46. * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  47. - 0.1-1vl2
  48. - use better macros (%%{_bindir}, %%{_localedir})
  49. * Wed Oct 04 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  50. - 0.1-1vl1
  51. - "make clean" before doing "make"
  52. - added Japanese summary, description and messages
  53. * Tue May 30 2000 Hollis Blanchard <hollis@andrew.cmu.edu>
  54. - 0.1
  55. - Added a (tiny) Makefile, rpm-ized