Skip to content
Jun Jie Nan edited this page Jul 30, 2016 · 12 revisions
  1. Create a package from Git source

    • Example:
    fpm -s git -t deb -v branch path/to/git/repo
    
  2. Create a package from rpm spec file

    • Example:
    fpm -s spec -t rpm mypackage.spec mypackage.rpm
    
  3. Output spec file or srpm

    • Example:
    fpm -s python -t srpm attic  
    fpm -s python -t rpm --write-spec attic
    
  4. Create a package file from luarocks

    • Example:
    fpm -s luarock -t deb rockname
    
  5. Create a package file from homebrew

    • Example:
    fpm -s homebrew -t osxpkg rockname