1 | %global minorversion 1.2 |
---|
2 | %global xfceversion 4.10 |
---|
3 | |
---|
4 | Name: xfce4-power-manager |
---|
5 | Summary: Power management for the Xfce desktop environment |
---|
6 | Summary(ja): Xfce デスクトップ環境用電源管理ツール |
---|
7 | Version: 1.2.0 |
---|
8 | Release: 4%{?_dist_release} |
---|
9 | |
---|
10 | Group: User Interface/Desktops |
---|
11 | License: GPLv2+ |
---|
12 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
13 | |
---|
14 | Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
15 | Patch0: xfce4-power-manager-1.1.0-fix-desktop.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | BuildRequires: xfconf-devel >= %{xfceversion} |
---|
20 | BuildRequires: xfce4-panel-devel >= %{xfceversion} |
---|
21 | BuildRequires: dbus-devel >= 0.60 |
---|
22 | BuildRequires: dbus-glib-devel >= 0.70 |
---|
23 | BuildRequires: libnotify-devel >= 0.4.1 |
---|
24 | BuildRequires: libxfce4ui-devel >= %{xfceversion} |
---|
25 | BuildRequires: libXrandr-devel >= 1.2.0 |
---|
26 | BuildRequires: xorg-x11-proto-devel |
---|
27 | BuildRequires: gettext intltool desktop-file-utils |
---|
28 | Requires: xfce4-panel >= %{xfceversion} |
---|
29 | #Requires: xfce4-doc |
---|
30 | Requires: polkit |
---|
31 | |
---|
32 | Vendor: Project Vine |
---|
33 | Distribution: Vine Linux |
---|
34 | |
---|
35 | %description |
---|
36 | Xfce Power Manager uses the information and facilities provided by HAL to |
---|
37 | display icons and handle user callbacks in an interactive Xfce session. |
---|
38 | Xfce Power Preferences allows authorised users to set policy and change |
---|
39 | preferences. |
---|
40 | |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | %patch0 -p1 |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | %configure |
---|
49 | make %{?_smp_mflags} V=1 |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
55 | %find_lang %{name} |
---|
56 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | |
---|
63 | %post |
---|
64 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
65 | |
---|
66 | |
---|
67 | %postun |
---|
68 | if [ $1 -eq 0 ] ; then |
---|
69 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
71 | fi |
---|
72 | |
---|
73 | |
---|
74 | %posttrans |
---|
75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
76 | |
---|
77 | |
---|
78 | %files -f %{name}.lang |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
81 | %{_bindir}/%{name} |
---|
82 | %{_bindir}/%{name}-settings |
---|
83 | %{_bindir}/xfce4-power-information |
---|
84 | %{_sbindir}/xfpm-power-backlight-helper |
---|
85 | %config %{_sysconfdir}/xdg/autostart/%{name}.desktop |
---|
86 | %{_libdir}/xfce4/panel-plugins/xfce4-brightness-plugin |
---|
87 | %{_datadir}/applications/%{name}-settings.desktop |
---|
88 | %{_datadir}/icons/hicolor/*/*/*.* |
---|
89 | %{_datadir}/xfce4/panel-plugins/xfce4-brightness-plugin.desktop |
---|
90 | %{_datadir}/polkit-1/actions/org.xfce.power.policy |
---|
91 | %doc %{_datadir}/xfce4/doc/C/images/*.png |
---|
92 | %doc %{_datadir}/xfce4/doc/C/%{name}.html |
---|
93 | %{_mandir}/man1/%{name}-settings.1.* |
---|
94 | %{_mandir}/man1/%{name}.1.* |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2 |
---|
99 | - rebuild with VineSeed environment |
---|
100 | |
---|
101 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1 |
---|
102 | - new upstream release |
---|
103 | - remove old patches |
---|
104 | - add Patch0 (xfce4-power-manager-1.1.0-fix-desktop.patch) from fedora |
---|
105 | |
---|
106 | * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-3 |
---|
107 | - rebuilt with libnotify-0.7.3 |
---|
108 | - added Patch1 |
---|
109 | |
---|
110 | * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-2 |
---|
111 | - Initial build for Vine Linux |
---|
112 | |
---|
113 | * Sun Feb 20 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.10-1 |
---|
114 | - Update to 1.0.10 |
---|
115 | |
---|
116 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2 |
---|
117 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
118 | |
---|
119 | * Tue Jan 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-1 |
---|
120 | - Update to 1.0.3 |
---|
121 | - No longer require hal because the brightness backend was removed |
---|
122 | - Require polkit |
---|
123 | |
---|
124 | * Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1 |
---|
125 | - Update to 1.0.2 |
---|
126 | |
---|
127 | * Thu Dec 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1-0.1-1 |
---|
128 | - Update to 1.0.1 on Xfce 4.8 pre2 |
---|
129 | |
---|
130 | * Sat Nov 06 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1 |
---|
131 | - Update to 0.8.5 |
---|
132 | - Fix for libnotify 0.7.0 |
---|
133 | - Make build verbose |
---|
134 | |
---|
135 | * Sat Nov 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.2-1 |
---|
136 | - Update to 0.8.4.2 |
---|
137 | |
---|
138 | * Mon Nov 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.1-1 |
---|
139 | - Update to 0.8.4.1 |
---|
140 | |
---|
141 | * Tue Sep 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1 |
---|
142 | - Update to 0.8.4 |
---|
143 | - Drop xfpm_session_set_client_id patch, fixed upstream |
---|
144 | |
---|
145 | * Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-2 |
---|
146 | - Fix segfault in xfpm_session_set_client_id |
---|
147 | |
---|
148 | * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-1 |
---|
149 | - Update to 0.8.3.1 |
---|
150 | |
---|
151 | * Sat Aug 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1 |
---|
152 | - Update to 0.8.3 |
---|
153 | |
---|
154 | * Thu Jul 30 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-3 |
---|
155 | - Patch to include dpmsconst.h instead of dpms.h |
---|
156 | |
---|
157 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2 |
---|
158 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
159 | |
---|
160 | * Thu Jul 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1 |
---|
161 | - Update to 0.8.2 |
---|
162 | |
---|
163 | * Mon Jul 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1.1-1 |
---|
164 | - Update to 0.8.1.1 |
---|
165 | |
---|
166 | * Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1 |
---|
167 | - Update to 0.8.1 |
---|
168 | - Drop libglade2 requirement |
---|
169 | |
---|
170 | * Wed Jun 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1 |
---|
171 | - Update to 0.8.0 final |
---|
172 | - Update gtk-icon-cache scriptlets |
---|
173 | |
---|
174 | * Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC2 |
---|
175 | - Update to 0.8.0RC2 |
---|
176 | |
---|
177 | * Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC1 |
---|
178 | - Update to 0.8.0RC1 |
---|
179 | |
---|
180 | * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta2 |
---|
181 | - Update to 0.8.0beta2 |
---|
182 | - Drop xfpm-button-hal.patch, no longer necessary |
---|
183 | |
---|
184 | * Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta1 |
---|
185 | - Add xfpm-button-hal.patch by Mike Massonnet |
---|
186 | |
---|
187 | * Sun Apr 12 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.beta1 |
---|
188 | - Update to 0.8.0beta1 |
---|
189 | |
---|
190 | * Thu Apr 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha2 |
---|
191 | - Update to 0.8.0alpha2 |
---|
192 | |
---|
193 | * Thu Apr 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha |
---|
194 | - Update to 0.8.0alpha |
---|
195 | |
---|
196 | * Tue Mar 24 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1 |
---|
197 | - Update to 0.6.5 |
---|
198 | - Remove custom autostart file |
---|
199 | |
---|
200 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2 |
---|
201 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
202 | |
---|
203 | * Thu Feb 19 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1 |
---|
204 | - Update to 0.6.2 |
---|
205 | |
---|
206 | * Sat Feb 7 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1 |
---|
207 | - Update to 0.6.1 |
---|
208 | - Include additional desktop file for autostarting the app |
---|
209 | |
---|
210 | * Mon Nov 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.RC1 |
---|
211 | - Update to 0.6.0 RC1 |
---|
212 | |
---|
213 | * Fri Oct 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.0.beta1 |
---|
214 | - Initial Fedora package |
---|