]> git.pld-linux.org Git - packages/i7z.git/commitdiff
- updated to 0.27.2 auto/th/i7z-0.27.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Sep 2012 07:20:50 +0000 (09:20 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 15 Sep 2012 07:20:50 +0000 (09:20 +0200)
- removed obsolete link patch

i7z-link.patch [deleted file]
i7z.spec

diff --git a/i7z-link.patch b/i7z-link.patch
deleted file mode 100644 (file)
index f0cbba4..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- i7z-0.27.1/Makefile.orig   2011-12-28 03:39:11.000000000 +0100
-+++ i7z-0.27.1/Makefile        2012-01-04 21:25:53.052486462 +0100
-@@ -28,7 +28,8 @@
- CC       = gcc 
--LDFLAGS  = -lncurses -lpthread -lrt
-+LDFLAGS  =
-+LIBS   =-lncurses -lpthread -lrt
- INCLUDEFLAGS = 
- OBJS = helper_functions
-@@ -44,7 +45,7 @@
-       @echo "If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian)"
- bin: 
--      $(CC) $(CFLAGS) $(INCLUDEFLAGS) $(SRC) $(LDFLAGS) -o $(BIN)
-+      $(CC) $(CFLAGS) $(INCLUDEFLAGS) $(SRC) $(LDFLAGS) $(LIBS) -o $(BIN)
- test_exist:
-       @test -f i7z && echo 'Succeeded, now run sudo ./i7z' || echo 'Compilation failed'
index 8c89c355f9ef74abb610eebd540b19650e43fcc5..6fd11b912f19b2685380f3d6b8bc5d90a5293bbb 100644 (file)
--- a/i7z.spec
+++ b/i7z.spec
@@ -1,14 +1,13 @@
 Summary:       i3, i5 and i7 reporting tool for Linux
 Summary(pl.UTF-8):     Narzędzie informacyjne dla procesorów i3, i5 i i7 pod Linuksem
 Name:          i7z
-Version:       0.27.1
+Version:       0.27.2
 Release:       1
 License:       GPL v2
 Group:         Applications/System
 #Source0Download: http://code.google.com/p/i7z/downloads/list
 Source0:       http://i7z.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: 4408e0e39b195b8fe6383cadc971a862
-Patch0:                %{name}-link.patch
+# Source0-md5: 7f2c4928146b722d67ecdd0d905a4353
 URL:           http://code.google.com/p/i7z/
 BuildRequires: ncurses-devel
 BuildRequires: qt4-build
@@ -40,16 +39,14 @@ Oparte na Qt graficzne narzędzie informacyjne dla procesorów i3/i5/i7.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__make} clean
+CFLAGS="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses" \
 %{__make} \
        CC="%{__cc}" \
-       CFLAGSANY="%{rpmcflags} %{rpmcppflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wall" \
-       INCLUDEFLAGS=-I/usr/include/ncurses \
        LDFLAGS="%{rpmldflags}" \
-       LIBS="-lncurses -ltinfo -lpthread -lrt"
+       LIBS="-lncurses -ltinfo -lpthread -lrt -lm"
 
 cd GUI
 qmake-qt4 \
This page took 0.05085 seconds and 4 git commands to generate.