source: projects/specs/branches/6/x/xfce4-battery-plugin/xfce4-battery-plugin-vl.spec @ 3935

Revision 3935, 2.1 KB checked in by inagaki, 13 years ago (diff)

update: xfce4-{battery,clipman,systemload}-plugin
NEW: xfce4-wavelan-plugin

Line 
1Name: xfce4-battery-plugin
2Summary: Battery monitor for the Xfce panel
3Summary(ja): Xfce パネル用バッテリー監視プラグイン
4Version: 1.0.0
5Release: 1%{?_dist_release}
6
7Group: User Interface/Desktops
8License: GPLv2+
9URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
10
11Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: gtk2-devel >= 2.6.0
15BuildRequires: libxfce4util-devel >= 4.3.90.2
16BuildRequires: libxfcegui4-devel >= 4.3.90.2
17BuildRequires: xfce4-panel-devel >= 4.3.90.2
18BuildRequires: libxml2-devel
19BuildRequires: gettext
20BuildRequires: perl-XML-Parser
21Requires: xfce4-panel >= 4.4.0
22Requires(posttrans): gtk2
23Requires(postun): gtk2
24
25%description
26A battery monitor panel plugin for Xfce4, written by Nick Penwarden and
27Edscott Wilson Garcia, compatible with APM and ACPI, for Linux and *BSD.
28
29%description -l ja
30Nick Penwarden と Edscott Wilson Garcia が書いた Xfce4 用のバッテリー監視パ
31ネルプラグインです。Linux と *BSD の APM と ACPI で動作します。
32
33%prep
34%setup -q
35
36%build
37%configure --disable-static
38make
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make install DESTDIR=$RPM_BUILD_ROOT
43
44%find_lang %{name}
45
46%post
47touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
48
49%posttrans
50gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
51
52%postun
53if [ $1 -eq 0 ] ; then
54    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
55    gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
56fi
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files -f %{name}.lang
62%defattr(-,root,root)
63%doc AUTHORS COPYING ChangeLog README
64%{_libexecdir}/xfce4/panel-plugins/xfce4-battery-plugin
65%{_datadir}/icons/hicolor/*/*/*
66%{_datadir}/xfce4/panel-plugins/*.desktop
67
68%changelog
69* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
70- updated to 1.0.0
71
72* Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4
73- build against Xfce 4.2
74
75* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl2
76- build for VineSeedPlus
77
78* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl1
79- build for VinePlus 3.0
80
Note: See TracBrowser for help on using the repository browser.