Add fedora rpm building
This commit is contained in:
parent
e652e9dbf3
commit
ad32d27ea2
3 changed files with 163 additions and 0 deletions
46
rpm/jinjaturtle.spec
Normal file
46
rpm/jinjaturtle.spec
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
%global upstream_version 0.3.4
|
||||
|
||||
Name: jinjaturtle
|
||||
Version: %{upstream_version}
|
||||
Release: 1%{?dist}.jinjaturtle1
|
||||
Summary: Convert config files into Ansible defaults and Jinja2 templates.
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://git.mig5.net/mig5/jinjaturtle
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-poetry-core
|
||||
|
||||
Requires: python3-yaml
|
||||
Requires: python3-tomli
|
||||
Requires: python3-defusedxml
|
||||
Requires: python3-jinja2
|
||||
|
||||
%description
|
||||
Convert config files into Ansible defaults and Jinja2 templates.
|
||||
|
||||
%prep
|
||||
%autosetup -n jinjaturtle
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files jinjaturtle
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/jinjaturtle
|
||||
|
||||
%changelog
|
||||
* Sat Dec 27 2025 Miguel Jacq <mig@mig5.net> - %{version}-%{release}
|
||||
- Initial RPM packaging for Fedora 42
|
||||
Loading…
Add table
Add a link
Reference in a new issue