2004-09-09 02:52:44 +00:00
|
|
|
Summary: ACPI Event Daemon
|
|
|
|
Name: acpid
|
2007-08-10 06:47:27 +00:00
|
|
|
Version: 1.0.6
|
2008-02-14 12:04:48 +00:00
|
|
|
Release: 6%{?dist}
|
2004-09-09 02:53:36 +00:00
|
|
|
License: GPL
|
2004-09-09 02:52:44 +00:00
|
|
|
Group: System Environment/Daemons
|
2004-09-09 02:52:56 +00:00
|
|
|
Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz
|
2007-11-23 13:56:05 +00:00
|
|
|
Source1: acpid.init
|
|
|
|
Source2: acpid.video.conf
|
|
|
|
Source3: acpid.power.conf
|
2008-01-23 14:04:21 +00:00
|
|
|
Source4: acpid.power.sh
|
2007-08-10 06:47:27 +00:00
|
|
|
Patch1: acpid-1.0.6-makefile.patch
|
|
|
|
Patch2: acpid-1.0.6-return.patch
|
2007-09-26 13:49:40 +00:00
|
|
|
Patch3: acpid-1.0.6-fd.patch
|
2007-11-23 13:56:05 +00:00
|
|
|
Patch4: acpid-1.0.6-log.patch
|
2007-02-07 11:53:40 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 02:53:32 +00:00
|
|
|
ExclusiveArch: ia64 x86_64 %{ix86}
|
2004-09-09 02:52:56 +00:00
|
|
|
URL: http://acpid.sourceforge.net/
|
2007-02-07 11:53:40 +00:00
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
2004-09-09 02:52:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
acpid is a daemon that dispatches ACPI events to user-space programs.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2007-02-07 11:53:40 +00:00
|
|
|
%setup -q
|
2006-10-10 04:34:30 +00:00
|
|
|
%patch1 -p1 -b .makefile
|
2007-08-10 06:47:27 +00:00
|
|
|
%patch2 -p1 -b .return
|
2007-09-26 13:49:40 +00:00
|
|
|
%patch3 -p1 -b .fd
|
2007-11-23 13:56:05 +00:00
|
|
|
%patch4 -p1 -b .log
|
2004-09-09 02:52:44 +00:00
|
|
|
|
|
|
|
%build
|
2007-02-07 11:53:40 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 02:52:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT
|
|
|
|
make install INSTPREFIX=$RPM_BUILD_ROOT
|
|
|
|
|
2007-02-07 11:53:40 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/acpi/actions
|
|
|
|
chmod 755 $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events
|
2007-11-23 13:56:05 +00:00
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/video.conf
|
|
|
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/power.conf
|
2008-01-23 14:04:21 +00:00
|
|
|
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/actions/power.sh
|
2004-09-09 02:53:36 +00:00
|
|
|
|
2007-02-07 11:53:40 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
|
2007-11-23 13:56:05 +00:00
|
|
|
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/acpid
|
2004-09-09 02:52:44 +00:00
|
|
|
|
|
|
|
|
2004-09-09 02:52:56 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
2004-09-09 02:52:44 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-02-07 11:53:40 +00:00
|
|
|
%doc COPYING README Changelog TODO
|
|
|
|
%dir %{_sysconfdir}/acpi
|
|
|
|
%dir %{_sysconfdir}/acpi/events
|
|
|
|
%dir %{_sysconfdir}/acpi/actions
|
|
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/video.conf
|
|
|
|
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/power.conf
|
2008-01-23 14:04:21 +00:00
|
|
|
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh
|
2007-02-07 11:53:40 +00:00
|
|
|
%{_bindir}/acpi_listen
|
|
|
|
%{_sbindir}/acpid
|
|
|
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/acpid
|
|
|
|
%{_mandir}/man8/acpid.8.gz
|
|
|
|
%{_mandir}/man8/acpi_listen.8.gz
|
2004-09-09 02:52:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add acpid
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ "$1" = "0" ]; then
|
2004-09-09 02:53:36 +00:00
|
|
|
/sbin/service acpid stop >/dev/null 2>&1
|
2004-09-09 02:52:44 +00:00
|
|
|
/sbin/chkconfig --del acpid
|
|
|
|
fi
|
|
|
|
|
2004-09-09 02:53:36 +00:00
|
|
|
%postun
|
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service acpid condrestart >/dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
2004-09-09 02:52:44 +00:00
|
|
|
%changelog
|
2008-02-14 12:04:48 +00:00
|
|
|
* Thu Feb 14 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-6.fc9
|
|
|
|
- Update of acpid-1.0.6-makefile.patch, it fix building with gcc 4.3
|
|
|
|
|
2008-01-23 14:04:21 +00:00
|
|
|
* Wed Jan 23 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-5.fc9
|
|
|
|
- Fixed managing of power button (#361501)
|
|
|
|
- Fixed power script to check for KDE power manager (#419331)
|
|
|
|
|
2007-11-23 13:56:05 +00:00
|
|
|
* Fri Nov 23 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-4.fc9
|
|
|
|
- Removed old logrotate file
|
|
|
|
- Fixed socket leak (#394431)
|
|
|
|
- Fixed dumping useless info to log (#389581)
|
|
|
|
|
2007-10-23 15:53:42 +00:00
|
|
|
* Thu Oct 23 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-3.fc9
|
2007-10-23 15:52:15 +00:00
|
|
|
- Silent initscript
|
2007-10-23 08:08:30 +00:00
|
|
|
- Resolves: #345611
|
|
|
|
|
2007-09-26 13:49:40 +00:00
|
|
|
* Wed Sep 26 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-2.fc8
|
|
|
|
- Fixed leak of a file descriptor
|
|
|
|
- Resolves: #304761
|
|
|
|
|
2007-08-10 06:49:39 +00:00
|
|
|
* Tue Aug 07 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-1.fc8
|
2007-08-10 06:47:27 +00:00
|
|
|
- Updated to version 1.0.6
|
|
|
|
|
2007-07-25 08:59:47 +00:00
|
|
|
* Wed Jul 25 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.4-8.fc8
|
|
|
|
- Fixed init script to comply with LSB standard
|
|
|
|
- Resolves: #237754
|
|
|
|
|
2007-02-14 12:56:51 +00:00
|
|
|
* Wed Feb 14 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-7.fc7
|
|
|
|
- Dropped /var/log/acpid ownership as per review (225237)
|
|
|
|
|
2007-02-07 11:53:40 +00:00
|
|
|
* Wed Feb 07 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-6.fc7
|
|
|
|
- Tons of specfile changes due to review (#225237)
|
|
|
|
|
2006-10-10 04:34:30 +00:00
|
|
|
* Tue Oct 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-5
|
|
|
|
- Made acpid a PIE binary (#210016)
|
|
|
|
|
2006-08-24 14:16:09 +00:00
|
|
|
* Thu Aug 24 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-4
|
|
|
|
- Made a better fix for the powerdown button which checks if g-p-m is running
|
2006-08-24 14:20:55 +00:00
|
|
|
- Don't install sample.conf anymore, not needed
|
2006-08-24 14:16:09 +00:00
|
|
|
|
2006-08-10 15:27:35 +00:00
|
|
|
* Thu Aug 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-3
|
|
|
|
- Disable the automatic shutdown -h via powerdown button by default due to
|
|
|
|
conflicts with gnome-power-manager
|
|
|
|
|
2006-07-12 05:06:58 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-03-01 15:41:27 +00:00
|
|
|
* Wed Mar 01 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-2
|
|
|
|
- Added video.conf file to turn on DPMS when opening the laptop lid. Disabled
|
|
|
|
by default.
|
|
|
|
|
2006-02-07 10:51:48 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:39:32 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-16 22:38:33 +00:00
|
|
|
* Wed Mar 16 2005 Bill Nottingham <notting@redhat.com> - 1.0.4-1
|
|
|
|
- update to 1.0.4
|
|
|
|
|
2004-09-09 02:53:36 +00:00
|
|
|
* Mon Aug 9 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.3-2
|
|
|
|
- Update to 1.0.3 (fixes #128834)
|
|
|
|
- s/Copyright/License/
|
|
|
|
- Add logrotate config file (#110677, from Michal Jaegermann)
|
|
|
|
- Don't verify contents of /var/log/acpid (#125862)
|
|
|
|
- Use $RPM_OPT_FLAGS
|
|
|
|
- Fix and cleanup acpid-1.0.1-pm1.patch
|
|
|
|
- Add condrestart to %%postun
|
|
|
|
|
2004-09-09 02:53:32 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 02:53:27 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 02:52:56 +00:00
|
|
|
* Wed Oct 22 2003 Bill Nottingham <notting@redhat.com> 1.0.2-5
|
|
|
|
- fix handling of sample.conf (#107160)
|
|
|
|
- mark for translations (#107459)
|
|
|
|
|
|
|
|
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add %%clean specfile target
|
|
|
|
|
|
|
|
* Wed Oct 1 2003 Bill Nottingham <notting@redhat.com> 1.0.2-3
|
|
|
|
- re-enable x86
|
|
|
|
- don't load the button module
|
|
|
|
|
|
|
|
* Thu Aug 7 2003 Bill Nottingham <notting@redhat.com> 1.0.2-2
|
|
|
|
- no x86 for now
|
|
|
|
|
|
|
|
* Mon Jul 7 2003 Bill Nottingham <notting@redhat.com> 1.0.2-1
|
|
|
|
- update to 1.0.2
|
|
|
|
|
2004-09-09 02:52:44 +00:00
|
|
|
* Wed Dec 11 2002 Bill Nottingham <notting@redhat.com> 1.0.1-4
|
|
|
|
- don't start if /proc/acpi/event isn't there
|
|
|
|
|
|
|
|
* Thu Nov 14 2002 Bill Nottingham <notting@redhat.com> 1.0.1-3
|
|
|
|
- build on more arches
|
|
|
|
|
|
|
|
* Mon Aug 26 2002 Bill Nottingham <notting@redhat.com> 1.0.1-2
|
|
|
|
- tweak default config to run shutdown -h now on a power button event
|
|
|
|
|
|
|
|
* Thu Aug 22 2002 Bill Nottingham <notting@redhat.com> 1.0.1-1
|
|
|
|
- initial build, bang on included specfile
|
|
|
|
|
|
|
|
* Fri Mar 15 2002 Tim Hockin <thockin@sun.com>
|
|
|
|
- Updated RPM spec with patch from sun for chkconfig on/off
|
|
|
|
- Add Changelog, make 'make rpm' use it.
|
|
|
|
|
|
|
|
* Wed Mar 13 2002 Tim Hockin <thockin@sun.com>
|
|
|
|
- Fixed logging bug - not appending to log (O_APPEND needed)
|
|
|
|
- Fix 'make install' to not need root access
|
|
|
|
- Fix RPM spec to not need root
|
|
|
|
|
|
|
|
* Thu Sep 6 2001 Tim Hockin <thockin@sun.com>
|
|
|
|
- 1.0.0
|
|
|
|
|
|
|
|
* Thu Aug 16 2001 Tim Hockin <thockin@sun.com>
|
|
|
|
- Added commandline options to actions
|
|
|
|
|
|
|
|
* Wed Aug 15 2001 Tim Hockin <thockin@sun.com>
|
|
|
|
- Added UNIX domain socket support
|
|
|
|
- Changed /etc/acpid.d to /etc/acpid/events
|
|
|
|
|
|
|
|
* Mon Aug 13 2001 Tim Hockin <thockin@sun.com>
|
|
|
|
- added changelog
|
|
|
|
- 0.99.1-1
|
|
|
|
|