Author: arekm                        Date: Fri May 11 07:09:10 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.0

---- Files affected:
packages/powertop:
   powertop.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/powertop/powertop.spec
diff -u packages/powertop/powertop.spec:1.20 
packages/powertop/powertop.spec:1.21
--- packages/powertop/powertop.spec:1.20        Thu Sep  1 08:54:36 2011
+++ packages/powertop/powertop.spec     Fri May 11 09:09:04 2012
@@ -2,15 +2,17 @@
 Summary:       PowerTOP - tool that finds the software component(s) that make 
your laptop use more power
 Summary(pl.UTF-8):     PowerTOP - narzędzie wykrywające programy zwiększające 
pobór energii laptopa
 Name:          powertop
-Version:       1.13
-Release:       2
+Version:       2.0
+Release:       1
 License:       GPL v2
 Group:         Applications
-Source0:       
http://www.lesswatts.org/projects/powertop/download/%{name}-%{version}.tar.gz
-# Source0-md5: 78aa17c8f55178004223bf236654298e
-BuildRequires: gettext-devel
+Source0:       
https://01.org/powertop/sites/default/files/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: 8f27e2b0bf1c68b1f5a9a98294238bb2
+URL:           https://01.org/powertop/
+BuildRequires: libnl-devel
 BuildRequires: ncurses-devel
-URL:           http://www.lesswatts.org/projects/powertop/
+BuildRequires: pciutils-devel
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,12 +43,12 @@
 problem.
 
 %prep
-%setup -q 
+%setup -q
 
 %build
-%{__make} \
-       CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses -D 
VERSION=\\\"%{version}\\\"" \
-       CC="%{__cc}"
+%configure \
+       CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,16 +56,13 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
-%doc Changelog README
-%attr(755,root,root) %{_bindir}/powertop
-%{_mandir}/man8/*
+%doc TODO
+%attr(755,root,root) %{_sbindir}/powertop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2012/05/11 07:09:04  arekm
+- up to 2.0
+
 Revision 1.20  2011/09/01 06:54:36  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/powertop/powertop.spec?r1=1.20&r2=1.21

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to