{"id":19536308,"url":"https://github.com/denezt/build_rpm_default","last_synced_at":"2025-02-26T04:19:43.930Z","repository":{"id":94028021,"uuid":"134944282","full_name":"denezt/build_rpm_default","owner":"denezt","description":"Default Scripts for Building Red Hat Packages using RPMBUILD","archived":false,"fork":false,"pushed_at":"2024-10-05T22:34:53.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T17:58:03.321Z","etag":null,"topics":["devops","pipeline","rpm"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denezt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-26T08:40:02.000Z","updated_at":"2024-10-15T19:49:23.000Z","dependencies_parsed_at":"2024-04-13T21:38:19.007Z","dependency_job_id":"75b7083b-18dd-4564-8125-6fcdaa16e927","html_url":"https://github.com/denezt/build_rpm_default","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/denezt%2Fbuild_rpm_default","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denezt%2Fbuild_rpm_default/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denezt%2Fbuild_rpm_default/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denezt%2Fbuild_rpm_default/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denezt","download_url":"https://codeload.github.com/denezt/build_rpm_default/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240789672,"owners_count":19857883,"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":["devops","pipeline","rpm"],"created_at":"2024-11-11T02:22:10.800Z","updated_at":"2025-02-26T04:19:43.770Z","avatar_url":"https://github.com/denezt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPMBUILD Tools\n## Default Scripts for Building Red Hat Packages using RPMBUILD\n\nPURPOSE:  *Automate the building of RPM Packages.* \u003cbr/\u003e\nOS TYPE:   *Red Hat Linux*\u003cbr/\u003e\nDIFFICULTY: *Advanced*\u003cbr/\u003e\n\n``` bash\n# Run once before starting build process. \n~\u003e ./install_prereqs.sh\n```\n``` bash\n# Display the help menu.\n~\u003e ./create_build_user.sh --help\n```\n``` bash\n# Starts the build process\n~\u003e ./create_build_user.sh --start\n```\nAfter running the _'create_build_user'_ script you can then execute switch user command:\n\n``` bash\n~\u003e su - build\n```\n``` sh\n[build@build-machine ~]$\n```\nNow, you can start the _`rpmbuild`_ process.\n``` sh\n# Builds the Complete RPM source and binaries.\n[build@build-machine ~]$ rpmbuild -ba displaymsg-1.0/displaymsg.spec\n```\n\n### Additional Commands:\n``` bash\n# Installs the package/programs\nrpm -i -v /home/build/rpmbuild/RPMS/x86_64/displaymsg-1.0-1.x86_64.rpm\n```\nOutputs:\n\u003e Preparing packages...\u003cbr/\u003e\n\u003e displaymsg-1.0-1.x86_64\u003cbr/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenezt%2Fbuild_rpm_default","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenezt%2Fbuild_rpm_default","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenezt%2Fbuild_rpm_default/lists"}