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