This commit is contained in:
23
kgpg.spec
23
kgpg.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kgpg
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -15,16 +15,17 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: kgpg
|
||||
Version: 17.07.90
|
||||
Release: 0
|
||||
%define kf5_version 5.26.0
|
||||
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
|
||||
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
||||
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||
# It can only build on the same platforms as Qt Webengine
|
||||
ExclusiveArch: %ix86 x86_64 %arm aarch64 mips mips64
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 mips mips64
|
||||
Summary: Encryption Tool
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Security
|
||||
@@ -59,7 +60,9 @@ BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
Requires: gpg2
|
||||
%if %{with lang}
|
||||
Recommends: %{name}-lang
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -89,18 +92,18 @@ Kgpg is a simple GUI for gpg
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/kgpg
|
||||
%config %{_kf5_configdir}/autostart/org.kde.kgpg.desktop
|
||||
%dir %{_kf5_appstreamdir}
|
||||
%{_kf5_appstreamdir}/org.kde.kgpg.appdata.xml
|
||||
%doc %lang(en) %{_kf5_htmldir}/en/kgpg/
|
||||
%{_kf5_applicationsdir}/org.kde.kgpg.desktop
|
||||
%{_kf5_appstreamdir}/org.kde.kgpg.appdata.xml
|
||||
%{_kf5_bindir}/kgpg
|
||||
%{_kf5_configkcfgdir}/kgpg.kcfg
|
||||
%{_datadir}/dbus-1/interfaces/org.kde.kgpg.Key.xml
|
||||
%{_kf5_htmldir}/en/kgpg/
|
||||
%{_kf5_dbusinterfacesdir}/org.kde.kgpg.Key.xml
|
||||
%{_kf5_iconsdir}/hicolor/*/*/*
|
||||
%{_datadir}/kgpg/
|
||||
%{_kf5_servicesdir}/ServiceMenus/
|
||||
%{_kf5_configdir}/autostart/org.kde.kgpg.desktop
|
||||
%{_kf5_kxmlguidir}/kgpg/
|
||||
%{_kf5_servicesdir}/ServiceMenus/
|
||||
%{_kf5_sharedir}/kgpg/
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
|
Reference in New Issue
Block a user