diff --git a/README.md b/README.md index e82dac1..e70d063 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # webattery +Webattery is a command line tool to display battery status with a cool battery like output. + diff --git a/webattery.spec b/webattery.spec new file mode 100644 index 0000000..bb90304 --- /dev/null +++ b/webattery.spec @@ -0,0 +1,42 @@ +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 +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 1.2-1mamba +- package created by autospec