{"id":16488722,"url":"https://github.com/bts/lein-fpm","last_synced_at":"2025-10-27T20:30:49.163Z","repository":{"id":11920895,"uuid":"14487539","full_name":"bts/lein-fpm","owner":"bts","description":"A Leiningen plugin for building simple packages using fpm","archived":false,"fork":false,"pushed_at":"2015-03-12T16:05:19.000Z","size":302,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T15:21:11.199Z","etag":null,"topics":["clojure","fpm","leiningen","package"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-18T09:13:54.000Z","updated_at":"2017-03-07T18:16:35.000Z","dependencies_parsed_at":"2022-09-10T12:50:23.705Z","dependency_job_id":null,"html_url":"https://github.com/bts/lein-fpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Flein-fpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Flein-fpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Flein-fpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bts%2Flein-fpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bts","download_url":"https://codeload.github.com/bts/lein-fpm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238552950,"owners_count":19491350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojure","fpm","leiningen","package"],"created_at":"2024-10-11T13:39:45.439Z","updated_at":"2025-10-27T20:30:43.814Z","avatar_url":"https://github.com/bts.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lein-fpm\n\nA Leiningen plugin for building simple packages using\n[fpm](https://github.com/jordansissel/fpm).\n\nGenerated packages install a standalone JAR for your project in `/usr/lib`, a\nwrapper shell script in `/usr/bin`, and an upstart script in `/etc/init`.\nlein-fpm assumes that your project can successfully build a functioning\nstandalone jar via `lein uberjar`.\n\n[![Clojars Project](http://clojars.org/lein-fpm/latest-version.svg)](http://clojars.org/lein-fpm)\n\n## Usage\n\n### System-wide install\n\nPut `[lein-fpm \"0.2.3\"]` into the `:plugins` vector of your `:user` profile.\n\n### Per-project install\n\nPut `[lein-fpm \"0.2.3\"]` into the `:plugins` vector of your project.clj.\n\n### Building a package\n\nlein-fpm will produce a deb by default:\n\n    $ lein fpm\n\nor you can supply a specific target type:\n\n    $ lein fpm rpm\n\nThis will produce a package in the `target` directory.\n\n#### Included dependencies\n\nBy default, deb packages will depend on `openjdk-7-jre-headless`, rpm packages\nwill depend on `java-1.7.0-openjdk`, and solaris packages will depend on\n`jdk-7`.\n\n### Using a package\n\nInstall the package using the appropriate package manager, then start the application with upstart:\n\n```bash\n$ sudo start APP-NAME\nAPP-NAME start/running, process 27699\n$ status APP-NAME\nAPP-NAME start/running, process 27699\n$ sudo restart APP-NAME\nAPP-NAME start/running, process 27743\n$ sudo stop APP-NAME\nAPP-NAME stop/waiting\n```\n\n## Caveats\n\nAt the moment, lein-fpm is quite simple and does not yet support configuration\nbeyond the target type. Contributions and feedback are welcome! This project is\na bit of an experimental tool I created in trying to produce the simplest\npackages that will usefully run within [immutable\nservers](http://martinfowler.com/bliki/ImmutableServer.html).\n\n## Dependencies\n\nThis plugin depends on [fpm](https://github.com/jordansissel/fpm), and\n[rpmbuild](http://www.rpm.org/max-rpm-snapshot/rpmbuild.8.html) if you are\ncreating rpms.\n\n## License\n\nCopyright © 2015 Brian Schroeder\n\nDistributed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Flein-fpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbts%2Flein-fpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbts%2Flein-fpm/lists"}