43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
|
Name: webattery
|
||
|
Version: 1.2
|
||
|
Release: 1mamba
|
||
|
Summary: Command to display battery status
|
||
|
Group: System/Kernel and Hardware
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||
|
URL: http://webattery.sourceforge.net
|
||
|
Source: http://downloads.sourceforge.net/project/webattery/webattery-%{version}/webattery-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Webattery is a command line tool to display battery status with a cool battery like output.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/webattery
|
||
|
%{_mandir}/man1/webattery.1.gz
|
||
|
%doc COPYING README TODO
|
||
|
|
||
|
%changelog
|
||
|
* Thu Sep 30 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.2-1mamba
|
||
|
- package created by autospec
|