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

Revision 9173, 7.4 KB checked in by inagaki, 9 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • xfce4 plugins: updated
  • xfce4-panel, xfce4-power-manager, xfdesktop: updated


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