pcc-acpi-utils-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. %define name pcc-acpi-utils
  2. %define pdate 20050811
  3. %define ver 0.0.%{pdate}
  4. %define rel 1%{?_dist_release}
  5. Summary: Utilities for Panasonic Hotkey driver
  6. Summary(ja): Panasonic Let's note 用ホットキードライバ用ユーティリティ
  7. Name: %{name}
  8. Version: %{ver}
  9. Release: %{rel}
  10. Source0: %{name}-%{pdate}.tar.gz
  11. Patch10: %{name}-%{pdate}-vine.patch
  12. License: GPL
  13. Group: System Environment/Base
  14. Url: http://www.netlab.is.tsukuba.ac.jp/~yokota/izumi/panasonic_acpi/
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Requires: acpid
  17. Requires: alsa-utils
  18. Requires: hibernate
  19. #Requires: libxosd, ruby
  20. %description
  21. Utilities for Panasonic Hotkey driver.
  22. %prep
  23. %setup -q -n %{name}-%{pdate}
  24. %patch10 -p1 -b .vine
  25. %build
  26. %install
  27. %__rm -rf ${RPM_BUILD_ROOT}
  28. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events
  29. install -m755 etc/acpi/*.sh $RPM_BUILD_ROOT%{_sysconfdir}/acpi
  30. install -m644 etc/acpi/events/* $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events
  31. %clean
  32. %__rm -rf ${RPM_BUILD_ROOT}
  33. %files
  34. %defattr(-,root,root)
  35. %doc README ChangeLog
  36. %{_sysconfdir}/acpi/*
  37. %changelog
  38. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.20050811-1vl5
  39. - applied new versioning policy, spec in utf-8
  40. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.20050811-0vl3
  41. - fix typo of Group. <BTS:VineLinux:148>
  42. * Thu Aug 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20050811-0vl2
  43. - update Patch10 to fix mute/brightness problems (<BTS:0095>)
  44. - fix unmuting.
  45. - do not use fixed step width to change the brightness.
  46. use *_brightness_max and *_brightness_min to determine the step width.
  47. * Wed Aug 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20050811-0vl1
  48. - initial build for Vine Linux