1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- Name: xfce4-battery-plugin
- Summary: Battery monitor for the Xfce panel
- Summary(ja): Xfce パネル用バッテリー監視プラグイン
- Version: 1.0.0
- Release: 1%{?_dist_release}
- Group: User Interface/Desktops
- License: GPLv2+
- URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
- Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk2-devel >= 2.6.0
- BuildRequires: libxfce4util-devel >= 4.3.90.2
- BuildRequires: libxfcegui4-devel >= 4.3.90.2
- BuildRequires: xfce4-panel-devel >= 4.3.90.2
- BuildRequires: libxml2-devel
- BuildRequires: gettext
- BuildRequires: perl-XML-Parser
- Requires: xfce4-panel >= 4.4.0
- Requires(posttrans): gtk2
- Requires(postun): gtk2
- %description
- A battery monitor panel plugin for Xfce4, written by Nick Penwarden and
- Edscott Wilson Garcia, compatible with APM and ACPI, for Linux and *BSD.
- %description -l ja
- Nick Penwarden と Edscott Wilson Garcia が書いた Xfce4 用のバッテリー監視パ
- ネルプラグインです。Linux と *BSD の APM と ACPI で動作します。
- %prep
- %setup -q
- %build
- %configure --disable-static
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- %find_lang %{name}
- %post
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- %posttrans
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- %postun
- if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- fi
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog README
- %{_libexecdir}/xfce4/panel-plugins/xfce4-battery-plugin
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/xfce4/panel-plugins/*.desktop
- %changelog
- * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
- - updated to 1.0.0
- * Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4
- - build against Xfce 4.2
- * Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl2
- - build for VineSeedPlus
- * Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl1
- - build for VinePlus 3.0
|