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

Revision 9481, 7.6 KB checked in by inagaki, 9 years ago (diff)

2015-04-02 Ryoichi INAGAKI <ryo1@…>

  • MHonArc, ipw2200-firmware, xfce4-power-manager, xfdesktop: updated
  • ipw2100-firmware: rebuilt


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.4
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* Wed Apr  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.4-1
96- new upstream release
97
98* Sun Mar  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.3-1
99- new upstream release
100
101* Sat Dec 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.2-1
102- new upstream release
103- updated summary
104
105* Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-2
106- rebuilt with upower-0.99.1
107
108* Tue Sep 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-1
109- new upstream release
110
111* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2
112- rebuild with VineSeed environment
113
114* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1
115- new upstream release
116- remove old patches
117- add Patch0 (xfce4-power-manager-1.1.0-fix-desktop.patch) from fedora
118
119* Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-3
120- rebuilt with libnotify-0.7.3
121- added Patch1
122
123* Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-2
124- Initial build for Vine Linux
125
126* Sun Feb 20 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.10-1
127- Update to 1.0.10
128
129* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
130- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
131
132* Tue Jan 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.3-1
133- Update to 1.0.3
134- No longer require hal because the brightness backend was removed
135- Require polkit
136
137* Sun Dec 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.2-1
138- Update to 1.0.2
139
140* Thu Dec 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1-0.1-1
141- Update to 1.0.1 on Xfce 4.8 pre2
142
143* Sat Nov 06 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1
144- Update to 0.8.5
145- Fix for libnotify 0.7.0
146- Make build verbose
147
148* Sat Nov 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.2-1
149- Update to 0.8.4.2
150
151* Mon Nov 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4.1-1
152- Update to 0.8.4.1
153
154* Tue Sep 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1
155- Update to 0.8.4
156- Drop xfpm_session_set_client_id patch, fixed upstream
157
158* Wed Sep 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-2
159- Fix segfault in xfpm_session_set_client_id
160
161* Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3.1-1
162- Update to 0.8.3.1
163
164* Sat Aug 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1
165- Update to 0.8.3
166
167* Thu Jul 30 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-3
168- Patch to include dpmsconst.h instead of dpms.h
169
170* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
171- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
172
173* Thu Jul 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
174- Update to 0.8.2
175
176* Mon Jul 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1.1-1
177- Update to 0.8.1.1
178
179* Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1
180- Update to 0.8.1
181- Drop libglade2 requirement
182
183* Wed Jun 10 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1
184- Update to 0.8.0 final
185- Update gtk-icon-cache scriptlets
186
187* Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC2
188- Update to 0.8.0RC2
189
190* Tue Apr 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.3.RC1
191- Update to 0.8.0RC1
192
193* Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta2
194- Update to 0.8.0beta2
195- Drop xfpm-button-hal.patch, no longer necessary
196
197* Mon Apr 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.2.beta1
198- Add xfpm-button-hal.patch by Mike Massonnet
199
200* Sun Apr 12 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.beta1
201- Update to 0.8.0beta1
202
203* Thu Apr 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha2
204- Update to 0.8.0alpha2
205
206* Thu Apr 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-0.1.alpha
207- Update to 0.8.0alpha
208
209* Tue Mar 24 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1
210- Update to 0.6.5
211- Remove custom autostart file
212
213* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
214- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
215
216* Thu Feb 19 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1
217- Update to 0.6.2
218
219* Sat Feb  7 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1
220- Update to 0.6.1
221- Include additional desktop file for autostarting the app
222
223* Mon Nov 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.RC1
224- Update to 0.6.0 RC1
225
226* Fri Oct 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-0.1.0.beta1
227- Initial Fedora package
Note: See TracBrowser for help on using the repository browser.