1ca05192f7
See: https://build.opensuse.org/request/show/397609 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qterminal?expand=0&rev=4
83 lines
2.3 KiB
RPMSpec
83 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package qterminal
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: qterminal
|
|
Version: 0.6.0
|
|
Release: 0
|
|
Summary: A Qt-based terminal emulator
|
|
License: GPL-2.0
|
|
Group: System/X11/Terminals
|
|
Url: http://lxqt.org
|
|
Source0: https://github.com/lxde/qterminal/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
# Without this its possible to disable the menu bar with no way to re-enable it
|
|
# Upstreamed with https://github.com/lxde/qterminal/commit/ad2445836ad744539b4d9e03e20f2308e6e26deb#diff-0ef013cb405aa918f9f7af26a0c78c30
|
|
# should be in next release
|
|
Patch0: preferences_context_menu.patch
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
|
BuildRequires: qtermwidget-qt5-devel
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
Requires(post): desktop-file-utils
|
|
Requires(pre): desktop-file-utils
|
|
Recommends: %{name}-lang
|
|
|
|
%description
|
|
The lightweight Qt terminal emulator.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake \
|
|
-DUSE_QT5=ON \
|
|
-DUSE_SYSTEM_QXT=OFF
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING CONTRIBUTING*
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}_drop.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%files lang
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/%{name}
|
|
%dir %{_datadir}/%{name}/translations
|
|
%{_datadir}/%{name}/translations/%{name}_*.qm
|
|
|
|
%changelog
|