ark-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: ark
  2. Summary: An archiver manager for KDE
  3. Summary(ja): KDE用アーカイブマネージャ
  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: kdebase-devel >= %{version}
  13. BuildRequires: libarchive-devel
  14. BuildRequires: xz-devel
  15. BuildRequires: qjson-devel
  16. BuildRequires: soprano-devel
  17. # when split occurred
  18. Conflicts: kdeutils < 4.8.0
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. Ark is a program for viewing, extracting, creating and modifying archives.
  23. %prep
  24. %setup -q
  25. %build
  26. mkdir -p %{_target_platform}
  27. pushd %{_target_platform}
  28. %cmake \
  29. -DCMAKE_BUILD_TYPE=release \
  30. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  31. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  32. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  33. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  34. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  35. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  36. ..
  37. popd
  38. make %{?_smp_mflags} -C %{_target_platform}
  39. %install
  40. rm -rf %{buildroot}
  41. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  42. %post
  43. /sbin/ldconfig
  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. /sbin/ldconfig
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  53. update-desktop-database -q &> /dev/null ||:
  54. fi
  55. %files
  56. %doc COPYING COPYING.icons
  57. %{_bindir}/%{name}
  58. %{_libdir}/kde4/*.so
  59. %{_libdir}/libkerfuffle.so.*
  60. %{_datadir}/appdata/%{name}.appdata.xml
  61. %{_datadir}/applications/kde4/%{name}.desktop
  62. %{_datadir}/config.kcfg/%{name}.kcfg
  63. %{_datadir}/icons/hicolor/*/*/*
  64. %{_datadir}/kde4/apps/%{name}
  65. %{_datadir}/kde4/services/*.desktop
  66. %{_datadir}/kde4/services/ServiceMenus/*.desktop
  67. %{_datadir}/kde4/servicetypes/*.desktop
  68. %{_docdir}/HTML/en/%{name}
  69. %{_mandir}/man1/%{name}.1.gz
  70. %exclude %{_libdir}/libkerfuffle.so
  71. %changelog
  72. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  73. - rebuild with gcc-5.4.0
  74. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  75. - initila build