You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.2 KiB

  1. Name: mergerfs
  2. Version: __VERSION__
  3. Release: 1%{?dist}
  4. Summary: A FUSE union filesystem
  5. Group: Applications/System
  6. License: MIT
  7. URL: https://github.com/trapexit/mergerfs
  8. Source: mergerfs-%{version}.tar.gz
  9. BuildRequires: gcc-c++
  10. BuildRequires: libattr-devel
  11. BuildRequires: fuse-devel
  12. # rpmbuild driven by the Makefile uses git to generate a version number
  13. BuildRequires: git
  14. # pandoc pulls in ~60 packages (87M installed) from EPEL :(
  15. BuildRequires: pandoc
  16. Requires: fuse
  17. %prep
  18. %setup -q
  19. %description
  20. mergerfs is similar to mhddfs, unionfs, and aufs. Like mhddfs in that it too
  21. uses FUSE. Like aufs in that it provides multiple policies for how to handle
  22. behavior.
  23. %build
  24. make %{?_smp_mflags}
  25. %install
  26. make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
  27. %files
  28. %{_bindir}/*
  29. %{_sbindir}/*
  30. %doc %{_mandir}/*
  31. %changelog
  32. * Sat Sep 05 2015 Antonio SJ Musumeci <trapexit@spawn.link>
  33. - Include PREFIX to install
  34. * Mon Dec 29 2014 Joe Lawrence <joe.lawrence@stratus.com>
  35. - Tweak rpmbuild to archive current git HEAD into a tarball, then (re)build in
  36. the rpmbuild directory -- more complicated but seemingly better suited to
  37. generate source and debug rpms.
  38. * Fri Jun 20 2014 Joe Lawrence <joe.lawrence@stratus.com>
  39. - Initial rpm spec file.