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

Revision 8958, 7.1 KB checked in by inagaki, 10 years ago (diff)

2014-09-18 Ryoichi INAGAKI <ryo1@…>

  • xfce4-{clipman, datetime, embed, systemload, weather}-plugin: updated
  • xfce4-{mailwatch, places}-plugin: NEW
  • xfce4-power-maneger: updated


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