| Name | fontrpmspec JSON |
| Version |
0.19
JSON |
| download |
| home_page | None |
| Summary | Font packaging library in Fedora |
| upload_time | 2025-11-04 03:20:39 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.11 |
| license | None |
| keywords |
fedora
fonts
packaging
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# Font RPM Spec Generator
[](https://pypi.org/project/fontrpmspec/)
[](https://github.com/fedora-i18n/font-rpm-spec-generator/tags)
[](./LICENSE)
This tool generates RPM [specfile](https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/) 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 `BuildRequires` section as per your font requiremnts in your spec.
- Also update the `%build` section 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 :)
Raw data
{
"_id": null,
"home_page": null,
"name": "fontrpmspec",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "fedora, fonts, packaging",
"author": null,
"author_email": "Fedora I18N team <i18n@lists.fedoraproject.org>",
"download_url": "https://files.pythonhosted.org/packages/89/d3/f7a5afdf20c9f225554efd97fb8a0f79f842709e830706fe55956282b429/fontrpmspec-0.19.tar.gz",
"platform": null,
"description": "# Font RPM Spec Generator\n[](https://pypi.org/project/fontrpmspec/)\n[](https://github.com/fedora-i18n/font-rpm-spec-generator/tags)\n[](./LICENSE)\n\nThis tool generates RPM [specfile](https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/) for a given font.\n\n## setup & use\n```\n$ pip3 install build\n$ python3 -m build\n$ pip3 install --user dist/fontrpmspec*.whl\n```\n\n## usage\n\n### fontrpmspec-gen\n```\nusage: fontrpmspec-gen [-h] [-f JSON_FILE] [-l LICENSE] [-o OUTPUT]\n [--outputdir OUTPUTDIR] [--sourcedir SOURCEDIR]\n [-s SOURCE] [-c CHANGELOG] [--email EMAIL]\n [--username USERNAME] [--summary SUMMARY]\n [--description DESCRIPTION]\n [--common-description COMMON_DESCRIPTION] [-a ALIAS]\n [--lang [LANG ...]] [--priority PRIORITY]\n [--vf-priority VF_PRIORITY] [--foundry FOUNDRY]\n [-e EXCLUDEPATH] [--rpmautospec | --no-rpmautospec]\n [--autorelease-opt AUTORELEASE_OPT]\n [--ignore-error [IGNORE_ERROR ...]]\n NAME [VERSION] URL\n\nFonts RPM spec file generator against guidelines\n\npositional arguments:\n NAME Package name\n VERSION Package version (default: None)\n URL Project URL\n\noptions:\n -h, --help show this help message and exit\n -f, --json-file JSON_FILE\n Config file written in JSON (default: None)\n -l, --license LICENSE\n License name of this project (default: OFL-1.1)\n -o, --output OUTPUT Output file (default: -)\n --outputdir OUTPUTDIR\n Output directory (default: .)\n --sourcedir SOURCEDIR\n Source directory (default: .)\n -s, --source SOURCE Source file (default: None)\n -c, --changelog CHANGELOG\n Changelog entry (default: Initial import)\n --email EMAIL email address to put into changelog (default:\n tagoh@redhat.com)\n --username USERNAME Real user name to put into changelog (default: Akira\n TAGOH)\n --summary SUMMARY Summary text for package (default: {family}, {alias}\n typeface {type} font)\n --description DESCRIPTION\n Package description (default: This package contains\n {family} which is a {alias} typeface of {type} font.)\n --common-description COMMON_DESCRIPTION\n Common package description. this is only used when\n generating multi packages. (default: None)\n -a, --alias ALIAS Set an alias name for family, such as sans-serif,\n serif, monospace (default: auto)\n --lang [LANG ...] Targetted language for a font (default: None)\n --priority PRIORITY Number of Fontconfig config priority (default: 69)\n --vf-priority VF_PRIORITY\n Number of Fontconfig config priority for variable font\n (default: 68)\n --foundry FOUNDRY Use this as foundry name instead of figuring out from\n a font (default: None)\n -e, --excludepath EXCLUDEPATH\n Exclude path from source archives (default: None)\n --rpmautospec, --no-rpmautospec\n Use rpmautospec. (default: True)\n --autorelease-opt AUTORELEASE_OPT\n Extra arguments to %autorelease. (default: None)\n --ignore-error [IGNORE_ERROR ...]\n Deal with the specific error as warning (default:\n None)\n```\n\n### fontrpmspec-conv\n```\nusage: fontrpmspec-conv [-h] [--foundry FOUNDRY] [--sourcedir SOURCEDIR]\n [-o OUTPUT] [--ignore-error [IGNORE_ERROR ...]]\n SPEC\n\nFonts RPM spec file converter against guidelines\n\npositional arguments:\n SPEC Spec file to convert\n\noptions:\n -h, --help show this help message and exit\n --foundry FOUNDRY Use this as foundry name instead of figuring out from\n a font. (default: None)\n --sourcedir SOURCEDIR\n Source directory (default: .)\n -o, --output OUTPUT Output file (default: -)\n --ignore-error [IGNORE_ERROR ...]\n Deal with the specific error as warning (default:\n None)\n```\n\nNote:\n- You may need to update `BuildRequires` section as per your font requiremnts in your spec.\n- Also update the `%build` section if your font uses some other build process.\n\n### fontrpmspec-gentmt\n```\nusage: fontrpmspec-gentmt [-h] [--extra-buildopts EXTRA_BUILDOPTS] [-a] [-l [FILE]]\n [-s] [-O OUTPUTDIR] [-v]\n REPO\n\nTMT plan generator\n\npositional arguments:\n REPO Package repository path\n\noptions:\n -h, --help show this help message and exit\n --extra-buildopts EXTRA_BUILDOPTS\n Extra buildopts to build package (default: None)\n -a, --add-prepare Add prepare section for local testing (default: False)\n -l, --local [FILE] Generate a fmf file for local testing. `fedpkg local`\n must be run before `tmt run` (default: False)\n -s, --single-plan Generate single plan with list file (default: False)\n -O, --outputdir OUTPUTDIR\n Output directory (default: None)\n -v, --verbose Show more detailed logs (default: False)\n```\n\nHappy Packaging :)\n",
"bugtrack_url": null,
"license": null,
"summary": "Font packaging library in Fedora",
"version": "0.19",
"project_urls": {
"Bug Tracker": "https://github.com/fedora-i18n/font-rpm-spec-generator/issues",
"Homepage": "https://github.com/fedora-i18n/font-rpm-spec-generator"
},
"split_keywords": [
"fedora",
" fonts",
" packaging"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f333ddc4e367dd27c7f83b5466c589ccee1deb45c10e7f2e3bdcf7e0d51187d1",
"md5": "f07512b631ef8a0643e7fa4d9f710eef",
"sha256": "49897eb18dc924090061ccd358435c60bfba23877d08f54d3e7a985854a5529a"
},
"downloads": -1,
"filename": "fontrpmspec-0.19-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f07512b631ef8a0643e7fa4d9f710eef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 45354,
"upload_time": "2025-11-04T03:20:38",
"upload_time_iso_8601": "2025-11-04T03:20:38.302723Z",
"url": "https://files.pythonhosted.org/packages/f3/33/ddc4e367dd27c7f83b5466c589ccee1deb45c10e7f2e3bdcf7e0d51187d1/fontrpmspec-0.19-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "89d3f7a5afdf20c9f225554efd97fb8a0f79f842709e830706fe55956282b429",
"md5": "9ecdbc9b49f4fb9ef6e817fe9ac04ee0",
"sha256": "f1196d0f02cb9b0dd1605e3ee2f01038247c7d9c93645e531c5a77e6dd660585"
},
"downloads": -1,
"filename": "fontrpmspec-0.19.tar.gz",
"has_sig": false,
"md5_digest": "9ecdbc9b49f4fb9ef6e817fe9ac04ee0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 38941,
"upload_time": "2025-11-04T03:20:39",
"upload_time_iso_8601": "2025-11-04T03:20:39.802212Z",
"url": "https://files.pythonhosted.org/packages/89/d3/f7a5afdf20c9f225554efd97fb8a0f79f842709e830706fe55956282b429/fontrpmspec-0.19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-11-04 03:20:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fedora-i18n",
"github_project": "font-rpm-spec-generator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fontrpmspec"
}