|
@@ -1,21 +1,21 @@
|
|
|
Name: xfce4-battery-plugin
|
|
|
Summary: Battery monitor for the Xfce panel
|
|
|
-Summary(ja): Xfce パネル用バッテリー監視プラグイン
|
|
|
-Version: 1.0.4
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Summary(ja): Xfce パネル用 バッテリー監視プラグイン
|
|
|
+Version: 1.0.5
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
-License: GPLv2+
|
|
|
+License: GPLv2+ and LGPLv2+
|
|
|
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: glib2-devel >= 2.24.0
|
|
|
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
|
|
@@ -30,8 +30,7 @@ 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 で動作します。
|
|
|
+Nick Penwarden と Edscott Wilson Garcia が書いた Xfce4 用のバッテリー監視パネルプラグインです。Linux と *BSD の APM と ACPI で動作します。
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
@@ -45,6 +44,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
+chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
@@ -65,12 +65,15 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
-%doc AUTHORS COPYING ChangeLog README
|
|
|
+%doc AUTHORS COPYING COPYING.LIB ChangeLog README
|
|
|
%{_libdir}/xfce4/panel/plugins/libbattery.so
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
%{_datadir}/xfce4/panel/plugins/battery.desktop
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.5-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-2
|
|
|
- rebuild with VineSeed environment
|
|
|
|