[521] | 1 | Name: xfce4-battery-plugin |
---|
[3935] | 2 | Summary: Battery monitor for the Xfce panel |
---|
| 3 | Summary(ja): Xfce パネル用バッテリー監視プラグイン |
---|
[6284] | 4 | Version: 1.0.4 |
---|
[8073] | 5 | Release: 2%{?_dist_release} |
---|
[3935] | 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 |
---|
[6284] | 14 | BuildRequires: gtk2-devel >= 2.20.0 |
---|
| 15 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
---|
| 16 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
| 17 | BuildRequires: xfce4-panel-devel >= 4.8.0 |
---|
[3935] | 18 | BuildRequires: libxml2-devel |
---|
| 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: perl-XML-Parser |
---|
[6284] | 21 | Requires: xfce4-panel >= 4.8.0 |
---|
[3935] | 22 | Requires(posttrans): gtk2 |
---|
| 23 | Requires(postun): gtk2 |
---|
[521] | 24 | |
---|
[8073] | 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
| 27 | |
---|
[521] | 28 | %description |
---|
| 29 | A battery monitor panel plugin for Xfce4, written by Nick Penwarden and |
---|
| 30 | Edscott Wilson Garcia, compatible with APM and ACPI, for Linux and *BSD. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
[3935] | 33 | Nick Penwarden と Edscott Wilson Garcia が書いた Xfce4 用のバッテリー監視パ |
---|
| 34 | ネルプラグインです。Linux と *BSD の APM と ACPI で動作します。 |
---|
[521] | 35 | |
---|
[3935] | 36 | %prep |
---|
[521] | 37 | %setup -q |
---|
| 38 | |
---|
| 39 | %build |
---|
[3935] | 40 | %configure --disable-static |
---|
[521] | 41 | make |
---|
| 42 | |
---|
| 43 | %install |
---|
[3935] | 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 46 | |
---|
[6284] | 47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 48 | |
---|
[3935] | 49 | %find_lang %{name} |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 53 | |
---|
| 54 | %posttrans |
---|
| 55 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 56 | |
---|
| 57 | %postun |
---|
| 58 | if [ $1 -eq 0 ] ; then |
---|
| 59 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 60 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 61 | fi |
---|
| 62 | |
---|
[521] | 63 | %clean |
---|
[3935] | 64 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 65 | |
---|
[3935] | 66 | %files -f %{name}.lang |
---|
[521] | 67 | %defattr(-,root,root) |
---|
| 68 | %doc AUTHORS COPYING ChangeLog README |
---|
[6284] | 69 | %{_libdir}/xfce4/panel/plugins/libbattery.so |
---|
[3935] | 70 | %{_datadir}/icons/hicolor/*/*/* |
---|
[6284] | 71 | %{_datadir}/xfce4/panel/plugins/battery.desktop |
---|
[521] | 72 | |
---|
| 73 | %changelog |
---|
[8073] | 74 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-2 |
---|
| 75 | - rebuild with VineSeed environment |
---|
| 76 | |
---|
[6284] | 77 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1 |
---|
| 78 | - new upstream release |
---|
| 79 | - remove BuildRequires: libxfcegui4-devel |
---|
| 80 | - add BuildRequires: libxfce4ui-devel |
---|
| 81 | |
---|
[3935] | 82 | * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1 |
---|
| 83 | - updated to 1.0.0 |
---|
| 84 | |
---|
[521] | 85 | * Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4 |
---|
| 86 | - build against Xfce 4.2 |
---|
| 87 | |
---|
| 88 | * Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl2 |
---|
| 89 | - build for VineSeedPlus |
---|
| 90 | |
---|
| 91 | * Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl1 |
---|
| 92 | - build for VinePlus 3.0 |
---|
| 93 | |
---|