123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- Name: xfce4-battery-plugin
- Summary: Battery monitor for the Xfce panel
- Summary(ja): Xfce パネル用バッテリー監視プラグイン
- Version: 1.0.4
- 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.20.0
- BuildRequires: libxfce4ui-devel >= 4.8.0
- BuildRequires: libxfce4util-devel >= 4.8.0
- BuildRequires: xfce4-panel-devel >= 4.8.0
- BuildRequires: libxml2-devel
- BuildRequires: gettext
- BuildRequires: perl-XML-Parser
- Requires: xfce4-panel >= 4.8.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 $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- %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
- %{_libdir}/xfce4/panel/plugins/libbattery.so
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/xfce4/panel/plugins/battery.desktop
- %changelog
- * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
- - new upstream release
- - remove BuildRequires: libxfcegui4-devel
- - add BuildRequires: libxfce4ui-devel
- * 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
|