2011-03-25 18:45:13 +00:00
|
|
|
%define name wmpower
|
|
|
|
%define version 0.3.1
|
|
|
|
%define release 1
|
|
|
|
|
|
|
|
|
|
|
|
Summary: wmpower is a dockapp to see the power management of a laptop
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
Copyright: GPL
|
|
|
|
Group: Applications/System
|
|
|
|
Vendor: Francisco Rodrigo Escobedo Robles (frer@pepix.net)
|
|
|
|
Url: http://wmpower.sourceforge.net/
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Provides: wmpower
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
wmpower is a Window Maker dock application allowing the user to
|
|
|
|
graphically see (and set) the power management status of his laptop.
|
2014-10-05 15:29:59 +00:00
|
|
|
|
2011-03-25 18:45:13 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --exec-prefix=/usr
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
strip $RPM_BUILD_ROOT/usr/bin/wmpower
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README README.compal THANKS TODO
|
|
|
|
%attr(7755,root,root)/usr/bin/wmpower
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|