source: projects/specs/trunk/x/xfce4-battery-plugin/xfce4-battery-plugin-vl.spec @ 6284

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

Xfce-4.10.0 + thunderbird-13.0

Line 
1Name: xfce4-battery-plugin
2Summary: Battery monitor for the Xfce panel
3Summary(ja): Xfce パネル用バッテリー監視プラグイン
4Version: 1.0.4
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.20.0
15BuildRequires: libxfce4ui-devel >= 4.8.0
16BuildRequires: libxfce4util-devel >= 4.8.0
17BuildRequires: xfce4-panel-devel >= 4.8.0
18BuildRequires: libxml2-devel
19BuildRequires: gettext
20BuildRequires: perl-XML-Parser
21Requires: xfce4-panel >= 4.8.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
44find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
45
46%find_lang %{name}
47
48%post
49touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
50
51%posttrans
52gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
53
54%postun
55if [ $1 -eq 0 ] ; then
56    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
57    gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
58fi
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files -f %{name}.lang
64%defattr(-,root,root)
65%doc AUTHORS COPYING ChangeLog README
66%{_libdir}/xfce4/panel/plugins/libbattery.so
67%{_datadir}/icons/hicolor/*/*/*
68%{_datadir}/xfce4/panel/plugins/battery.desktop
69
70%changelog
71* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
72- new upstream release
73- remove BuildRequires: libxfcegui4-devel
74- add BuildRequires: libxfce4ui-devel
75
76* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
77- updated to 1.0.0
78
79* Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4
80- build against Xfce 4.2
81
82* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl2
83- build for VineSeedPlus
84
85* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl1
86- build for VinePlus 3.0
87
Note: See TracBrowser for help on using the repository browser.