kgpg-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: kgpg
  2. Summary: A simple graphical interface for GnuPG
  3. Summary(ja): KDE用 GnuPG グラフィックインターフェース
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: https://www.kde.org/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: kdepimlibs-devel
  13. BuildRequires: soprano-devel
  14. BuildRequires: gpgme-devel
  15. # when split occurred
  16. Conflicts: kdeutils < 4.8.0
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Kgpg is a simple interface for GnuPG, a powerful encryption utility.
  21. GnuPG (also known as gpg) is included in most distributions and should
  22. be installed on your system. You can get the latest version on
  23. http://gnupg.org.
  24. %prep
  25. %setup -q
  26. %build
  27. mkdir -p %{_target_platform}
  28. pushd %{_target_platform}
  29. %cmake \
  30. -DCMAKE_BUILD_TYPE=release \
  31. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  32. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  33. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  34. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  35. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  36. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  37. ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf %{buildroot}
  42. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  43. %post
  44. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  45. %posttrans
  46. update-desktop-database -q &> /dev/null ||:
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  48. %postun
  49. if [ $1 -eq 0 ] ; then
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  52. update-desktop-database -q &> /dev/null ||:
  53. fi
  54. %files
  55. %doc COPYING
  56. %{_bindir}/%{name}
  57. %{_datadir}/appdata/%{name}.appdata.xml
  58. %{_datadir}/applications/kde4/%{name}.desktop
  59. %{_datadir}/autostart/%{name}.desktop
  60. %{_datadir}/config.kcfg/%{name}.kcfg
  61. %{_datadir}/dbus-1/interfaces/org.kde.%{name}.Key.xml
  62. %{_datadir}/icons/hicolor/*/*/*
  63. %{_datadir}/kde4/apps/%{name}
  64. %{_datadir}/kde4/services/ServiceMenus/*.desktop
  65. %{_docdir}/HTML/en/%{name}
  66. %changelog
  67. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  68. - rebuild with gcc-5.4.0
  69. * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  70. - initila build