SPECS: powertop.spec - rel 2; missing ncurses BR; add -I ncurses p...
arekm
arekm at pld-linux.org
Wed May 30 09:12:42 CEST 2007
Author: arekm Date: Wed May 30 07:12:42 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 2; missing ncurses BR; add -I ncurses path; add translation files; add manual page
---- Files affected:
SPECS:
powertop.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/powertop.spec
diff -u SPECS/powertop.spec:1.6 SPECS/powertop.spec:1.7
--- SPECS/powertop.spec:1.6 Tue May 29 23:29:25 2007
+++ SPECS/powertop.spec Wed May 30 09:12:37 2007
@@ -3,11 +3,12 @@
Summary(pl.UTF-8): PowerTOP - narzędzie wykrywające programy zwiększające pobór energii laptopa
Name: powertop
Version: 1.5
-Release: 1
+Release: 2
License: GPL v2
Group: Applications
Source0: http://www.linuxpowertop.org/download/%{name}-%{version}.tar.gz
# Source0-md5: 163c65bde5aa4edc5b1b578035cbc72b
+BuildRequires: ncurses-devel
URL: http://www.linuxpowertop.org/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,7 +44,7 @@
%build
%{__make} \
- CFLAGS="%{rpmcflags}" \
+ CFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
CC="%{__cc}"
%install
@@ -52,13 +53,16 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc Changelog README
%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -66,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/05/30 07:12:37 arekm
+- rel 2; missing ncurses BR; add -I ncurses path; add translation files; add manual page
+
Revision 1.6 2007/05/29 21:29:25 zytek
- 1.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/powertop.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list