|
@@ -1,7 +1,7 @@
|
|
Summary: ACPI Event Daemon
|
|
Summary: ACPI Event Daemon
|
|
Summary(ja): ACPI イベントデーモン
|
|
Summary(ja): ACPI イベントデーモン
|
|
Name: acpid
|
|
Name: acpid
|
|
-Version: 2.0.2
|
|
+Version: 2.0.8
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: System Environment/Daemons
|
|
Group: System Environment/Daemons
|
|
@@ -12,10 +12,9 @@ Source1: acpid.init
|
|
Source2: acpid.video.conf
|
|
Source2: acpid.video.conf
|
|
Source3: acpid.power.conf
|
|
Source3: acpid.power.conf
|
|
Source4: acpid.power.sh
|
|
Source4: acpid.power.sh
|
|
|
|
+Source6: acpid.sysconfig
|
|
|
|
|
|
Patch1: acpid-2.0.2-makefile.patch
|
|
Patch1: acpid-2.0.2-makefile.patch
|
|
-Patch2: acpid-2.0.2-no_umask.patch
|
|
|
|
-Patch3: acpid-2.0.2-headers.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Requires(post): chkconfig
|
|
Requires(post): chkconfig
|
|
@@ -39,26 +38,28 @@ acpidはACPIイベントをユーザスペースのプログラムへ素早く
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch1 -p1 -b .makefile
|
|
%patch1 -p1 -b .makefile
|
|
-%patch2 -p1 -b .no_umask
|
|
|
|
-%patch3 -p1 -b .headers
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf %{buildroot}
|
|
+rm -rf ${RPM_BUILD_ROOT}
|
|
-mkdir -p %{buildroot}
|
|
+mkdir -p ${RPM_BUILD_ROOT}
|
|
-make install DESTDIR=%{buildroot}
|
|
+make install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
|
|
-mkdir -p %{buildroot}%{_sysconfdir}/acpi/events
|
|
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/events
|
|
-mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions
|
|
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/actions
|
|
-chmod 755 %{buildroot}%{_sysconfdir}/acpi/events
|
|
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
|
-install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/events/video.conf
|
|
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
|
|
-install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/acpi/events/power.conf
|
|
+chmod 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/events
|
|
-install -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
|
|
|
|
|
|
|
|
-install -D -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/rc.d/init.d/acpid
|
|
+install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/events/video.conf
|
|
|
|
+install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/events/power.conf
|
|
|
|
+install -m 755 %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/acpi/actions/power.sh
|
|
|
|
+
|
|
|
|
+install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/acpid
|
|
|
|
+install -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/acpid
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -99,6 +100,7 @@ fi
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/video.conf
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/video.conf
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/power.conf
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/power.conf
|
|
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh
|
|
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh
|
|
|
|
+%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/acpid
|
|
%{_bindir}/acpi_listen
|
|
%{_bindir}/acpi_listen
|
|
%{_sbindir}/acpid
|
|
%{_sbindir}/acpid
|
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/acpid
|
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/acpid
|
|
@@ -107,6 +109,10 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 17 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.8-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add acpid.sysconfig
|
|
|
|
+
|
|
* Tue Mar 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-1
|
|
* Tue Mar 16 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.2-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|