3
%define libname libqtermwidget0
6
Summary: Qt4 terminal widget
10
Source: %{name}-%{version}.tar.bz2
12
URL: https://github.com/qterminal
13
Vendor: petr@yarpen.cz
16
%if 0%{?fedora_version}
17
%define breq qt4-devel
18
%define pref %{buildroot}/usr
20
%if 0%{?mandriva_version}
21
%define breq libqt4-devel
22
%define pref %{buildroot}/usr
25
%define breq libqt4-devel
26
%define pref %{_prefix}
30
BuildRequires: gcc-c++, %{breq}, cmake
31
BuildRoot: %{_tmppath}/%{name}-%{version}-build
35
QTermWidget is an opensource project based on KDE4 Konsole application. The main goal of this project is to provide unicode-enabled, embeddable QT4 widget for using as a built-in console (or terminal emulation widget).
36
Of course I`m aware about embedding abilities of original Konsole, but once I had Qt without KDE, and it was a serious problem. I decided not to rely on a chance. I could not find any interesting related project, so I had to write it.
37
The original Konsole`s code was rewritten entirely with QT4 only; also I have to include in the project some parts of code from kde core library. All code dealing with user interface parts and session management was removed (maybe later I bring it back somehow), and the result is quite useful, I suppose.
38
This library was compiled and tested on three linux systems, based on 2.4.32, 2.6.20, 2.6.23 kernels, x86 and amd64. Ther is also a sample application provided for quick start.
40
%package -n %{libname}
41
Summary: Qt4 terminal widget - base package
42
Group: "Development/Libraries/C and C++"
43
%description -n %{libname}
44
QTermWidget is an opensource project based on KDE4 Konsole application.
45
The main goal of this project is to provide unicode-enabled, embeddable
46
QT4 widget for using as a built-in console (or terminal emulation widget).
49
Summary: Qt4 terminal widget - development package
50
Group: "Development/Libraries/C and C++"
53
Development package for QTermWidget. Contains headers, dev-libs,
54
and Qt4 designer plugin.
61
-DCMAKE_C_FLAGS="%{optflags}" \
62
-DCMAKE_CXX_FLAGS="%{optflags}" \
63
-DCMAKE_BUILD_TYPE=Debug \
64
-DCMAKE_INSTALL_PREFIX=%{pref} \
65
%{_builddir}/%{name}-%{version}
67
%{__make} %{?jobs:-j%jobs}
75
%{__rm} -rf %{buildroot}
84
%defattr(-,root,root,-)
85
%doc AUTHORS COPYING Changelog INSTALL README
86
%{_libdir}/lib%{name}.so.%{version}
91
%defattr(-,root,root,-)
95
%{_libdir}/qt4/plugins/designer/lib%{name}plugin.so
98
* Mon Oct 29 2010 Petr Vanek <petr@scribus.info> 0.2
99
- version bump, cmake builds
101
* Sat Jul 26 2008 TI_Eugene <ti.eugene@gmail.com> 0.100