Name: kgpg Summary: Manage GPG encryption keys Version: 15.04.2 Release: 2%{?dist} License: GPLv2+ #URL: https://projects.kde.org/projects/kde/kdeutils/%{name} URL: http://utils.kde.org/projects/%{name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz ## upstreamable patches # add support for gpg2 to kgpg Patch50: kgpg-4.8.80-gpg2.patch BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= 4.14 BuildRequires: kdepimlibs-devel >= 4.14 BuildRequires: gpgme-devel # when split occured Conflicts: kdeutils-common < 6:4.7.80 Obsoletes: kdeutils-kgpg < 6:4.7.80 Provides: kdeutils-kgpg = 6:%{version}-%{release} %{?kde_runtime_requires} %{?_kde4:Requires: kdepimlibs%{?_isa} >= %{_kde4_version}} # kgpg (can be either gnupg or gnupg2, we'll default to the latter) Requires: gnupg2 %description KGpg is a simple interface for GnuPG, a powerful encryption utility. %prep %setup -q -n %{name}-%{version} %patch50 -p1 -b .gpg2 %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --with-kde --without-mo %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop %post touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: update-desktop-database -q &> /dev/null ||: %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: update-desktop-database -q &> /dev/null ||: fi %files -f %{name}.lang %doc AUTHORS COPYING %{_kde4_bindir}/kgpg %{_kde4_appsdir}/kgpg/ %{_datadir}/dbus-1/interfaces/org.kde.kgpg.*.xml %{_datadir}/appdata/kgpg.appdata.xml %{_kde4_datadir}/config.kcfg/kgpg.kcfg %{_kde4_datadir}/autostart/kgpg.desktop %{_kde4_iconsdir}/hicolor/*/apps/kgpg.* %{_kde4_datadir}/applications/kde4/kgpg.desktop %{_kde4_datadir}/kde4/services/ServiceMenus/encryptfile.desktop %{_kde4_datadir}/kde4/services/ServiceMenus/encryptfolder.desktop %{_kde4_datadir}/kde4/services/ServiceMenus/viewdecrypted.desktop %changelog * Wed Jun 17 2015 Fedora Release Engineering - 15.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Rex Dieter - 15.04.2-1 - 15.04.2 * Thu May 28 2015 Rex Dieter - 15.04.1-1 - 15.04.1 * Fri Apr 17 2015 Rex Dieter - 15.04.0-1 - 15.04.0 * Sun Mar 01 2015 Rex Dieter - 14.12.3-1 - 14.12.3 * Tue Feb 24 2015 Than Ngo - 14.12.2-1 - 14.12.2 * Sat Jan 17 2015 Rex Dieter - 14.12.1-1 - 14.12.1 * Sun Nov 09 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Fri Aug 01 2014 Rex Dieter 4.13.3-2 - kgpg: missing dependency on oxygen-icon-theme (#1125460) * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sun Jun 08 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sun Mar 23 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Thu Aug 08 2013 Than Ngo - 4.11.0-1 - 4.11.0 * Thu Jul 25 2013 Rex Dieter - 4.10.97-1 - 4.10.97 * Tue Jul 23 2013 Rex Dieter - 4.10.95-1 - 4.10.95 * Fri Jun 28 2013 Rex Dieter - 4.10.90-1 - 4.10.90 * Sat Jun 01 2013 Rex Dieter - 4.10.4-1 - 4.10.4 * Mon May 06 2013 Than Ngo - 4.10.3-1 - 4.10.3 * Mon Apr 01 2013 Rex Dieter - 4.10.2-1 - 4.10.2 * Sat Mar 02 2013 Rex Dieter - 4.10.1-1 - 4.10.1 * Fri Feb 01 2013 Rex Dieter - 4.10.0-1 - 4.10.0 * Tue Jan 22 2013 Rex Dieter - 4.9.98-1 - 4.9.98 * Fri Jan 04 2013 Rex Dieter - 4.9.97-1 - 4.9.97 * Thu Dec 20 2012 Rex Dieter - 4.9.95-1 - 4.9.95 * Tue Dec 04 2012 Rex Dieter - 4.9.90-1 - 4.9.90 * Mon Dec 03 2012 Than Ngo - 4.9.4-1 - 4.9.4 * Sat Nov 03 2012 Rex Dieter - 4.9.3-1 - 4.9.3 * Sat Sep 29 2012 Rex Dieter - 4.9.2-1 - 4.9.2 * Mon Sep 03 2012 Than Ngo - 4.9.1-1 - 4.9.1 * Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 - 4.9.0 * Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jul 12 2012 Rex Dieter - 4.8.97-1 - 4.8.97 * Thu Jun 28 2012 Rex Dieter - 4.8.95-1 - 4.8.95 * Sun Jun 10 2012 Rex Dieter - 4.8.90-1 - 4.8.90 * Sun Jun 03 2012 Jaroslav Reznik - 4.8.80-1 - 4.8.80 * Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 - 4.8.3 * Fri Mar 30 2012 Rex Dieter - 4.8.2-1 - 4.8.2 * Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 - 4.8.1 * Tue Jan 24 2012 Jaroslav Reznik - 4.8.0-2 - respin * Sun Jan 22 2012 Rex Dieter - 4.8.0-1 - 4.8.0 * Wed Jan 04 2012 Rex Dieter - 4.7.97-1 - 4.7.97 * Thu Dec 22 2011 Radek Novacek - 4.7.95-1 - 4.7.95 * Thu Dec 08 2011 Rex Dieter 4.7.90-1 - 4.7.90 * Tue Nov 29 2011 Rex Dieter 4.7.80-2 - improve Summary - fix Source0 url * Sat Nov 26 2011 Rex Dieter 4.7.80-1 - first try