]>
Commit | Line | Data |
---|---|---|
0f0a1c89 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
0f0a1c89 SS |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = qtermwidget |
7 | version = 0.1 | |
6eae5ef3 | 8 | release = 3 |
802ea3af MT |
9 | |
10 | groups = /Tools | |
11 | url = http://qtermwidget.sourceforge.net/ | |
12 | license = GPLv2 | |
13 | summary = A QT4 terminal emulation widget. | |
14 | ||
15 | description | |
16 | QTermWidget is an opensource project based on KDE4 Konsole | |
17 | application. The main goal of this project is to provide | |
18 | unicode-enabled, embeddable QT4 widget for using as a built-in | |
19 | console (or terminal emulation widget). | |
20 | end | |
21 | ||
6eae5ef3 | 22 | source_dl = http://sourceforge.net/projects/%{name}/files/sources/%{version}/ |
802ea3af MT |
23 | |
24 | build | |
25 | requires | |
26 | gcc-c++ | |
27 | python-devel | |
28 | qt-devel | |
29 | end | |
30 | ||
31 | DIR_APP = %{DIR_SRC}/%{name} | |
32 | ||
33 | # XXX Why do we have to set this flag here ? | |
34 | export QMAKESPEC=linux-g++ | |
35 | ||
36 | build | |
37 | qmake | |
38 | make #%{PARALLELISMFLAGS} | |
39 | end | |
40 | ||
41 | install | |
42 | # Install headers | |
43 | mkdir -pv %{BUILDROOT}/usr/include/%{name} | |
44 | cp -vf lib/*.h %{BUILDROOT}/usr/include/%{name} | |
45 | ||
46 | # Only install the library | |
6eae5ef3 SS |
47 | mkdir -pv %{BUILDROOT}%{libdir} |
48 | cp -vf libqtermwidget.so.0 %{BUILDROOT}%{libdir} | |
49 | ln -svf libqtermwidget.so.0 %{BUILDROOT}%{libdir}/libqtermwidget.so | |
802ea3af MT |
50 | end |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
1f9bc2f0 | 55 | |
802ea3af MT |
56 | package %{name}-devel |
57 | template DEVEL | |
58 | end | |
1f9bc2f0 MT |
59 | |
60 | package %{name}-debuginfo | |
61 | template DEBUGINFO | |
62 | end | |
802ea3af | 63 | end |