source: projects/specs/trunk/x/xfce4-power-manager/xfce4-power-manager-vl.spec @ 9399

Revision 9399, 7.5 KB checked in by inagaki, 9 years ago (diff)

2015-03-01 Ryoichi INAGAKI <ryo1@…>

  • Xfce: updated to 4.12
  • libxfce4util410: new for compatibility


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