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