fingerterm.spec 1.17 KB
Newer Older
Aard's avatar
Aard committed
1
Name: fingerterm
2
Version: 1.3.5
Aard's avatar
Aard committed
3 4 5 6 7
Release: 1
Summary: A terminal emulator with a custom virtual keyboard
Group: System/Base
License: GPLv2
Source0: %{name}-%{version}.tar.gz
8
URL: https://git.merproject.org/mer-core/fingerterm
9 10
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
John Brooks's avatar
John Brooks committed
11 12
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
13
BuildRequires: pkgconfig(Qt0Feedback)
14
BuildRequires: pkgconfig(nemonotifications-qt5) >= 1.0.4
John Brooks's avatar
John Brooks committed
15
Requires: qt5-qtdeclarative-import-xmllistmodel
16
Requires: qt5-qtdeclarative-import-window2
17 18
Obsoletes: meego-terminal <= 0.2.2
Provides: meego-terminal > 0.2.2
Aard's avatar
Aard committed
19 20 21 22 23 24 25 26

%description
%{summary}.

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/applications/*.desktop
27 28 29
%{_datadir}/%{name}/*.qml
%{_datadir}/%{name}/data/*
%{_datadir}/%{name}/icons/*
Aard's avatar
Aard committed
30 31 32 33 34 35 36

%prep
%setup -q -n %{name}-%{version}


%build
sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro
37
qmake -qt=5 MEEGO_EDITION=nemo CONFIG+=enable-feedback CONFIG+=enable-nemonotifications
38 39
# Inject version number from RPM into source
sed -i -e 's/PROGRAM_VERSION="[^"]*"/PROGRAM_VERSION="%{version}"/g' version.h
Aard's avatar
Aard committed
40 41 42 43 44 45
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make INSTALL_ROOT=%{buildroot} install