Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b88b7525d21d72169644197a029ea69d > files > 4

wmbattery-2.41-3.mga3.src.rpm

Name:           wmbattery
Version:        2.41
Release:        %mkrel 3
Summary:        Displays the status of your laptop's battery in a small icon
License:        GPLv2
Group:          Monitoring

URL:            git://git.kitenet.net/wmbattery
Source0:        %{name}-%{version}.tar.gz
#remove hal support
Patch0:         wmbattery-2.41-nohal.patch
#implement /sys/class/power support
Patch1:         wmbattery-2.41-syspower.patch


BuildRequires:  glibc-devel
BuildRequires:  libxpm-devel
BuildRequires:  libx11-devel 
BuildRequires:  libxext-devel
BuildRequires:  libxau-devel
BuildRequires:  libapm-devel
BuildRequires:  uClibc-devel


%description
Wmbattery displays the status of your laptop's battery in a small
icon. This includes if it is plugged in, if the battery is charging,
how many minutes of battery life remain, battery life remaining (with
both a percentage and a graph), and battery status (high in  green, low
in yellow, or critical in red).


%prep
%setup -q
%patch0 -p1 -b .old
%patch1 -p1 -b .old

%build
autoreconf --force --install
%configure2_5x
%make



%install
rm -rf %{buildroot}
%makeinstall_std



%files
%doc README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%dir %{_iconsdir}/%{name}
%{_iconsdir}/%{name}/*.xpm





%changelog

* Mon Jan 14 2013 umeabot <umeabot> 2.41-3.mga3
+ Revision: 385720
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Aug 26 2012 eatdirt <eatdirt> 2.41-2.mga3
+ Revision: 284202
- Patched to support the sys power class

* Tue Aug 14 2012 eatdirt <eatdirt> 2.41-1.mga3
+ Revision: 281260
- Upgrade to 2.41
  Removing hal support (in prep to hal removal)

* Fri Nov 04 2011 eatdirt <eatdirt> 2.40-1.mga2
+ Revision: 162972
- imported package wmbattery