Changeset View
Changeset View
Standalone View
Standalone View
contrib/rpm/README.md
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
If you would prefer not to build the GUI at all, you can pass the switch | If you would prefer not to build the GUI at all, you can pass the switch | ||||
`-D '_no_gui 1'` to the `rpmbuild` or `mock` build command. | `-D '_no_gui 1'` to the `rpmbuild` or `mock` build command. | ||||
## Desktop and KDE Files | ## Desktop and KDE Files | ||||
The desktop and KDE meta files are created in the spec file itself with the | The desktop and KDE meta files are created in the spec file itself with the | ||||
`cat` command. This is done to allow easy distribution specific changes without | `cat` command. This is done to allow easy distribution specific changes without | ||||
needing to use any patches. A specific time stamp is given to the files so that | needing to use any patches. A specific timestamp is given to the files so that | ||||
it does not they do not appear to have been updated every time the package is | it does not they do not appear to have been updated every time the package is | ||||
built. If you do make changes to them, you probably should update time stamp | built. If you do make changes to them, you probably should update timestamp | ||||
assigned to them in the `touch` command that specifies the time stamp. | assigned to them in the `touch` command that specifies the timestamp. | ||||
## SVG, PNG, and XPM Icons | ## SVG, PNG, and XPM Icons | ||||
The `bitcoin.svg` file is from the source listed as `Source100`. It is used as | The `bitcoin.svg` file is from the source listed as `Source100`. It is used as | ||||
the source for the PNG and XPM files. The generated PNG and XPM files are given | the source for the PNG and XPM files. The generated PNG and XPM files are given | ||||
the same time stamp as the source SVG file as a means of indicating they are | the same timestamp as the source SVG file as a means of indicating they are | ||||
derived from it. | derived from it. | ||||
## Systemd | ## Systemd | ||||
This spec file assumes the target distribution uses systemd. That really only | This spec file assumes the target distribution uses systemd. That really only | ||||
matters for the `bitcoin-server` package. At this point, most RPM based | matters for the `bitcoin-server` package. At this point, most RPM based | ||||
distributions that still receive vendor updates do in fact use systemd. | distributions that still receive vendor updates do in fact use systemd. | ||||
The files to control the service are created in the RPM spec file itself using | The files to control the service are created in the RPM spec file itself using | ||||
the `cat` command. This is done to make it easy to modify for other | the `cat` command. This is done to make it easy to modify for other | ||||
distributions that may implement things differently without needing to patch | distributions that may implement things differently without needing to patch | ||||
source. A specific time stamp is given to the files so that they do not appear | source. A specific timestamp is given to the files so that they do not appear | ||||
to have been updated every time the package is built. If you do make changes to | to have been updated every time the package is built. If you do make changes to | ||||
them, you probably should update the time stamp assigned to them in the `touch` | them, you probably should update the timestamp assigned to them in the `touch` | ||||
command that specifies the time stamp. | command that specifies the timestamp. | ||||
## SELinux | ## SELinux | ||||
The `bitcoin-server` package should have SELinux support. How to properly do | The `bitcoin-server` package should have SELinux support. How to properly do | ||||
that *may* vary by distribution and version of distribution. | that *may* vary by distribution and version of distribution. | ||||
The SELinux stuff in this RPM spec file *should* be correct for CentOS, RHEL, | The SELinux stuff in this RPM spec file *should* be correct for CentOS, RHEL, | ||||
and Fedora but it would be a good idea to review it before building the package | and Fedora but it would be a good idea to review it before building the package | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |