source: projects/specs/trunk/p/pm-utils/pm-utils-vl.spec @ 1979

Revision 1979, 17.1 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1Summary: Power management utilities and scripts
2Summary(ja): 電源管理ユーティリティおよびスクリプト
3Name: pm-utils
4License: GPLv2
5Version: 1.2.6.1
6Release: 2%{?_dist_release}
7Group: System Environment/Base
8URL: http://pm-utils.freedesktop.org
9
10Source0: http://pm-utils.freedesktop.org/releases/pm-utils-%{version}.tar.gz
11
12Source21: pm-utils-99hd-apm-restore
13Source22: pm-utils-hd-apm-restore.conf
14Source23: pm-utils-bugreport-info.sh
15
16Source100: 00tuxonice
17Source101: tuxonice.sysconfig
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
20BuildRequires: xmlto
21# for chvt
22Requires: kbd
23#Requires: radeontool
24# for hd apm settings
25Requires: hdparm
26# for on_ac_power
27Requires: hal
28%ifarch %{ix86} x86_64
29Requires: vbetool
30%endif
31Conflicts: apmd < 3.2.2
32
33
34%description
35The pm-utils package contains utilities and scripts useful for tasks related
36to power management.
37
38%package devel
39Summary: Files for development using %{name}
40Summary(ja): Files for development using %{name}
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43# for /usr/share/pkgconfig
44Requires:       pkgconfig
45
46%description devel
47This package contains the pkg-config files for development
48when building programs that use %{name}.
49
50
51%prep
52%setup -q
53
54
55%build
56%configure
57make
58
59
60%install
61rm -rf %{buildroot}
62
63make install DESTDIR=%{buildroot}
64
65install -D -m 0600 /dev/null %{buildroot}%{_localstatedir}/log/pm-suspend.log
66mkdir -p %{buildroot}%{_localstatedir}/run/pm-utils/{locks,storage}
67
68install -D -m 0755 %{SOURCE21} %{buildroot}%{_libdir}/pm-utils/sleep.d/99hd-apm-restore.hook
69install -D -m 0644 %{SOURCE22} %{buildroot}%{_sysconfdir}/pm-utils-hd-apm-restore.conf
70
71install -D -m 0755 %{SOURCE23} %{buildroot}%{_bindir}/pm-utils-bugreport-info.sh
72
73install -D -m 0755 %{SOURCE100} %{buildroot}%{_libdir}/pm-utils/sleep.d/00tuxonice
74install -D -m 0644 %{SOURCE101} %{buildroot}%{_sysconfdir}/sysconfig/tuxonice
75
76# VINE: documents handled directly with %%doc directive in the %%files section
77rm -rf %{buildroot}%{_datadir}/doc/pm-utils
78
79
80%clean
81rm -rf %{buildroot}
82
83
84%files
85%defattr(-,root,root,-)
86%doc AUTHORS COPYING ChangeLog NEWS README* TODO pm/HOWTO*
87%config(noreplace) %{_sysconfdir}/pm-utils-hd-apm-restore.conf
88%config(noreplace) %{_sysconfdir}/sysconfig/tuxonice
89%{_sysconfdir}/pm/
90%dir %{_libdir}/pm-utils/
91%{_libdir}/pm-utils/bin/
92%{_libdir}/pm-utils/defaults
93%{_libdir}/pm-utils/functions
94%{_libdir}/pm-utils/pm-functions
95%{_libdir}/pm-utils/power.d/
96%{_libdir}/pm-utils/sleep.d/
97%{_libdir}/pm-utils/module.d
98%{_bindir}/on_ac_power
99%{_bindir}/pm-is-supported
100%{_bindir}/pm-utils-bugreport-info.sh
101%{_sbindir}/pm-hibernate
102%{_sbindir}/pm-powersave
103%{_sbindir}/pm-suspend
104%{_sbindir}/pm-suspend-hybrid
105%{_mandir}/man1/*.1.gz
106%{_mandir}/man8/*.8.gz
107%{_localstatedir}/run/pm-utils/
108#%dir %{_datadir}/doc/pm-utils
109#%doc %{_datadir}/doc/pm-utils/*
110
111# no logrotate needed, because only one run of pm-utils is stored
112# in the logfile
113%ghost %verify(not md5 size mtime) %{_localstatedir}/log/pm-suspend.log
114
115
116%files devel
117%defattr(-,root,root,-)
118%{_libdir}/pkgconfig/pm-utils.pc
119
120
121%changelog
122* Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.6.1-2
123- rebuilt with rpm-4.8.1 for pkg-config
124
125* Sun Jan 03 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6.1-1
126- new upstream release
127
128* Sat May  9 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.5-2
129- don't own /usr/share/doc/pm-utils: use %%doc directive to handle documents
130- use %%{buildroot} instead of $RPM_BUILD_ROOT
131
132* Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
133- new upstream release
134
135* Sat Apr 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-5
136- add 00tuxonice to setup image_size_limit and enable_escape
137- add /etc/sysconfig/tuxonice
138
139* Fri Apr 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-4
140- remove 00tuxonice
141
142* Thu Mar 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.4-1
143- new upstream release
144
145* Wed Oct 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2.1-3
146- add 00tuxonice to set tuxonice-userui on hibernate
147
148* Mon Oct 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2.1-2
149- add Requires: vbetool
150
151* Sun Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2.1-1
152- initial build for Vine Linux
153
154* Thu Sep 11 2008 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
155- Update to 1.2.0
156- The core hook-running machinery will now abort running hooks of one fails,
157  and the front-end scripts will return a failure error code if hook-running
158  was aborted.
159
160* Mon Jun 22 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.3-1
161- Update to 1.1.2.3
162
163* Fri Jun 20 2008 Till Maas <opensource@till.name> - 1.1.2.2-2
164- %%pre and %%post scriptlets should not be needed anymore, old
165  config files should be already moved in every supported release
166  and the selinux context for the logfile should be restored by
167  rpm
168- remove pcitulils BR, it was needed for vbetool, which is in a
169  separate package now
170- substitute %%{__rm} macros for uniform macro usage
171
172* Mon May 29 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.2-1
173- Update to 1.1.2.2
174
175* Mon May 28 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.1-2
176- Change BR from docbook-utils to xmlto
177
178* Mon May 28 2008 Richard Hughes <rhughes@redhat.com> - 1.1.2.1-1
179- Update to 1.1.2.1
180
181* Mon May 12 2008 Richard Hughes <rhughes@redhat.com> - 1.1.1-2
182- Add missing BR for docbook-utils
183
184* Mon May 12 2008 Richard Hughes <rhughes@redhat.com> - 1.1.1-1
185- Update to 1.1.1, and drop patches that no longer apply.
186
187* Wed Apr 30 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-9
188- Remove the usermode dep on the advice of Till Maas.
189
190* Wed Apr 30 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-8
191- Rip out all the consolehelper and PAM stuff - users are not meant to be
192  running these tools directly and it's a massive change from upstream.
193
194* Fri Apr 18 2008 Peter Jones <pjones@redhat.com> - 1.1.0-7
195- Default to "shutdown" for hibernate unless it's unavailable.
196
197* Tue Apr 15 2008 Jesse Keating <jkeating@redhat.com> - 1.1.0-6
198- Don't error on post restorecon call (which can fail if selinux is disabled)
199
200* Mon Apr 14 2008 Till Maas <opensource till name> - 1.1.0-5
201- remove double %%dir %%{_libdir}/pm-utils
202- update pm-utils-99hd-apm-restore to work with current pm-utils release
203  Red Hat Bugzilla: #442294
204- move config file for hd apm restore away from config.d, which is only used
205  for pm-utils internal config anymore
206- own /var/run/pm-utils/ and create storage/locks subdirs (may be
207  needed for selinux)
208- make sure an empty logfile is created after install (touch -a ...)
209- sort %%files
210- make Source0: an URL
211- remove Conflicts: bluez utils, all supported Fedora releases ship
212  already a newer version
213- remove unused BR: hal-devel, dbus-devel, pkgconfig, docbook-utils
214
215* Mon Apr  8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-4
216- Fix build on 64 bit machines - harder.
217
218* Mon Apr  8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-3
219- Fix build on 64 bit machines.
220
221* Mon Apr  8 2008 Richard Hughes <rhughes@redhat.com> - 1.1.0-2
222- Actually do the build.
223
224* Mon Apr  7 2008 Matthias Clasen <mclasen@redhat.com> - 1.1.0-1
225- Update to 1.1.0
226- Add devel subpackage for the pc file
227
228* Thu Apr 03 2008 Adam Jackson <ajax@redhat.com> 0.99.4-16
229- x86_64 is not a macro, don't %%ifarch on it.
230
231* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.99.4-15
232- Autorebuild for GCC 4.3
233
234* Fri Jan 11 2008 Till Maas <opensource till name> - 0.99.4-14
235- add pm-utils-bugreport-info.sh script to collect information for bugreports
236- require Hal (RH #428452)
237
238* Wed Jan 09 2008 Till Maas <opensource till name> - 0.99.4-13
239- update README to describe the current beheaviour of pm-utils
240
241* Tue Jan 08 2008 Till Maas <opensource till name> - 0.99.4-12
242- remove ExclusiveArch, because it contains all supported archs
243  (in case an arch schould be excluded, please use ExcludeArch)
244- improve readability of usermode setup
245- remove pm-restart pm-shutdown from usermode setup, because
246  there are no such binaries
247- list more files in %%files explicit to make it obvious when
248  there are changes in the distributed package
249- add .conf suffix to oldconfig files
250
251* Tue Jan 08 2008 Till Maas <opensource till name> - 0.99.4-11
252- make it possible to specify the hibernate mode (RH #375701)
253
254* Wed Jan 02 2008 Till Maas <opensource till name> - 0.99.4-10
255- enhance hd-apm-restore and add a config file
256- fix source-definition for hd-apm-restore
257- add hook suffix for hook script
258
259* Wed Jan 02 2008 Till Maas <opensource till name> - 0.99.4-9
260- restore hd apm level (RH #382061)
261- Add hdparm requires for new hook
262
263* Mon Dec 31 2007 Till Maas <opensource till name> - 0.99.4-8
264- Add documentation to %%doc
265
266* Sun Dec 30 2007 Till Maas <opensource till name> - 0.99.4-7
267- fix some bugs (RH #302401)
268
269* Tue Nov 27 2007 Dennis Gilmore <dennis@ausil.us> - 0.99.4-6
270- add sparc archs to ExclusiveArch list
271
272* Wed Oct 10 2007 Till Maas <opensource till name> - 0.99.4-5
273- Require vbetool only for x86 archs (RH #325741)
274- add missing BR for docbook-utils
275
276* Thu Sep 20 2007 Till Maas <opensource till name> - 0.99.4-4
277- fix manpage cut and paste mistake (RH #286201)
278
279* Thu Sep 20 2007 Till Maas <opensource till name> - 0.99.4-3
280- remove unused patch (vidhooks)
281- add patch to keep logfile (RH #237840 (f7), #238068 (devel)),
282  to keep selinux context
283- simplify spec
284- restore selinux context of logfile in %%post
285- use rpmmacros more often
286
287* Tue Sep 11 2007 Till Maas <opensource till name> - 0.99.4-2
288- Require vbetool not on ppc and ppc64
289
290* Mon Sep 10 2007 Peter Jones <pjones@redhat.com> - 0.99.4-1
291- Merge new upstream
292- remove pm/power.d/laptop-tools
293- add --quirk-reset-brightness (needed for the Fujitsu Lifebook S7110)
294
295* Sat Sep 08 2007 Till Maas <opensource till name> - 0.99.3-12
296- Adjust %%files to own /etc/pm/ and /usr/lib/pm-utils/ (#233906)
297- remove (C|CXX|F)FLAGS definitions, they are already in %%configure
298- remove Core in Summary tag
299- add URL for pm-utils
300- add %%{?arm} to ExclusiveArch (#245463)
301- remove vbetool and require it (it is a separate package now)
302- remove radeontool and require it (it is a separate package now)
303- Update License Tag
304- cleanup buildrequires
305- clear %%setup
306
307* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.99.3-11
308- Install (not just build) vbetool and radeontool on x86_64 too
309- Explicitly list files under %%_sbindir, so they don't drop away again
310- Light spec cleanups
311
312* Thu Aug 16 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-10
313- License verification and update
314
315* Wed Jul 18 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-9
316- Fixed description to be distribution independant (#247366)
317
318* Thu Jun 07 2007 Peter Jones <pjones@redhat.com> - 0.99.3-8
319- Bump release and rebuild for newer buildsystem code
320
321* Tue Jun 05 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-7
322- Bump release and rebuild
323
324* Tue May 29 2007 Phil Knirsch <pknirsch@redhat.com> - 0.99.3-6
325- Fixed missing builds for vbetool and radeontool for some archs (#241469)
326- Fixed typo in functions where wrong variable was used (#241633)
327
328* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-5
329- ... and create the directory the logfile goes in.
330
331* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-4
332- Bump release to appease Koji.
333
334* Wed May 16 2007 Peter Jones <pjones@redhat.com> - 0.99.3-3
335- Create logfile in %%post and %%gost it.
336
337* Wed Apr 25 2007 Peter Jones <pjones@redhat.com> - 0.99.3-2
338- Get rid of bogus redirect on "vbetool post"
339- add zlib linkage for vbetool and radeontool
340
341* Mon Mar 26 2007 Peter Jones <pjones@redhat.com> - 0.99.3-1
342- update to 0.99.3
343- configure manually in the spec to avoid %%_lib as lib64
344
345* Tue Mar 13 2007 Peter Jones <pjones@redhat.com> - 0.99.2-1
346- update to 0.99.2
347
348* Fri Feb  2 2007 Peter Jones <pjones@redhat.com> - 0.99.1-1
349- Fix setsysfont hook to actually hit tty0, not the pty of the current task.
350
351* Tue Jan 30 2007 Jeremy Katz <katzj@redhat.com> - 0.19.1-6
352- build so that hooks run properly on resume; fix syntax error in
353  functions-intel (pjones)
354
355* Fri Jan 26 2007 Phil Knirsch <pknirsch@redhat.com> - 0.19.1-5
356- Fixed problem with changes in 10NetworkManager hook (#224556)
357
358* Wed Jan 24 2007 Phil Knirsch <pknirsch@redhat.com> - 0.19.1-4
359- Start/stop correct services in 10NetworkManager hook (#215253)
360- Fixed check for /sys/power/disk and /sys/power/state (#214407)
361- Added proper error messages in case /sys/power/disk or /sys/power/state are
362  missing (#215386)
363- Removed service calls and module load/unload for bluetooth hook (#213387)
364- Added hook file to restore the sysfont after resume (#215391)
365- Added the possibility to disable hibernate and suspend completely via the
366  config file (#216459)
367- Symlinked the config file to /etc/sysconfig/power-management (#216459)
368- Fixed pm-powersave permission check bug (#222819)
369- Small specfile cleanups
370
371* Sun Oct  1 2006 Peter Jones <pjones@redhat.com> - 0.19.1-3
372- Disable bluetooth suspend/reusme hook by default; the kernel modules seem
373  to support this correctly these days.
374
375* Thu Sep 28 2006 Peter Jones <pjones@redhat.com> - 0.19.1-2
376- Ignore emacs backup files in config directories (#185979)
377
378* Tue Aug  8 2006 Peter Jones <pjones@redhat.com> - 0.19.1-1
379- Hopefully fix Centrino ThinkPad suspend+resume
380- Hopefully fix Intel Mac Mini/MacBook suspend+resume
381
382* Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 0.19-3
383- doing the vbestate save/restore on intel video with the modesetting
384  intel xorg driver is broken.  so don't do it.
385
386* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.19-2
387- requier a newer version of D-Bus and rebuild
388
389* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.19-1.1
390- rebuild
391
392* Tue Jun 13 2006 Peter Jones <pjones@redhat.com> - 0.19-1
393- update from CVS
394- move pam and consolehelper stuff here.
395- move video hooks here since HAL isn't ready
396
397* Tue Apr 25 2006 Peter Jones <pjones@redhat.com> - 0.18-1
398- Make it work cross-distro
399
400* Mon Apr 17 2006 Peter Jones <pjones@redhat.com> - 0.17-1
401- add more helper functions
402- rework things that were forking an extra subshell
403- fix the suspend lock
404- work around bluetooth/usb suspend wackiness
405
406* Fri Mar 17 2006 Peter Jones <pjones@redhat.com> - 0.16-1
407- rework the difference between hibernate and suspend; get rid of PM_MODE
408- add 00clear script
409- move default_resume_kernel from "functions" to 01grub's hibernate section
410
411* Sat Mar 11 2006 Peter Jones <pjones@redhat.com> - 0.15-1
412- fix hibernate check in a way that doesn't break "sleep".
413
414* Fri Mar 10 2006 Peter Jones <pjones@redhat.com> - 0.14-1
415- fix hibernate check in /etc/pm/hooks/20video
416
417* Fri Mar 03 2006 Phil Knirsch <pknirsch@redhat.com> - 0.13-1
418- Revert last changes for ATI graphics chips as they seem to cause more
419  problems than they solved.
420
421* Wed Mar 01 2006 Phil Knirsch <pknirsch@redhat.com> - 0.12-1
422- Use vbetool post instead of vbetool dpms on for ATI cards.
423
424* Tue Feb 28 2006 Jeremy Katz <katzj@redhat.com>
425- allow building on all x86 arches (#183175)
426
427* Tue Feb 28 2006 Jeremy Katz <katzj@redhat.com> - 0.11-1
428- fix display on resume with nvidia graphics
429- add infrastructure to tell what pm-util is running; don't resume
430  video on return from hibernate as the BIOS has already re-initialized it
431
432* Fri Feb 24 2006 Phil Knirsch <pknirsch@redhat.com> - 0.10-1
433- Added missing pciutils-devel BuildRequires (#182566)
434- Fixed missing vbestata save/restore calls for video suspend/resume (#182167,
435  #169494)
436- Renamed hook scripts to allow local pre and post inserts (#179421)
437- Added support for blinking led lights on Thinkpad Laptops during suspend
438  (#179420)
439- Added pm-powersave script for powersaving via HAL (#169054)
440- Added symlinks for pm-shutdown and pm-restart (#165953)
441
442* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.09-1.2
443- bump again for double-long bug on ppc(64)
444
445* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.09-1.1
446- rebuilt for new gcc4.1 snapshot and glibc changes
447
448* Tue Jan 24 2006 Jeremy Katz <katzj@redhat.com> - 0.09-1
449- Remove button module on suspend
450- Set default kernel in grub to current one when hibernating
451  so that resume works
452
453* Thu Dec 22 2005 Peter Jones <pjones@redhat.com> - 0.08-1
454- Fix scripts for new pciutils
455
456* Fri Dec  9 2005 Dave Jones <davej@redhat.com>
457- Update to latest vbetool (0.5-1)
458  Now also built on x86-64 too.
459
460* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
461- rebuilt
462
463* Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.07-3
464- rebuild for the new dbus
465
466* Wed Nov 30 2005 Peter Jones <pjones@redhat.com> - 0.07-2
467- restart ntpd in the background
468- switch terminals early so we don't wake the screen back up
469
470* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> - 0.06-3
471- nix that, wait for the kernel to settle down
472
473* Wed Nov 16 2005 Bill Nottingham <notting@redhat.com> - 0.06-2
474- fix LRMI usage in vbetool
475
476* Thu Nov 10 2005 Peter Jones <pjones@redhat.com> - 0.06-1
477- kill acpi_video_cmd calls in functions-ati
478- fix lcd_on in functions-ati
479
480* Fri Sep 30 2005 Bill Nottingham <notting@redhat.com> - 0.05-1
481- check for presence of various tools/files before using them (#169560, #196562)
482
483* Fri Aug 12 2005 Jeremy Katz <katzj@redhat.com> - 0.04-1
484- add pm-hibernate
485
486* Tue Jul 05 2005 Bill Nottingham <notting@redhat.com> - 0.03-1
487- fix path to video functions in video hook
488
489* Mon Jul 04 2005 Bill Nottingham <notting@redhat.com> - 0.02-1
490- add a pm-suspend (#155613)
491
492* Wed Apr 13 2005 Bill Nottingham <notting@redhat.com> - 0.01-1
493- initial version - package up vbetool, radeontool, new on_ac_power
Note: See TracBrowser for help on using the repository browser.