1 | %define dbus_version 1.6.4 |
---|
2 | %define dbus_glib_version 0.100 |
---|
3 | %define gnome_panel_version 3.6.0 |
---|
4 | |
---|
5 | Summary: GNOME power management service |
---|
6 | Summary(ja): GNOME 電源管理ツール |
---|
7 | Name: gnome-power-manager |
---|
8 | Version: 3.6.0 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | License: GPLv2+ and GFDL |
---|
11 | Group: Applications/System |
---|
12 | URL: http://projects.gnome.org/gnome-power-manager/ |
---|
13 | |
---|
14 | Source0: http://download.gnome.org/sources/gnome-power-manager/3.6/gnome-power-manager-%{version}.tar.xz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: autoconf >= 2.65 |
---|
18 | BuildRequires: gtk3-devel |
---|
19 | BuildRequires: libwnck-devel |
---|
20 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
21 | BuildRequires: libnotify-devel |
---|
22 | BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
---|
23 | BuildRequires: yelp-tools |
---|
24 | BuildRequires: desktop-file-utils |
---|
25 | BuildRequires: gettext |
---|
26 | BuildRequires: libtool |
---|
27 | BuildRequires: cairo-devel |
---|
28 | BuildRequires: libcanberra-gtk3-devel |
---|
29 | BuildRequires: unique3-devel >= 3.0.0 |
---|
30 | BuildRequires: upower-devel >= 0.9.0 |
---|
31 | BuildRequires: control-center-devel |
---|
32 | BuildRequires: intltool |
---|
33 | BuildRequires: docbook-utils |
---|
34 | Requires: gtk3 >= 3.0.0 |
---|
35 | Requires: gnome-mime-data |
---|
36 | Requires: gnome-icon-theme |
---|
37 | Requires: libnotify >= 0.4.3 |
---|
38 | Requires: dbus-glib >= %{dbus_glib_version} |
---|
39 | Requires: dbus-x11 >= %{dbus_version} |
---|
40 | Requires: libcanberra-gtk3 >= 0.10 |
---|
41 | Requires: unique3 >= 3.0.0 |
---|
42 | Requires: upower >= 0.9.0 |
---|
43 | |
---|
44 | Obsoletes: gnome-power-manager-extra < 3.0.0 |
---|
45 | Provides: gnome-power-manager-extra |
---|
46 | |
---|
47 | Vendor: Project Vine |
---|
48 | Distribution: Vine Linux |
---|
49 | Packager: daisuke, Takemikaduchi |
---|
50 | |
---|
51 | %description |
---|
52 | GNOME Power Manager uses the information and facilities provided by HAL |
---|
53 | displaying icons and handling user callbacks in an interactive GNOME session. |
---|
54 | GNOME Power Preferences allows authorised users to set policy and |
---|
55 | change preferences. |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q |
---|
59 | |
---|
60 | |
---|
61 | %build |
---|
62 | %configure \ |
---|
63 | --disable-static |
---|
64 | make |
---|
65 | |
---|
66 | %install |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
69 | |
---|
70 | %find_lang %name --all-name --with-gnome |
---|
71 | |
---|
72 | %clean |
---|
73 | rm -rf $RPM_BUILD_ROOT |
---|
74 | |
---|
75 | %post |
---|
76 | touch --no-create %{_datadir}/icons/hicolor |
---|
77 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
78 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
79 | fi |
---|
80 | |
---|
81 | %postun |
---|
82 | touch --no-create %{_datadir}/icons/hicolor |
---|
83 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
84 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || : |
---|
85 | fi |
---|
86 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
87 | |
---|
88 | %posttrans |
---|
89 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
90 | |
---|
91 | %files -f %{name}.lang |
---|
92 | %defattr(-,root,root) |
---|
93 | %doc AUTHORS COPYING README |
---|
94 | %{_bindir}/gnome-power-statistics |
---|
95 | %dir %{_datadir}/gnome-power-manager |
---|
96 | %{_datadir}/applications/gnome-power-statistics.desktop |
---|
97 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
98 | %{_datadir}/gnome-power-manager/icons/hicolor/*/*/*.* |
---|
99 | %{_datadir}/icons/hicolor/*/apps/* |
---|
100 | %{_mandir}/man1/gnome-power-statistics.1.gz |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
104 | - new upstream release |
---|
105 | - change BuildRequires: yelp-tools instead of gome-doc-utils |
---|
106 | |
---|
107 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
123 | - new upstream release |
---|
124 | - add BuildRequires: gtk3-devel, control-center-devel |
---|
125 | - change BuildRequires: libcanberra-gtk3-devel instead of licanberra-devel |
---|
126 | - change BuildRequires: unique3-devel instead of unique-devel |
---|
127 | - delete -extra sub package |
---|
128 | |
---|
129 | * Sat Oct 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2 |
---|
130 | - add Source101(gnome-power-manager.gnome-2-32.ja.po) |
---|
131 | |
---|
132 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
133 | - new upstream release |
---|
134 | - change BuildRequires: gnome-panel-devel instead of gnome-panel |
---|
135 | - fix %files |
---|
136 | |
---|
137 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
141 | - new upstream release |
---|
142 | - remove Patch1, Patch2, Patch3 |
---|
143 | - change BuildRequires: DeviceKit-power-devel -> upower-devel |
---|
144 | - change Requires: DeviceKit-power -> upower |
---|
145 | |
---|
146 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
147 | - new upstream release |
---|
148 | - change BuildRequires: xmlto -> docbook-utils |
---|
149 | - remove BuildReuiqres: hal-devel |
---|
150 | |
---|
151 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Tue Dec 29 2009 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
155 | - merge spec file from FC package |
---|
156 | - add Patch1, Patch2 and Patch3 from FC package |
---|
157 | - add Patch10 and Patch11 for Vine Linux |
---|
158 | - remove configure option --enable-policykit |
---|
159 | - add new package (extra) |
---|
160 | |
---|
161 | * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.4-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
165 | - new upstream release |
---|
166 | |
---|
167 | * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Sun Jan 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1 |
---|
174 | - new upstream release |
---|
175 | |
---|
176 | * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl2 |
---|
177 | - rebuild with new environment/toolchain |
---|
178 | |
---|
179 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.2-0vl1 |
---|
180 | - new upstream release |
---|
181 | - drop Patch10 to enable suspend-to-ram. |
---|
182 | |
---|
183 | * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.0-0vl1 |
---|
184 | - new upstream release |
---|
185 | |
---|
186 | * Tue Aug 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.91-0vl1 |
---|
187 | - new upstream release |
---|
188 | |
---|
189 | * Mon Jul 24 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.90-0vl1 |
---|
190 | - new upstream release |
---|
191 | |
---|
192 | * Wed Jun 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.3-0vl1 |
---|
193 | - new upstream release |
---|
194 | |
---|
195 | * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.2-0vl1 |
---|
196 | - new upstream release |
---|
197 | |
---|
198 | * Wed Apr 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.1-0vl1 |
---|
199 | - new upstream release |
---|
200 | |
---|
201 | * Mon Apr 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.0-0vl1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Mon Apr 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl3 |
---|
208 | - add Patch10 to disable suspend-to-ram by default. |
---|
209 | |
---|
210 | * Thu Mar 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl2 |
---|
211 | - update ja.po from CVS head. |
---|
212 | |
---|
213 | * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
214 | - new upstream release |
---|
215 | |
---|
216 | * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.93-0vl1 |
---|
217 | - initial build for Vine Linux based on FC package |
---|
218 | |
---|
219 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-4 |
---|
220 | - fix the fix in -2 and -3 |
---|
221 | |
---|
222 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-3 |
---|
223 | - fix the fix in -2 |
---|
224 | |
---|
225 | * Mon Mar 6 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-2 |
---|
226 | - fix icon in bubbles (bug 184192). |
---|
227 | |
---|
228 | * Fri Mar 3 2006 Ray Strode <rstrode@redhat.com> - 2.13.93-1 |
---|
229 | - Update to 2.13.93 |
---|
230 | - ignore d-bus timeout errors |
---|
231 | |
---|
232 | * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-3 |
---|
233 | - Add patch from Richard Hughes to potentially fix a |
---|
234 | crasher bug (bug 183127) |
---|
235 | |
---|
236 | * Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 2.13.92-2 |
---|
237 | - Buildrequires: gnome-doc-utils |
---|
238 | |
---|
239 | * Sun Feb 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.92-1 |
---|
240 | - Update to 2.13.92 |
---|
241 | |
---|
242 | * Tue Feb 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.91-1 |
---|
243 | - Update to 2.13.91 |
---|
244 | - Drop upstreamed patch |
---|
245 | |
---|
246 | * Wed Feb 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.90-1 |
---|
247 | - Update to 2.13.90 |
---|
248 | - Require dbus-x11 (#176656) |
---|
249 | |
---|
250 | * Sun Feb 13 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-2 |
---|
251 | - remove Hibernate and Suspend from menus as part of |
---|
252 | panel/g-p-m integration effort |
---|
253 | |
---|
254 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5.0.20060207-1.1 |
---|
255 | - bump again for double-long bug on ppc(64) |
---|
256 | |
---|
257 | * Tue Feb 7 2006 Ray Strode <rstrode@redhat.com> - 2.13.5.0.20060207-1 |
---|
258 | - pull cvs snapshot from HEAD and drop the patches caillon |
---|
259 | just added |
---|
260 | |
---|
261 | * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.13.5-3 |
---|
262 | - Install into the autostart directory |
---|
263 | - Don't suspend on lid close while on AC power |
---|
264 | |
---|
265 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5-2.1 |
---|
266 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
267 | |
---|
268 | * Tue Jan 31 2006 Matthias Clasen <mclasen@redhat.com> - 2.13.5-2 |
---|
269 | - rebuild |
---|
270 | |
---|
271 | * Thu Jan 26 2006 Ray Strode <rstrode@redhat.com> - 2.13.5-1 |
---|
272 | - packaging tweaks |
---|
273 | |
---|
274 | * Thu Jan 26 2006 Christopher Aillon <caillon@redhat.com> 2.13.5-1 |
---|
275 | - Update to 2.13.5 |
---|
276 | |
---|
277 | * Tue Jan 24 2006 Christopher Aillon <caillon@redhat.com> - 0.3.4-2 |
---|
278 | - Left clicking on the applet should bring up the menu |
---|
279 | |
---|
280 | * Tue Jan 17 2006 Ray Strode <rstrode@redhat.com> - 0.3.4-1 |
---|
281 | - update to 0.3.4 |
---|
282 | - disable updating scrollkeeper database in buildroot |
---|
283 | (move to %%post) |
---|
284 | |
---|
285 | * Fri Jan 6 2006 Jeremy Katz <katzj@redhat.com> - 0.3.3-0.cvs.20060106 |
---|
286 | - update to a cvs snap so that it works with hal cvs snap |
---|
287 | - make sure we use libnotify |
---|
288 | |
---|
289 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> - 0.3.1-2.1 |
---|
290 | - rebuilt |
---|
291 | |
---|
292 | * Thu Dec 01 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.1-2 |
---|
293 | - rebuild for new dbus |
---|
294 | |
---|
295 | * Mon Nov 28 2005 Christopher Aillon <caillon@redhat.com> 0.3.1-1 |
---|
296 | - Update to 0.3.1 |
---|
297 | |
---|
298 | * Fri Nov 25 2005 Christopher Aillon <caillon@redhat.com> 0.3.0-1 |
---|
299 | - Update to 0.3.0 |
---|
300 | |
---|
301 | * Wed Oct 19 2005 Ray Strode <rstrode@redhat.com> 0.2.8-1 |
---|
302 | - update to 0.2.8 |
---|
303 | |
---|
304 | * Wed Oct 3 2005 Ray Strode <rstrode@redhat.com> 0.2.6-1 |
---|
305 | - update to 0.2.6 |
---|
306 | |
---|
307 | * Wed Sep 28 2005 Ray Strode <rstrode@redhat.com> 0.2.4-1 |
---|
308 | - update to 0.2.4 |
---|
309 | |
---|
310 | * Fri Sep 02 2005 David Zeuthen <davidz@redhat.com> 0.2.3.1-1 |
---|
311 | - Initial import based on an SRPM from Richard Hughes |
---|
312 | |
---|