21625f40b5
I tried to get the latest versions from dockapps.org, but I haven't tested any of them. More dockapps will be added as time permits.
53 lines
992 B
RPMSpec
53 lines
992 B
RPMSpec
%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.
|
|
|
|
|
|
%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
|