firetools/firetools.spec

61 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package firejail
#
# 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: firetools
Version: 0.9.30
Release: 0
Summary: GUI for Firajail security sandbox
License: GPL-2.0
Group: Productivity/Security
Url: http://firejail.sourceforge.net
Source0: http://firejail.sourceforge.net/%{name}-%{version}.tar.bz2
Patch1: firetools-qt-path-fix.diff
BuildRequires: gcc-c++
BuildRequires: libqt5-qtbase-devel
BuildRequires: libQt5Svg5
BuildRequires: automake
BuildRequires: autoconf
Requires: firejail >= %{version}
Requires: libQt5Svg5
%description
Firetools is the graphical user interface of Firajail security sandbox.
%prep
%setup -q
%patch1 -p1
autoreconf -fi
%build
export QMAKE=qmake-qt5
%configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags} VERBOSE=1
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%doc %{_docdir}/%{name}
%{_mandir}/man1/*
%changelog