From 607888753dcc1b468009ee4159b42316cad87193 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 21 Jul 2023 06:39:09 +0000 Subject: automatic import of kgpg --- .gitignore | 1 + kgpg.spec | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 117 insertions(+) create mode 100644 kgpg.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..4c313d0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kgpg-22.08.0.tar.xz diff --git a/kgpg.spec b/kgpg.spec new file mode 100644 index 0000000..876be03 --- /dev/null +++ b/kgpg.spec @@ -0,0 +1,115 @@ +Name: kgpg +Summary: Manage GPG encryption keys +Version: 22.08.0 +Release: 1 + +License: GPLv2+ +URL: https://www.kde.org/applications/utilities/kgpg/ + +%global revision %(echo %{version} | cut -d. -f3) + +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif + +Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz + +%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} + +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib + +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5PrintSupport) +BuildRequires: cmake(Qt5Widgets) + +BuildRequires: extra-cmake-modules +BuildRequires: kf5-rpm-macros +BuildRequires: cmake(KF5Archive) +BuildRequires: cmake(KF5DocTools) +BuildRequires: cmake(KF5Codecs) +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(KF5Crash) +BuildRequires: cmake(KF5DBusAddons) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5IconThemes) +BuildRequires: cmake(KF5JobWidgets) +BuildRequires: cmake(KF5KIO) +BuildRequires: cmake(KF5Notifications) +BuildRequires: cmake(KF5Service) +BuildRequires: cmake(KF5TextWidgets) +BuildRequires: cmake(KF5XmlGui) +BuildRequires: cmake(KF5WidgetsAddons) +BuildRequires: cmake(KF5WindowSystem) + +BuildRequires: cmake(KF5AkonadiContact) +BuildRequires: cmake(KF5Contacts) +BuildRequires: cmake(KF5GrantleeTheme) +BuildRequires: cmake(Grantlee5) + +BuildRequires: kde-filesystem +Requires: kde-filesystem + +BuildRequires: gpgme-devel + +Conflicts: kdeutils-common < 6:4.7.80 + +Conflicts: kde-l10n < 17.03 + +Obsoletes: kdeutils-kgpg < 6:4.7.80 +Provides: kdeutils-kgpg = 6:%{version}-%{release} + +Requires: gnupg2 + +%description +KGpg is a simple interface for GnuPG, a powerful encryption utility. + + +%prep +%autosetup + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd +%make_build -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%find_lang %{name} --all-name --with-html + +desktop-file-edit \ + --add-only-show-in=KDE \ + %{buildroot}%{_kf5_sysconfdir}/xdg/autostart/org.kde.kgpg.desktop + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop + + +%files -f %{name}.lang +%doc AUTHORS +%license LICENSES/* +%{_kf5_bindir}/kgpg +%{_kf5_datadir}/qlogging-categories5/%{name}* +%{_kf5_sysconfdir}/xdg/autostart/org.kde.kgpg.desktop +%{_kf5_metainfodir}/org.kde.kgpg.appdata.xml +%{_kf5_datadir}/applications/org.kde.kgpg.desktop +%{_kf5_datadir}/config.kcfg/kgpg.kcfg +%{_kf5_datadir}/dbus-1/interfaces/org.kde.kgpg.Key.xml +%{_kf5_datadir}/kgpg/ +%{_kf5_datadir}/kservices5/ServiceMenus/*.desktop +%{_kf5_datadir}/kxmlgui5/kgpg/ +%{_kf5_datadir}/icons/hicolor/*/*/* + + +%changelog +* Tue Dec 20 2022 misaka00251 - 22.08.0-1 +- Init package diff --git a/sources b/sources new file mode 100644 index 0000000..617de45 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +0bb227160333006fa5e14ef9e6547d93 kgpg-22.08.0.tar.xz -- cgit v1.2.3