wyrmiyu

shake-fs.spec

Oct 6th, 2014
503
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name:           shake-fs
  2. Version:        0.999
  3. Release:        1%{?dist}
  4. Summary:        Defragmenter, that runs in userspace
  5. License:        GPLv3+ or GFDL
  6. URL:            http://www.vleu.net/shake/
  7. Source0:        http://download.savannah.nongnu.org/releases/shake/shake-%{version}.tar.bz2
  8. Patch0:         shake-fs-0.999-fix-dev_t.patch
  9. BuildRequires:  cmake, libattr-devel, help2man
  10.  
  11. %description
  12. Shake is a defragmenter that runs in userspace, without the need of patching
  13. the kernel and while the system is used (for now, on GNU/Linux only).
  14.  
  15. There is nothing magic in that : it just works by rewriting fragmented
  16. files.  But it has some heuristics that could make it more efficient than
  17. other tools, including defrag and, maybe, xfs_fsr.
  18.  
  19. %prep
  20. %setup -q -n shake-fs-%{version}
  21. %patch0 -p1
  22.  
  23. %build
  24. cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
  25. make %{?_smp_mflags}
  26.  
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30.  
  31. %files
  32. %doc GPL.txt doc/FDL.txt NEWS
  33. %{_bindir}/*
  34. %{_mandir}/man8/*
  35.  
  36. %changelog
RAW Paste Data