{"id":23468260,"url":"https://github.com/werrett/rpm-recipes","last_synced_at":"2025-04-12T21:15:33.088Z","repository":{"id":79163639,"uuid":"77439006","full_name":"werrett/rpm-recipes","owner":"werrett","description":"Custom RPM recipes using FPM Cookery","archived":false,"fork":false,"pushed_at":"2016-12-29T11:25:41.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T04:43:53.949Z","etag":null,"topics":["centos","devops","fpm-cookery","rpm"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/werrett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-27T08:27:47.000Z","updated_at":"2017-02-19T16:52:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"84052dec-08a2-405d-8ff6-888b8b61ed8b","html_url":"https://github.com/werrett/rpm-recipes","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/werrett%2Frpm-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werrett%2Frpm-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werrett%2Frpm-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/werrett%2Frpm-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/werrett","download_url":"https://codeload.github.com/werrett/rpm-recipes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631679,"owners_count":21136562,"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":["centos","devops","fpm-cookery","rpm"],"created_at":"2024-12-24T13:50:30.688Z","updated_at":"2025-04-12T21:15:33.066Z","avatar_url":"https://github.com/werrett.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FPM Recipes\n\nVarious recipes to build custom RPMs. It uses\n[FPM](https://github.com/jordansissel/fpm) and [FPM\nCookery](https://github.com/bernd/fpm-cookery) to build RPMs for RHEL-like\nenvironments.\n\nA CentOS build environment is provided using\n[Vagrant](https://www.vagrantup.com/).\n\n## Installation\n\nUse the included `Vagrantfile` to build a CentOS 7 environment with all the\nrequired dependencies. Simply run:\n\n```bash\nvagrant up\nvagrant ssh\n```\n\nHowever, the list of prerequisites for building RPMs with FPM Cookery are:\n\n  * Ruby 2.0 or greater\n  * `git` `zlib` `zlib-devel` `openssl-devel` `readline-devel` RPMs\n  * `fpm-cookery` Ruby Gem\n\n## Building RPMs\n\nThe included RPM build scripts are mounted in the Vagrant VM under `/vagrant`\n\nTo build single RPMs (eg. `Redis`):\n```bash\ncd /vagrant/redis\nfpm-cook clean\nfpm-cook\n```\n\nIf you run into any problems, the partial build files are in the `tmp-build`\ndirectory. Troubleshoot in there and then go through the cook steps above again.\n\nOnce an RPM is built you can examine, install and remove it via:\n```bash\nrpm -qpil pkg/new-package-name.version.rpm\nsudo rpm -ivh pkg/new-package-name.version.rpm\nsudo rpm -ev new-package-name\n```\n\nIncluded in the `scripts` directory are helpers to clean and build all the\ninclude RPMs in one go:\n```bash\ncd /vagrant\n./scripts/clean-all.sh\n./scripts/cook-all.sh\n```\n\n## Creating an new RPM\n\n```bash\ncp -r example new-rpm-name\ncd new-rpm-name\nmv recipe.rb.example recipe.rb\nvim recipe.rb\nvim README.md\n```\n\nThe example `recipe.rb` gives you the basic outline.\n\n## Todo\n\n  * Include Puppet install with Vagrant VM\n  * Include `vboxsf` install with Vagrant VM\n  * Test build dependencies from basic Centos image\n  * Expand `VIM` plugins\n  * Debian-ize recipes and build apt packages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerrett%2Frpm-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwerrett%2Frpm-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwerrett%2Frpm-recipes/lists"}