kget-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: kget
  2. Summary: Downloader manager for KDE
  3. Summary(ja): KDE 用ダウンロードマネージャー
  4. Version: 4.14.3
  5. Release: 1%{?_dist_release}
  6. License: GPLv2, LGPLv2
  7. Group: Applications/Internet
  8. URL: http://www.kde.org/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: kdelibs-devel >= %{version}
  13. BuildRequires: kdebase-workspace-devel >= 4.11.6
  14. BuildRequires: kdebase-devel >= %{version}
  15. BuildRequires: nepomuk-core >= %{version}
  16. BuildRequires: nepomuk-core-devel >= %{version}
  17. BuildRequires: nepomuk-widgets-devel >= %{version}
  18. BuildRequires: sqlite3-devel
  19. BuildRequires: qca2-devel
  20. BuildRequires: soprano-devel
  21. BuildRequires: libktorrent-devel
  22. Requires(posttrans,postun): desktop-file-utils
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. kget is the download manager for KDE.
  28. %prep
  29. %setup -q
  30. %build
  31. mkdir -p %{_target_platform}
  32. pushd %{_target_platform}
  33. %cmake \
  34. -DCMAKE_BUILD_TYPE=release \
  35. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  36. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  37. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  38. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  39. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  40. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  41. ..
  42. popd
  43. make %{?_smp_mflags} -C %{_target_platform}
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  51. %posttrans
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  53. update-desktop-database -q &> /dev/null ||:
  54. %postun
  55. if [ $1 -eq 0 ] ; then
  56. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  57. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  58. update-desktop-database -q &> /dev/null ||:
  59. fi
  60. %files
  61. %defattr(-,root,root)
  62. %doc AUTHORS COPYING COPYING.DOC COPYING.LIB
  63. %{_bindir}/%{name}
  64. %{_libdir}/libkgetcore.so*
  65. %{_libdir}/kde4/*.so
  66. %{_datadir}/applications/kde4/%{name}.desktop
  67. %{_datadir}/config.kcfg/*
  68. %{_datadir}/dbus-1/services/org.kde.%{name}.service
  69. %{_datadir}/icons/hicolor/*/*/*
  70. %{_datadir}/kde4/apps/dolphinpart/kpartplugins/kget_plug_in.*
  71. %{_datadir}/kde4/apps/kconf_update/*
  72. %{_datadir}/kde4/apps/%{name}
  73. %{_datadir}/kde4/apps/khtml/kpartplugins/kget_plug_in.*
  74. %{_datadir}/kde4/apps/kwebkitpart/kpartplugins/kget_plug_in.*
  75. %{_datadir}/kde4/services/ServiceMenus/kget_download.desktop
  76. %{_datadir}/kde4/services/*.desktop
  77. %{_datadir}/kde4/servicetypes/kget_plugin.desktop
  78. %{_datadir}/ontology/kde/kget_history.*
  79. %{_docdir}/HTML/en/*
  80. %changelog
  81. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  82. - new upstream release
  83. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  84. - new upstream release
  85. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  86. - new upstream release
  87. * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  88. - new upstream release
  89. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  90. - initial build