Debian Codegraph @

packaging/rpm/qmltermwidget.spec

raw
1 #
2 # spec file for package QMLTermWidget
3 #
4 # Copyright © 2014 Markus S. <[email protected]>
5 #
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19 Name: qmltermwidget
20 Summary: QML Terminal Widget
21 Version: 1.0
22 Release: 0%{?dist}
23 Group: System/X11/Terminals
24 License: GPL-2.0+
25 URL: https://github.com/Swordfish90/qmltermwidget
26
27 # For this spec file to work, the QMLTermWidget sources must be located
28 # in a directory named QMLTermWidget-0.9 (with "0.9" being the version
29 # number defined above).
30 # If the sources are compressed in another format than .tar.xz, change the
31 # file extension accordingly.
32 Source0: %{name}-%{version}.tar.xz
33
34 BuildRequires: pkgconfig(Qt5Core)
35 BuildRequires: pkgconfig(Qt5Declarative)
36 BuildRequires: pkgconfig(Qt5Gui)
37 BuildRequires: pkgconfig(Qt5Quick)
38
39 %description
40 QMLTermWidget is a projekt to enable developers to embed a terminal emulator in QML-based applications.
41
42 %prep
43 %setup -q
44
45 %build
46 qmake-qt5
47 make %{?_smp_mflags}
48
49 %install
50 # Work around weird qmake behaviour: http://davmac.wordpress.com/2007/02/21/qts-qmake/
51 make INSTALL_ROOT=%{buildroot} install
52
53 %files
54 %defattr(-,root,root,-)
55 %{_libdir}/qt5/qml/
56
57 %changelog
58 * Mon Dec 15 21:41:00 UTC 2014 - [email protected]
59 - First build