Font RPM Spec Generator
This tool generates RPM specfile for a given font.
setup & use
$ pip3 install build
$ python3 -m build
$ pip3 install --user dist/fontrpmspec*.whl
usage
fontrpmspec-gen
usage: fontrpmspec-gen [-h] [-f JSON_FILE] [-l LICENSE] [-o OUTPUT]
[--outputdir OUTPUTDIR] [--sourcedir SOURCEDIR]
[-s SOURCE] [-c CHANGELOG] [--email EMAIL]
[--username USERNAME] [--summary SUMMARY]
[--description DESCRIPTION]
[--common-description COMMON_DESCRIPTION] [-a ALIAS]
[--lang [LANG ...]] [--priority PRIORITY]
[--vf-priority VF_PRIORITY] [--foundry FOUNDRY]
[-e EXCLUDEPATH] [--rpmautospec | --no-rpmautospec]
[--autorelease-opt AUTORELEASE_OPT]
[--ignore-error [IGNORE_ERROR ...]]
NAME [VERSION] URL
Fonts RPM spec file generator against guidelines
positional arguments:
NAME Package name
VERSION Package version (default: None)
URL Project URL
options:
-h, --help show this help message and exit
-f, --json-file JSON_FILE
Config file written in JSON (default: None)
-l, --license LICENSE
License name of this project (default: OFL-1.1)
-o, --output OUTPUT Output file (default: -)
--outputdir OUTPUTDIR
Output directory (default: .)
--sourcedir SOURCEDIR
Source directory (default: .)
-s, --source SOURCE Source file (default: None)
-c, --changelog CHANGELOG
Changelog entry (default: Initial import)
--email EMAIL email address to put into changelog (default:
tagoh@redhat.com)
--username USERNAME Real user name to put into changelog (default: Akira
TAGOH)
--summary SUMMARY Summary text for package (default: {family}, {alias}
typeface {type} font)
--description DESCRIPTION
Package description (default: This package contains
{family} which is a {alias} typeface of {type} font.)
--common-description COMMON_DESCRIPTION
Common package description. this is only used when
generating multi packages. (default: None)
-a, --alias ALIAS Set an alias name for family, such as sans-serif,
serif, monospace (default: auto)
--lang [LANG ...] Targetted language for a font (default: None)
--priority PRIORITY Number of Fontconfig config priority (default: 69)
--vf-priority VF_PRIORITY
Number of Fontconfig config priority for variable font
(default: 68)
--foundry FOUNDRY Use this as foundry name instead of figuring out from
a font (default: None)
-e, --excludepath EXCLUDEPATH
Exclude path from source archives (default: None)
--rpmautospec, --no-rpmautospec
Use rpmautospec. (default: True)
--autorelease-opt AUTORELEASE_OPT
Extra arguments to %autorelease. (default: None)
--ignore-error [IGNORE_ERROR ...]
Deal with the specific error as warning (default:
None)
fontrpmspec-conv
usage: fontrpmspec-conv [-h] [--foundry FOUNDRY] [--sourcedir SOURCEDIR]
[-o OUTPUT] [--ignore-error [IGNORE_ERROR ...]]
SPEC
Fonts RPM spec file converter against guidelines
positional arguments:
SPEC Spec file to convert
options:
-h, --help show this help message and exit
--foundry FOUNDRY Use this as foundry name instead of figuring out from
a font. (default: None)
--sourcedir SOURCEDIR
Source directory (default: .)
-o, --output OUTPUT Output file (default: -)
--ignore-error [IGNORE_ERROR ...]
Deal with the specific error as warning (default:
None)
Note:
- You may need to update
BuildRequiressection as per your font requiremnts in your spec. - Also update the
%buildsection if your font uses some other build process.
fontrpmspec-gentmt
usage: fontrpmspec-gentmt [-h] [--extra-buildopts EXTRA_BUILDOPTS] [-a] [-l [FILE]]
[-s] [-O OUTPUTDIR] [-v]
REPO
TMT plan generator
positional arguments:
REPO Package repository path
options:
-h, --help show this help message and exit
--extra-buildopts EXTRA_BUILDOPTS
Extra buildopts to build package (default: None)
-a, --add-prepare Add prepare section for local testing (default: False)
-l, --local [FILE] Generate a fmf file for local testing. `fedpkg local`
must be run before `tmt run` (default: False)
-s, --single-plan Generate single plan with list file (default: False)
-O, --outputdir OUTPUTDIR
Output directory (default: None)
-v, --verbose Show more detailed logs (default: False)
Happy Packaging :)
Metadata
Release files for fontrpmspec 0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fontrpmspec-0.19.tar.gz | 38.9 kB | With provenance | Details for fontrpmspec-0.19.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fontrpmspec-0.19-py3-none-any.whl | Python 3 | none | any | Details for fontrpmspec-0.19-py3-none-any.whl |
Total release size: 84.3 kB
Release files / fontrpmspec-0.19.tar.gz
| Download URL | fontrpmspec-0.19.tar.gz |
|---|---|
| Size | 38.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1196d0f02cb9b0dd1605e3ee2f01038247c7d9c93645e531c5a77e6dd660585
|
|
BLAKE2b-256 checksum How to use checksums |
89d3f7a5afdf20c9f225554efd97fb8a0f79f842709e830706fe55956282b429
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2025.
Transparency logRelease files / fontrpmspec-0.19-py3-none-any.whl
| Download URL | fontrpmspec-0.19-py3-none-any.whl |
|---|---|
| Size | 45.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49897eb18dc924090061ccd358435c60bfba23877d08f54d3e7a985854a5529a
|
|
BLAKE2b-256 checksum How to use checksums |
f333ddc4e367dd27c7f83b5466c589ccee1deb45c10e7f2e3bdcf7e0d51187d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2025.
Transparency logSecurity for fontrpmspec 0.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fontrpmspec-0.19.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.