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

Revision 8966, 7.2 KB checked in by inagaki, 10 years ago (diff)

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

  • freerdp, xfce4-timer-plugin, xfce4-xkb-plugin: update
  • xfce4-power-manager, xfce4-weather-plugin: rebuild


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