filelight-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: filelight
  2. Summary: Graphical disk usage viewer
  3. Summary(ja): ディスク使用状況ビューアー
  4. Version: 4.14.3
  5. Release: 1%{?_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: soprano-devel
  13. # when split occurred
  14. Conflicts: kdeutils < 4.8.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Filelight creates an interactive map of concentric segmented-rings
  19. that helps visualize disk usage on your computer.
  20. %prep
  21. %setup -q
  22. %build
  23. mkdir -p %{_target_platform}
  24. pushd %{_target_platform}
  25. %cmake \
  26. -DCMAKE_BUILD_TYPE=release \
  27. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  28. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  29. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  30. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  31. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  32. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  33. ..
  34. popd
  35. make %{?_smp_mflags} -C %{_target_platform}
  36. %install
  37. rm -rf %{buildroot}
  38. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  39. %post
  40. /sbin/ldconfig
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  42. %posttrans
  43. update-desktop-database -q &> /dev/null ||:
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  45. %postun
  46. if [ $1 -eq 0 ] ; then
  47. /sbin/ldconfig
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  50. update-desktop-database -q &> /dev/null ||:
  51. fi
  52. %files
  53. %doc COPYING COPYING-DOCS ChangeLog NEWS README
  54. %{_bindir}/%{name}
  55. %{_libdir}/kde4/*.so
  56. %{_datadir}/applications/kde4/%{name}.desktop
  57. %{_datadir}/config/%{name}rc
  58. %{_datadir}/icons/hicolor/*/*/*
  59. %{_datadir}/kde4/apps/%{name}
  60. %{_datadir}/kde4/apps/%{name}part
  61. %{_datadir}/kde4/services/*.desktop
  62. %{_docdir}/HTML/en/%{name}
  63. %changelog
  64. * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  65. - initila build