sweeper-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: sweeper
  2. Summary: System cleaner 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/applications/utilities/sweeper/
  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. Sweeper helps to clean unwanted traces the user leaves on the system
  19. and to regain disk space removing unused temporary files.
  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. %posttrans
  40. update-desktop-database -q &> /dev/null ||:
  41. %postun
  42. if [ $1 -eq 0 ] ; then
  43. update-desktop-database -q &> /dev/null ||:
  44. fi
  45. %files
  46. %doc COPYING.LIB
  47. %{_bindir}/%{name}
  48. %{_datadir}/applications/kde4/%{name}.desktop
  49. %{_datadir}/dbus-1/interfaces/org.kde.%{name}.xml
  50. %{_datadir}/kde4/apps/%{name}
  51. %{_docdir}/HTML/en/%{name}
  52. %exclude %{_libdir}/libkerfuffle.so
  53. %changelog
  54. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  55. - rebuild with gcc-5.4.0
  56. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  57. - initila build