|
|
2f2eab |
# power.d stuff breaks more than it helps, so drop it for now
|
|
|
2f2eab |
%bcond_with power_d
|
|
|
2f2eab |
%global quirkdbver 20100619
|
|
|
2f2eab |
Name: pm-utils
|
|
|
2f2eab |
Summary: Power management utilities and scripts
|
|
|
2f2eab |
License: GPLv2
|
|
|
2f2eab |
Version: 1.4.1
|
|
|
922b47 |
Release: 27%{?dist}
|
|
|
2f2eab |
Group: System Environment/Base
|
|
|
2f2eab |
URL: http://pm-utils.freedesktop.org
|
|
|
2f2eab |
%ifnarch s390 s390x
|
|
|
2f2eab |
Requires: kbd
|
|
|
2f2eab |
%if %{with power_d}
|
|
|
2f2eab |
# power.d/disable_wol
|
|
|
2f2eab |
Requires: ethtool
|
|
|
2f2eab |
# power.d/harddisk
|
|
|
2f2eab |
Requires: hdparm
|
|
|
2f2eab |
# power.d/wireless
|
|
|
2f2eab |
Requires: wireless-tools
|
|
|
2f2eab |
%endif
|
|
|
2f2eab |
%endif
|
|
|
2f2eab |
BuildRequires: xmlto
|
|
|
2f2eab |
|
|
|
2f2eab |
Source0: http://pm-utils.freedesktop.org/releases/pm-utils-%{version}.tar.gz
|
|
|
2f2eab |
Source1: http://pm-utils.freedesktop.org/releases/pm-quirks-%{quirkdbver}.tar.gz
|
|
|
2f2eab |
|
|
|
2f2eab |
Source23: pm-utils-bugreport-info.sh
|
|
|
922b47 |
Source24: pm-utils-bugreport-info.sh.8
|
|
|
2f2eab |
|
|
|
2f2eab |
# Use append instead of write for init_logfile (#660329)
|
|
|
2f2eab |
Patch0: pm-utils-1.4.1-init-logfile-append.patch
|
|
|
2f2eab |
# Fix typo in 55NetworkManager (#722759)
|
|
|
2f2eab |
Patch1: pm-utils-1.4.1-networkmanager-typo-fix.patch
|
|
|
2f2eab |
# Add support for grub2 in 01grub hook
|
|
|
2f2eab |
Patch2: pm-utils-1.4.1-grub2.patch
|
|
|
2f2eab |
# Fix hooks exit code logging
|
|
|
2f2eab |
Patch3: pm-utils-1.4.1-hook-exit-code-log.patch
|
|
|
2f2eab |
# Fix line spacing in logs to be easier to read (#750755)
|
|
|
2f2eab |
Patch4: pm-utils-1.4.1-log-line-spacing-fix.patch
|
|
|
2f2eab |
# Fix NetworkManager dbus methods (fd.o #42500 / RH #740342)
|
|
|
2f2eab |
Patch5: pm-utils-1.4.1-nm_method.patch
|
|
|
2f2eab |
# Add support for in-kernel (from kernel 3.6) suspend to both (#843657)
|
|
|
2f2eab |
Patch6: pm-utils-1.4.1-add-in-kernel-suspend-to-both.patch
|
|
|
2f2eab |
# Patch sent upstream
|
|
|
2f2eab |
Patch7: pm-utils-1.4.1-man-fix.patch
|
|
|
2f2eab |
|
|
|
2f2eab |
%description
|
|
|
2f2eab |
The pm-utils package contains utilities and scripts useful for tasks related
|
|
|
2f2eab |
to power management.
|
|
|
2f2eab |
|
|
|
2f2eab |
%package devel
|
|
|
2f2eab |
Summary: Files for development using %{name}
|
|
|
2f2eab |
Group: Development/Libraries
|
|
|
2f2eab |
Requires: %{name} = %{version}-%{release}
|
|
|
2f2eab |
# for /usr/share/pkgconfig
|
|
|
2f2eab |
Requires: pkgconfig
|
|
|
2f2eab |
|
|
|
2f2eab |
%description devel
|
|
|
2f2eab |
This package contains the pkg-config files for development
|
|
|
2f2eab |
when building programs that use %{name}.
|
|
|
2f2eab |
|
|
|
2f2eab |
%prep
|
|
|
2f2eab |
%setup -q
|
|
|
2f2eab |
tar -xzf %{SOURCE1}
|
|
|
2f2eab |
%patch0 -p1 -b .init-logfile-append
|
|
|
2f2eab |
%patch1 -p1 -b .network-manager-typo-fix.patch
|
|
|
2f2eab |
%patch2 -p1 -b .grub2
|
|
|
2f2eab |
%patch3 -p1 -b .hook-exit-code-log
|
|
|
2f2eab |
%patch4 -p1 -b .log-line-spacing-fix
|
|
|
2f2eab |
%patch5 -p1 -b .nm_method
|
|
|
2f2eab |
%patch6 -p1 -b .add-in-kernel-suspend-to-both
|
|
|
2f2eab |
%patch7 -p1 -b .man-fix
|
|
|
2f2eab |
|
|
|
2f2eab |
%build
|
|
|
2f2eab |
%configure --docdir=%{_docdir}/%{name}-%{version}
|
|
|
2f2eab |
make
|
|
|
2f2eab |
|
|
|
2f2eab |
%install
|
|
|
2f2eab |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
2f2eab |
|
|
|
2f2eab |
install -D -m 0600 /dev/null $RPM_BUILD_ROOT%{_localstatedir}/log/pm-suspend.log
|
|
|
2f2eab |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/{locks,pm-suspend,pm-powersave}
|
|
|
2f2eab |
touch $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/locks/{pm-suspend.lock,pm-powersave.lock}
|
|
|
2f2eab |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage
|
|
|
2f2eab |
install -D -m 0755 %{SOURCE23} $RPM_BUILD_ROOT%{_sbindir}/pm-utils-bugreport-info.sh
|
|
|
922b47 |
install -D -m 0644 %{SOURCE24} $RPM_BUILD_ROOT%{_mandir}/man8/pm-utils-bugreport-info.sh.8
|
|
|
2f2eab |
|
|
|
2f2eab |
# Install quirks
|
|
|
2f2eab |
cp -r video-quirks $RPM_BUILD_ROOT%{_libdir}/pm-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
%if ! %{with power_d}
|
|
|
2f2eab |
rm $RPM_BUILD_ROOT%{_libdir}/pm-utils/power.d/*
|
|
|
2f2eab |
%endif
|
|
|
2f2eab |
|
|
|
2f2eab |
# Install extra documentation
|
|
|
2f2eab |
cp -p COPYING AUTHORS ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
|
|
|
2f2eab |
|
|
|
2f2eab |
%preun
|
|
|
2f2eab |
# Clean storage to prevent left-behind files. These files are dynamically
|
|
|
2f2eab |
# created in runtime (also with dynamic names), thus it is hard to track
|
|
|
2f2eab |
# them individually.
|
|
|
2f2eab |
rm -rf %{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage/*
|
|
|
2f2eab |
|
|
|
2f2eab |
%files
|
|
|
2f2eab |
%defattr(-,root,root,-)
|
|
|
2f2eab |
%{_docdir}/%{name}-%{version}
|
|
|
2f2eab |
%{_libdir}/pm-utils/bin/
|
|
|
2f2eab |
%{_libdir}/pm-utils/defaults
|
|
|
2f2eab |
%{_libdir}/pm-utils/functions
|
|
|
2f2eab |
%{_libdir}/pm-utils/module.d/*
|
|
|
2f2eab |
%{_libdir}/pm-utils/pm-functions
|
|
|
2f2eab |
%if %{with power_d}
|
|
|
2f2eab |
%{_libdir}/pm-utils/power.d/*
|
|
|
2f2eab |
%endif
|
|
|
2f2eab |
%{_libdir}/pm-utils/sleep.d/*
|
|
|
2f2eab |
%{_bindir}/on_ac_power
|
|
|
2f2eab |
%{_bindir}/pm-is-supported
|
|
|
2f2eab |
%{_sbindir}/pm-utils-bugreport-info.sh
|
|
|
2f2eab |
%{_sbindir}/pm-hibernate
|
|
|
2f2eab |
%{_sbindir}/pm-powersave
|
|
|
2f2eab |
%{_sbindir}/pm-suspend
|
|
|
2f2eab |
%{_sbindir}/pm-suspend-hybrid
|
|
|
2f2eab |
%{_mandir}/man1/*.1.gz
|
|
|
2f2eab |
%{_mandir}/man8/*.8.gz
|
|
|
2f2eab |
%ghost %{_localstatedir}/run/pm-utils
|
|
|
2f2eab |
%{_libdir}/pm-utils/video-quirks
|
|
|
2f2eab |
|
|
|
2f2eab |
# no logrotate needed, because only one run of pm-utils is stored
|
|
|
2f2eab |
# in the logfile
|
|
|
2f2eab |
%ghost %verify(not md5 size mtime) %{_localstatedir}/log/pm-suspend.log
|
|
|
2f2eab |
|
|
|
2f2eab |
%files devel
|
|
|
2f2eab |
%defattr(-,root,root,-)
|
|
|
2f2eab |
%{_libdir}/pkgconfig/pm-utils.pc
|
|
|
2f2eab |
|
|
|
2f2eab |
%changelog
|
|
|
922b47 |
* Fri Aug 15 2014 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-27
|
|
|
922b47 |
- Added man page for pm-utils-bugreport-info.sh
|
|
|
922b47 |
Resolves: rhbz#948552
|
|
|
922b47 |
|
|
|
e1a3f5 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.1-26
|
|
|
e1a3f5 |
- Mass rebuild 2014-01-24
|
|
|
e1a3f5 |
|
|
|
e1a3f5 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.1-25
|
|
|
e1a3f5 |
- Mass rebuild 2013-12-27
|
|
|
e1a3f5 |
|
|
|
2f2eab |
* Mon Jul 1 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-24
|
|
|
2f2eab |
- Minor man fixes
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-23
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Oct 17 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-22
|
|
|
2f2eab |
- Fixed pm-suspend-hybrid to return hibernation method to previous state
|
|
|
2f2eab |
Resolves: rhbz#866487
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jul 27 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-21
|
|
|
2f2eab |
- Added support for in-kernel suspend to both (from kernel-3.6)
|
|
|
2f2eab |
Resolves: rhbz#843657
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-20
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Mar 6 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-19
|
|
|
2f2eab |
- Minor change to summary
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jan 20 2012 Adam Williamson <awilliam@redhat.com> - 1.4.1-18
|
|
|
2f2eab |
- nm_method.patch: fix dbus methods used to sleep/resume NM
|
|
|
2f2eab |
(fd.o #42500, RH #740342)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-17
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Dec 20 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.4.1-16
|
|
|
2f2eab |
- Fix dependencies based on whether power.d/* are shipped (#769071).
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Dec 15 2011 Robin Lee <cheeselee@fedoraproject.org> - 1.4.1-15
|
|
|
2f2eab |
- Rearranged the included documentation
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Nov 30 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-14
|
|
|
2f2eab |
- Removed restorecon hack from init_logfile, it is now correctly handled by selinux
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Nov 02 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-13
|
|
|
2f2eab |
- Fixed line spacing in logs to be easier to read (log-line-spacing-fix patch)
|
|
|
2f2eab |
Resolves: rhbz#750755
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Aug 22 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-12
|
|
|
2f2eab |
- Added support for grub2 in 01grub hook (grub2 patch)
|
|
|
2f2eab |
- Fixed hooks exit code logging (hook-exit-code-log patch)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Aug 17 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-11
|
|
|
2f2eab |
- Rebuilt due to bug in rpm-4.9.1
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jul 19 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-10
|
|
|
2f2eab |
- Fixed typo in 55NetworkManager
|
|
|
2f2eab |
Resolves: rhbz#722759
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Jul 07 2011 Adam Jackson <ajax@redhat.com> 1.4.1-9
|
|
|
2f2eab |
- Drop Requires: radeontool, not needed with KMS.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jun 07 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-8
|
|
|
2f2eab |
- restorecon now runs conditionaly
|
|
|
2f2eab |
Resolves: rhbz#710928
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Mar 23 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-7
|
|
|
2f2eab |
- Fixed typo, related to #663995
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Mar 17 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-6
|
|
|
2f2eab |
- Fixed AVC during suspend / hibernate (#663995)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jan 04 2011 Matthew Garrett <mjg@redhat.com> - 1.4.1-4
|
|
|
2f2eab |
- Remove the powersave fragments (#667129, #667131, #667132)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Dec 07 2010 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-3
|
|
|
2f2eab |
- Used append instead of write for init_logfile (#660329)
|
|
|
2f2eab |
- Fixed and ghosted /var/run/pm-utils (#656668)
|
|
|
2f2eab |
- Added postun script to clean state storage
|
|
|
2f2eab |
- Updated pm-utils-bugreport-info.sh, it requires root privileges for
|
|
|
2f2eab |
correct function, moved to sbin
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Nov 18 2010 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-2
|
|
|
2f2eab |
- Remove HAL from pm-utils-bugreport-info.sh
|
|
|
2f2eab |
- Add quirkdb
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Oct 11 2010 Jaroslav Å karvada <jskarvad@redhat.com> - 1.4.1-1
|
|
|
2f2eab |
- New version
|
|
|
2f2eab |
- Dropped pm-utils-99hd-apm-restore hook, similar functionality provided by
|
|
|
2f2eab |
harddrive script
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Oct 08 2010 Adam Jackson <ajax@redhat.com> 1.3.1-2
|
|
|
2f2eab |
- Drop the vbetool dependency, suspend is only supported on KMS drivers.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Sep 01 2010 Richard Hughes <rhughes@redhat.com> - 1.3.1-1
|
|
|
2f2eab |
- New upstream version
|
|
|
2f2eab |
- Drop the HAL dependancy.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sun Mar 21 2010 Richard Hughes <rhughes@redhat.com> - 1.3.0-1
|
|
|
2f2eab |
- New upstream version
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Feb 24 2010 Jiri Skala <jskala@redhat.com> - 1.2.6.1-1
|
|
|
2f2eab |
- latest upstream version
|
|
|
2f2eab |
- fixed typo in 98smart-kernel-video
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Nov 12 2009 Richard Hughes <rhughes@redhat.com> - 1.2.6-1
|
|
|
2f2eab |
- New upstream version
|
|
|
2f2eab |
- Make KMS detection more accurate for several KMS drivers
|
|
|
2f2eab |
- Fix several typos on the documentation.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Aug 05 2009 Till Maas <opensource@till.name> - 1.2.5-6
|
|
|
2f2eab |
- filesystem subpackage contents are now provided by filesystem (Red Hat
|
|
|
2f2eab |
Bugzilla 515362) filesystem-2.4.28-1.fc12
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-5
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sat Jul 18 2009 Till Maas <opensource@till.name> - 1.2.5-4
|
|
|
2f2eab |
- Remove atd script
|
|
|
2f2eab |
- create filesystem subpackage for hooks
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jul 17 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.2.5-3
|
|
|
2f2eab |
- move atd script into pm-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Jun 25 2009 Till Maas <opensource@till.name> - 1.2.5-2
|
|
|
2f2eab |
- add check for hdparm in hd-apm-restore
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Apr 24 2009 Karsten Hopp <karsten@redhat.com> 1.2.5-1.1
|
|
|
2f2eab |
- we don't have kbd and hdparm on s390(x), disable build requirements
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Apr 14 2009 Richard Hughes <rhughes@redhat.com> - 1.2.5-1
|
|
|
2f2eab |
- New upstream version
|
|
|
2f2eab |
- If running on a system that is using KMS, we will refuse to handle any video
|
|
|
2f2eab |
quirks passed to us by HAL, and we will not chvt to an empty console.
|
|
|
2f2eab |
- Fix a longstanding bug in tuning scheduler powersaving knobs on SMT systems.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
|
|
|
2f2eab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Feb 09 2009 Richard Hughes <rhughes@redhat.com> - 1.2.4-1
|
|
|
2f2eab |
- Update to 1.2.4
|
|
|
2f2eab |
- Fixes a glitch in module unloading
|
|
|
2f2eab |
- Numerous small usability and debugging improvements
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Dec 08 2008 Richard Hughes <rhughes@redhat.com> - 1.2.3-1
|
|
|
2f2eab |
- Update to 1.2.3
|
|
|
2f2eab |
- Removed 55battery, 50ntpd, and 65alsa hooks
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Nov 04 2008 Richard Hughes <rhughes@redhat.com> - 1.2.2.1-2
|
|
|
2f2eab |
- Add a patch from airlied to disable quirks when radeon is being used with KMS.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Oct 13 2008 Richard Hughes <rhughes@redhat.com> - 1.2.2.1-1
|
|
|
2f2eab |
- Update to 1.2.2.1
|
|
|
2f2eab |
- Supports automatically pulling quirks from HAL and has the ability to save
|
|
|
2f2eab |
the last working set of quirks to an .fdi file.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Sep 11 2008 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
|
|
|
2f2eab |
- Update to 1.2.0
|
|
|
2f2eab |
- The core hook-running machinery will now abort running hooks of one fails,
|
|
|
2f2eab |
and the front-end scripts will return a failure error code if hook-running
|
|
|
2f2eab |
was aborted.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Jun 22 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.3-1
|
|
|
2f2eab |
- Update to 1.1.2.3
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jun 20 2008 Till Maas <opensource@till.name> - 1.1.2.2-2
|
|
|
2f2eab |
- %%pre and %%post scriptlets should not be needed anymore, old
|
|
|
2f2eab |
config files should be already moved in every supported release
|
|
|
2f2eab |
and the selinux context for the logfile should be restored by
|
|
|
2f2eab |
rpm
|
|
|
2f2eab |
- remove pcitulils BR, it was needed for vbetool, which is in a
|
|
|
2f2eab |
separate package now
|
|
|
2f2eab |
- substitute %%{__rm} macros for uniform macro usage
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon May 29 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.2-1
|
|
|
2f2eab |
- Update to 1.1.2.2
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon May 28 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.1-2
|
|
|
2f2eab |
- Change BR from docbook-utils to xmlto
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon May 28 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.1-1
|
|
|
2f2eab |
- Update to 1.1.2.1
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon May 12 2008 Richard Hughes <rhughes@redhat.com> - 1.1.1-2
|
|
|
2f2eab |
- Add missing BR for docbook-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon May 12 2008 Richard Hughes <rhughes@redhat.com> - 1.1.1-1
|
|
|
2f2eab |
- Update to 1.1.1, and drop patches that no longer apply.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Apr 30 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-9
|
|
|
2f2eab |
- Remove the usermode dep on the advice of Till Maas.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Apr 30 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-8
|
|
|
2f2eab |
- Rip out all the consolehelper and PAM stuff - users are not meant to be
|
|
|
2f2eab |
running these tools directly and it's a massive change from upstream.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Apr 18 2008 Peter Jones <pjones@redhat.com> - 1.1.0-7
|
|
|
2f2eab |
- Default to "shutdown" for hibernate unless it's unavailable.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Apr 15 2008 Jesse Keating <jkeating@redhat.com> - 1.1.0-6
|
|
|
2f2eab |
- Don't error on post restorecon call (which can fail if selinux is disabled)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 14 2008 Till Maas <opensource till name> - 1.1.0-5
|
|
|
2f2eab |
- remove double %%dir %%{_libdir}/pm-utils
|
|
|
2f2eab |
- update pm-utils-99hd-apm-restore to work with current pm-utils release
|
|
|
2f2eab |
Red Hat Bugzilla: #442294
|
|
|
2f2eab |
- move config file for hd apm restore away from config.d, which is only used
|
|
|
2f2eab |
for pm-utils internal config anymore
|
|
|
2f2eab |
- own /var/run/pm-utils/ and create storage/locks subdirs (may be
|
|
|
2f2eab |
needed for selinux)
|
|
|
2f2eab |
- make sure an empty logfile is created after install (touch -a ...)
|
|
|
2f2eab |
- sort %%files
|
|
|
2f2eab |
- make Source0: an URL
|
|
|
2f2eab |
- remove Conflicts: bluez utils, all supported Fedora releases ship
|
|
|
2f2eab |
already a newer version
|
|
|
2f2eab |
- remove unused BR: hal-devel, dbus-devel, pkgconfig, docbook-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-4
|
|
|
2f2eab |
- Fix build on 64 bit machines - harder.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-3
|
|
|
2f2eab |
- Fix build on 64 bit machines.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-2
|
|
|
2f2eab |
- Actually do the build.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 1.1.0-1
|
|
|
2f2eab |
- Update to 1.1.0
|
|
|
2f2eab |
- Add devel subpackage for the pc file
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Apr 03 2008 Adam Jackson <ajax@redhat.com> 0.99.4-16
|
|
|
2f2eab |
- x86_64 is not a macro, don't %%ifarch on it.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99.4-15
|
|
|
2f2eab |
- Autorebuild for GCC 4.3
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jan 11 2008 Till Maas <opensource till name> - 0.99.4-14
|
|
|
2f2eab |
- add pm-utils-bugreport-info.sh script to collect information for bugreports
|
|
|
2f2eab |
- require Hal (RH #428452)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jan 09 2008 Till Maas <opensource till name> - 0.99.4-13
|
|
|
2f2eab |
- update README to describe the current beheaviour of pm-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jan 08 2008 Till Maas <opensource till name> - 0.99.4-12
|
|
|
2f2eab |
- remove ExclusiveArch, because it contains all supported archs
|
|
|
2f2eab |
(in case an arch schould be excluded, please use ExcludeArch)
|
|
|
2f2eab |
- improve readability of usermode setup
|
|
|
2f2eab |
- remove pm-restart pm-shutdown from usermode setup, because
|
|
|
2f2eab |
there are no such binaries
|
|
|
2f2eab |
- list more files in %%files explicit to make it obvious when
|
|
|
2f2eab |
there are changes in the distributed package
|
|
|
2f2eab |
- add .conf suffix to oldconfig files
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jan 08 2008 Till Maas <opensource till name> - 0.99.4-11
|
|
|
2f2eab |
- make it possible to specify the hibernate mode (RH #375701)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jan 02 2008 Till Maas <opensource till name> - 0.99.4-10
|
|
|
2f2eab |
- enhance hd-apm-restore and add a config file
|
|
|
2f2eab |
- fix source-definition for hd-apm-restore
|
|
|
2f2eab |
- add hook suffix for hook script
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jan 02 2008 Till Maas <opensource till name> - 0.99.4-9
|
|
|
2f2eab |
- restore hd apm level (RH #382061)
|
|
|
2f2eab |
- Add hdparm requires for new hook
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Dec 31 2007 Till Maas <opensource till name> - 0.99.4-8
|
|
|
2f2eab |
- Add documentation to %%doc
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sun Dec 30 2007 Till Maas <opensource till name> - 0.99.4-7
|
|
|
2f2eab |
- fix some bugs (RH #302401)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Nov 27 2007 Dennis Gilmore <dennis@ausil.us> - 0.99.4-6
|
|
|
2f2eab |
- add sparc archs to ExclusiveArch list
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Oct 10 2007 Till Maas <opensource till name> - 0.99.4-5
|
|
|
2f2eab |
- Require vbetool only for x86 archs (RH #325741)
|
|
|
2f2eab |
- add missing BR for docbook-utils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Sep 20 2007 Till Maas <opensource till name> - 0.99.4-4
|
|
|
2f2eab |
- fix manpage cut and paste mistake (RH #286201)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Sep 20 2007 Till Maas <opensource till name> - 0.99.4-3
|
|
|
2f2eab |
- remove unused patch (vidhooks)
|
|
|
2f2eab |
- add patch to keep logfile (RH #237840 (f7), #238068 (devel)),
|
|
|
2f2eab |
to keep selinux context
|
|
|
2f2eab |
- simplify spec
|
|
|
2f2eab |
- restore selinux context of logfile in %%post
|
|
|
2f2eab |
- use rpmmacros more often
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Sep 11 2007 Till Maas <opensource till name> - 0.99.4-2
|
|
|
2f2eab |
- Require vbetool not on ppc and ppc64
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Sep 10 2007 Peter Jones <pjones@redhat.com> - 0.99.4-1
|
|
|
2f2eab |
- Merge new upstream
|
|
|
2f2eab |
- remove pm/power.d/laptop-tools
|
|
|
2f2eab |
- add --quirk-reset-brightness (needed for the Fujitsu Lifebook S7110)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sat Sep 08 2007 Till Maas <opensource till name> - 0.99.3-12
|
|
|
2f2eab |
- Adjust %%files to own /etc/pm/ and /usr/lib/pm-utils/ (#233906)
|
|
|
2f2eab |
- remove (C|CXX|F)FLAGS definitions, they are already in %%configure
|
|
|
2f2eab |
- remove Core in Summary tag
|
|
|
2f2eab |
- add URL for pm-utils
|
|
|
2f2eab |
- add %%{?arm} to ExclusiveArch (#245463)
|
|
|
2f2eab |
- remove vbetool and require it (it is a separate package now)
|
|
|
2f2eab |
- remove radeontool and require it (it is a separate package now)
|
|
|
2f2eab |
- Update License Tag
|
|
|
2f2eab |
- cleanup buildrequires
|
|
|
2f2eab |
- clear %%setup
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.99.3-11
|
|
|
2f2eab |
- Install (not just build) vbetool and radeontool on x86_64 too
|
|
|
2f2eab |
- Explicitly list files under %%_sbindir, so they don't drop away again
|
|
|
2f2eab |
- Light spec cleanups
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Aug 16 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-10
|
|
|
2f2eab |
- License verification and update
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jul 18 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-9
|
|
|
2f2eab |
- Fixed description to be distribution independant (#247366)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Jun 07 2007 Peter Jones <pjones@redhat.com> - 0.99.3-8
|
|
|
2f2eab |
- Bump release and rebuild for newer buildsystem code
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jun 05 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-7
|
|
|
2f2eab |
- Bump release and rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue May 29 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-6
|
|
|
2f2eab |
- Fixed missing builds for vbetool and radeontool for some archs (#241469)
|
|
|
2f2eab |
- Fixed typo in functions where wrong variable was used (#241633)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-5
|
|
|
2f2eab |
- ... and create the directory the logfile goes in.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-4
|
|
|
2f2eab |
- Bump release to appease Koji.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-3
|
|
|
2f2eab |
- Create logfile in %%post and %%gost it.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Apr 25 2007 Peter Jones <pjones@redhat.com> - 0.99.3-2
|
|
|
2f2eab |
- Get rid of bogus redirect on "vbetool post"
|
|
|
2f2eab |
- add zlib linkage for vbetool and radeontool
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Mar 26 2007 Peter Jones <pjones@redhat.com> - 0.99.3-1
|
|
|
2f2eab |
- update to 0.99.3
|
|
|
2f2eab |
- configure manually in the spec to avoid %%_lib as lib64
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Mar 13 2007 Peter Jones <pjones@redhat.com> - 0.99.2-1
|
|
|
2f2eab |
- update to 0.99.2
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Feb 2 2007 Peter Jones <pjones@redhat.com> - 0.99.1-1
|
|
|
2f2eab |
- Fix setsysfont hook to actually hit tty0, not the pty of the current task.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jan 30 2007 Jeremy Katz <katzj@redhat.com> - 0.19.1-6
|
|
|
2f2eab |
- build so that hooks run properly on resume; fix syntax error in
|
|
|
2f2eab |
functions-intel (pjones)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Jan 26 2007 Phil Knirsch <pknirsch@redhat.com> - 0.19.1-5
|
|
|
2f2eab |
- Fixed problem with changes in 10NetworkManager hook (#224556)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jan 24 2007 Phil Knirsch <pknirsch@redhat.com> - 0.19.1-4
|
|
|
2f2eab |
- Start/stop correct services in 10NetworkManager hook (#215253)
|
|
|
2f2eab |
- Fixed check for /sys/power/disk and /sys/power/state (#214407)
|
|
|
2f2eab |
- Added proper error messages in case /sys/power/disk or /sys/power/state are
|
|
|
2f2eab |
missing (#215386)
|
|
|
2f2eab |
- Removed service calls and module load/unload for bluetooth hook (#213387)
|
|
|
2f2eab |
- Added hook file to restore the sysfont after resume (#215391)
|
|
|
2f2eab |
- Added the possibility to disable hibernate and suspend completely via the
|
|
|
2f2eab |
config file (#216459)
|
|
|
2f2eab |
- Symlinked the config file to /etc/sysconfig/power-management (#216459)
|
|
|
2f2eab |
- Fixed pm-powersave permission check bug (#222819)
|
|
|
2f2eab |
- Small specfile cleanups
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sun Oct 1 2006 Peter Jones <pjones@redhat.com> - 0.19.1-3
|
|
|
2f2eab |
- Disable bluetooth suspend/reusme hook by default; the kernel modules seem
|
|
|
2f2eab |
to support this correctly these days.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Sep 28 2006 Peter Jones <pjones@redhat.com> - 0.19.1-2
|
|
|
2f2eab |
- Ignore emacs backup files in config directories (#185979)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Aug 8 2006 Peter Jones <pjones@redhat.com> - 0.19.1-1
|
|
|
2f2eab |
- Hopefully fix Centrino ThinkPad suspend+resume
|
|
|
2f2eab |
- Hopefully fix Intel Mac Mini/MacBook suspend+resume
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 0.19-3
|
|
|
2f2eab |
- doing the vbestate save/restore on intel video with the modesetting
|
|
|
2f2eab |
intel xorg driver is broken. so don't do it.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.19-2
|
|
|
2f2eab |
- requier a newer version of D-Bus and rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.19-1.1
|
|
|
2f2eab |
- rebuild
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jun 13 2006 Peter Jones <pjones@redhat.com> - 0.19-1
|
|
|
2f2eab |
- update from CVS
|
|
|
2f2eab |
- move pam and consolehelper stuff here.
|
|
|
2f2eab |
- move video hooks here since HAL isn't ready
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Apr 25 2006 Peter Jones <pjones@redhat.com> - 0.18-1
|
|
|
2f2eab |
- Make it work cross-distro
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Apr 17 2006 Peter Jones <pjones@redhat.com> - 0.17-1
|
|
|
2f2eab |
- add more helper functions
|
|
|
2f2eab |
- rework things that were forking an extra subshell
|
|
|
2f2eab |
- fix the suspend lock
|
|
|
2f2eab |
- work around bluetooth/usb suspend wackiness
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Mar 17 2006 Peter Jones <pjones@redhat.com> - 0.16-1
|
|
|
2f2eab |
- rework the difference between hibernate and suspend; get rid of PM_MODE
|
|
|
2f2eab |
- add 00clear script
|
|
|
2f2eab |
- move default_resume_kernel from "functions" to 01grub's hibernate section
|
|
|
2f2eab |
|
|
|
2f2eab |
* Sat Mar 11 2006 Peter Jones <pjones@redhat.com> - 0.15-1
|
|
|
2f2eab |
- fix hibernate check in a way that doesn't break "sleep".
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Mar 10 2006 Peter Jones <pjones@redhat.com> - 0.14-1
|
|
|
2f2eab |
- fix hibernate check in /etc/pm/hooks/20video
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Mar 03 2006 Phil Knirsch <pknirsch@redhat.com> - 0.13-1
|
|
|
2f2eab |
- Revert last changes for ATI graphics chips as they seem to cause more
|
|
|
2f2eab |
problems than they solved.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Mar 01 2006 Phil Knirsch <pknirsch@redhat.com> - 0.12-1
|
|
|
2f2eab |
- Use vbetool post instead of vbetool dpms on for ATI cards.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Feb 28 2006 Jeremy Katz <katzj@redhat.com>
|
|
|
2f2eab |
- allow building on all x86 arches (#183175)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Feb 28 2006 Jeremy Katz <katzj@redhat.com> - 0.11-1
|
|
|
2f2eab |
- fix display on resume with nvidia graphics
|
|
|
2f2eab |
- add infrastructure to tell what pm-util is running; don't resume
|
|
|
2f2eab |
video on return from hibernate as the BIOS has already re-initialized it
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Feb 24 2006 Phil Knirsch <pknirsch@redhat.com> - 0.10-1
|
|
|
2f2eab |
- Added missing pciutils-devel BuildRequires (#182566)
|
|
|
2f2eab |
- Fixed missing vbestata save/restore calls for video suspend/resume (#182167,
|
|
|
2f2eab |
#169494)
|
|
|
2f2eab |
- Renamed hook scripts to allow local pre and post inserts (#179421)
|
|
|
2f2eab |
- Added support for blinking led lights on Thinkpad Laptops during suspend
|
|
|
2f2eab |
(#179420)
|
|
|
2f2eab |
- Added pm-powersave script for powersaving via HAL (#169054)
|
|
|
2f2eab |
- Added symlinks for pm-shutdown and pm-restart (#165953)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.09-1.2
|
|
|
2f2eab |
- bump again for double-long bug on ppc(64)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.09-1.1
|
|
|
2f2eab |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jan 24 2006 Jeremy Katz <katzj@redhat.com> - 0.09-1
|
|
|
2f2eab |
- Remove button module on suspend
|
|
|
2f2eab |
- Set default kernel in grub to current one when hibernating
|
|
|
2f2eab |
so that resume works
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Dec 22 2005 Peter Jones <pjones@redhat.com> - 0.08-1
|
|
|
2f2eab |
- Fix scripts for new pciutils
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Dec 9 2005 Dave Jones <davej@redhat.com>
|
|
|
2f2eab |
- Update to latest vbetool (0.5-1)
|
|
|
2f2eab |
Now also built on x86-64 too.
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
2f2eab |
- rebuilt
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.07-3
|
|
|
2f2eab |
- rebuild for the new dbus
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Nov 30 2005 Peter Jones <pjones@redhat.com> - 0.07-2
|
|
|
2f2eab |
- restart ntpd in the background
|
|
|
2f2eab |
- switch terminals early so we don't wake the screen back up
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> - 0.06-3
|
|
|
2f2eab |
- nix that, wait for the kernel to settle down
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Nov 16 2005 Bill Nottingham <notting@redhat.com> - 0.06-2
|
|
|
2f2eab |
- fix LRMI usage in vbetool
|
|
|
2f2eab |
|
|
|
2f2eab |
* Thu Nov 10 2005 Peter Jones <pjones@redhat.com> - 0.06-1
|
|
|
2f2eab |
- kill acpi_video_cmd calls in functions-ati
|
|
|
2f2eab |
- fix lcd_on in functions-ati
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Sep 30 2005 Bill Nottingham <notting@redhat.com> - 0.05-1
|
|
|
2f2eab |
- check for presence of various tools/files before using them (#169560, #196562)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Fri Aug 12 2005 Jeremy Katz <katzj@redhat.com> - 0.04-1
|
|
|
2f2eab |
- add pm-hibernate
|
|
|
2f2eab |
|
|
|
2f2eab |
* Tue Jul 05 2005 Bill Nottingham <notting@redhat.com> - 0.03-1
|
|
|
2f2eab |
- fix path to video functions in video hook
|
|
|
2f2eab |
|
|
|
2f2eab |
* Mon Jul 04 2005 Bill Nottingham <notting@redhat.com> - 0.02-1
|
|
|
2f2eab |
- add a pm-suspend (#155613)
|
|
|
2f2eab |
|
|
|
2f2eab |
* Wed Apr 13 2005 Bill Nottingham <notting@redhat.com> - 0.01-1
|
|
|
2f2eab |
- initial version - package up vbetool, radeontool, new on_ac_power
|