wmbiff: Remove unnecessary loop.
[dockapps.git] / wmpower / wmpower.spec
blob7b20b4312545cec4e922d86991587fdad271c9ee
1 %define name wmpower
2 %define version 0.3.1
3 %define release 1
6 Summary: wmpower is a dockapp to see the power management of a laptop
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Copyright: GPL
13 Group: Applications/System
14 Vendor: Francisco Rodrigo Escobedo Robles (frer@pepix.net)
15 Url: http://wmpower.sourceforge.net/
16 Source: %{name}-%{version}.tar.bz2
17 Provides: wmpower
18 BuildRoot: /var/tmp/%{name}-%{version}-%{release}
21 %description
22 wmpower is a Window Maker dock application allowing the user to
23 graphically see (and set) the power management status of his laptop.
26 %prep
27 %setup -q
30 %build
31 ./configure --exec-prefix=/usr
32 make
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p $RPM_BUILD_ROOT/usr/bin
38 make DESTDIR=$RPM_BUILD_ROOT install
39 strip $RPM_BUILD_ROOT/usr/bin/wmpower
42 %clean
43 rm -rf $RPM_BUILD_ROOT
46 %files
47 %defattr(-,root,root)
48 %doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README README.compal THANKS TODO
49 %attr(7755,root,root)/usr/bin/wmpower
52 %changelog