This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/README.md

30 lines
1.3 KiB
Markdown
Raw Normal View History

2020-02-22 17:08:14 +00:00
# [rpmbuild](https://gitea.rknet.org/docker/rpmbuild)
2019-02-09 14:16:04 +00:00
2020-02-22 17:08:14 +00:00
[![Build Status](https://img.shields.io/drone/build/docker/rpmbuild?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/rpmbuild)
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/rpmbuild)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/rpmbuild/src/branch/master/LICENSE)
2019-03-18 12:46:03 +00:00
2020-06-11 12:57:20 +00:00
Simple Docker image based on CentOS 7 to build RPM packages.
2020-02-22 17:08:14 +00:00
2020-06-11 13:41:32 +00:00
## How to use
There are two wrapper scripts around the rpmbuild command you could use:
- `/bin/rpmbuild-official`: This will simply forward your command to the official binary at `/usr/bin/rpmbuild`
- `/bin/rpmbuil`: This is a modified wrapper to prepare the environment before calling rpmbuil
The wrapper `/bin/rpmbuil` will do the following:
- create `$(pwd)/dist`
- create rpmbuild folder structure (`BUILDRPMS|SOURCES|SPECS|SRPMS`) under `$(pwd)/dist`
- sync local patchfiles from `$(pwd)/patch` to `$(pwd)/dist/SOURCES`
- call `/bin/rpmbuil` with the given parameters
2020-02-22 17:08:14 +00:00
## License
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/rpmbuild/src/branch/master/LICENSE) file for details.
## Maintainers and Contributors
[Robert Kaussow](https://gitea.rknet.org/xoxys)