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

Revision 6284, 6.6 KB checked in by Takemikaduchi, 12 years ago (diff)

Xfce-4.10.0 + thunderbird-13.0

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