/
fingerterm.spec
44 lines (36 loc) · 1.12 KB
1
Name: fingerterm
2
Version: 1.1.14
3
4
5
6
7
8
Release: 1
Summary: A terminal emulator with a custom virtual keyboard
Group: System/Base
License: GPLv2
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/nemomobile/fingerterm
9
10
11
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
12
13
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
14
BuildRequires: pkgconfig(Qt0Feedback)
15
BuildRequires: pkgconfig(nemonotifications-qt5) >= 1.0.4
16
Requires: qt5-qtdeclarative-import-xmllistmodel
17
Requires: qt5-qtdeclarative-import-window2
18
19
Obsoletes: meego-terminal <= 0.2.2
Provides: meego-terminal > 0.2.2
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%description
%{summary}.
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/applications/*.desktop
%prep
%setup -q -n %{name}-%{version}
%build
sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro
36
qmake -qt=5 MEEGO_EDITION=nemo CONFIG+=enable-feedback CONFIG+=enable-nemonotifications
37
38
# Inject version number from RPM into source
sed -i -e 's/PROGRAM_VERSION="[^"]*"/PROGRAM_VERSION="%{version}"/g' version.h
39
40
41
42
43
44
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make INSTALL_ROOT=%{buildroot} install