Author: twittner Date: Tue Jan 8 22:56:40 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: yacpi.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/yacpi.spec diff -u /dev/null SPECS/yacpi.spec:1.1 --- /dev/null Tue Jan 8 23:56:40 2008 +++ SPECS/yacpi.spec Tue Jan 8 23:56:34 2008 @@ -0,0 +1,61 @@ +# $Revision$, $Date$ +Summary: ncurses based acpi monitor for text mode +#Summary(pl.UTF-8): - +Name: yacpi +Version: 3.0.1 +Release: 1 +License: GPL v2 +Group: Applications +Source0: http://www.ngolde.de/download/%{name}-%{version}.tar.gz +# Source0-md5: 1b03394ee3b916f686cdc3e2c05ddb7a +Patch0: %{name}-Makefile.patch +URL: http://www.ngolde.de/yacpi.html +BuildRequires: libacpi-devel +BuildRequires: ncurses-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +yacpi (yet another configuration and power interface) is an ncurses +based ACPI monitoring program for notebooks. There is also a text-only +output so it is possible to include it in scripts. It displays various +ACPI information like battery status, temperature, charging circuits +and AC status. Additionally it displays CPU govenor and current +frequency. + +#description -l pl.UTF-8 + +%prep +%setup -q +%patch0 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" \ + CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + prefix="%{_prefix}" + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG README THANKS +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/*.1* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-01-08 22:56:34 twittner +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
