]> git.pld-linux.org Git - packages/i7z.git/blame - i7z.spec
- ncurses rebuild
[packages/i7z.git] / i7z.spec
CommitLineData
ad64a237 1Summary: i3, i5 and i7 reporting tool for Linux
cb26110e 2Summary(pl.UTF-8): Narzędzie informacyjne dla procesorów i3, i5 i i7 pod Linuksem
ad64a237 3Name: i7z
f01b0153 4Version: 0.27.2
3c8e7e2c 5Release: 2
ad64a237
TP
6License: GPL v2
7Group: Applications/System
cb26110e 8#Source0Download: http://code.google.com/p/i7z/downloads/list
ad64a237 9Source0: http://i7z.googlecode.com/files/%{name}-%{version}.tar.gz
f01b0153 10# Source0-md5: 7f2c4928146b722d67ecdd0d905a4353
ad64a237
TP
11URL: http://code.google.com/p/i7z/
12BuildRequires: ncurses-devel
13BuildRequires: qt4-build
14BuildRequires: qt4-qmake
15BuildRequires: QtGui-devel
392c1a3c 16ExclusiveArch: %{ix86} %{x8664}
ad64a237
TP
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
cb26110e
JB
19%define specflags -fomit-frame-pointer
20
ad64a237
TP
21%description
22A better i7 (and now i3, i5) reporting tool for Linux.
23
cb26110e
JB
24%description -l pl.UTF-8
25Lepsze narzędzie informacyjne dla procesorów i7 (teraz także i3, i5)
4dcea2e3
JB
26działające pod Linuksem.
27
28%package gui
29Summary: Qt-based graphical i3/i5/i7 CPU reporting tool
30Summary(pl.UTF-8): Oparte na Qt graficzne narzędzie informacyjne dla procesorów i3/i5/i7
31Group: X11/Applications
32Requires: %{name} = %{version}-%{release}
33
34%description gui
35Qt-based graphical i3/i5/i7 CPU reporting tool.
36
37%description gui -l pl.UTF-8
38Oparte na Qt graficzne narzędzie informacyjne dla procesorów i3/i5/i7.
cb26110e 39
ad64a237 40%prep
3853da27 41%setup -q
ad64a237
TP
42
43%build
313ab8ef 44%{__make} clean
f01b0153 45CFLAGS="%{rpmcflags} %{rpmcppflags} -I/usr/include/ncurses" \
ad64a237 46%{__make} \
cb26110e 47 CC="%{__cc}" \
4dcea2e3 48 LDFLAGS="%{rpmldflags}" \
f01b0153 49 LIBS="-lncurses -ltinfo -lpthread -lrt -lm"
4dcea2e3
JB
50
51cd GUI
52qmake-qt4 \
53 QMAKE_CXX="%{__cxx}" \
54 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
55 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
313ab8ef 56%{__make} clean
4dcea2e3 57%{__make}
ad64a237
TP
58
59%install
60rm -rf $RPM_BUILD_ROOT
61install -d $RPM_BUILD_ROOT%{_sbindir}
62
63install %{name} $RPM_BUILD_ROOT%{_sbindir}
3853da27 64install GUI/i7z_GUI $RPM_BUILD_ROOT%{_sbindir}
ad64a237
TP
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files
70%defattr(644,root,root,755)
71%doc README.txt
4dcea2e3
JB
72%attr(755,root,root) %{_sbindir}/i7z
73
74%files gui
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_sbindir}/i7z_GUI
This page took 0.071769 seconds and 4 git commands to generate.