Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions comps/comps-foreman-plugins-el9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
<packagereq type="default">rubygem-ruby-nmap</packagereq>
<packagereq type="default">rubygem-sentry-raven</packagereq>
<packagereq type="default">rubygem-smart_proxy_ansible</packagereq>
<packagereq type="default">rubygem-smart_proxy_ansible_director</packagereq>
<packagereq type="default">rubygem-smart_proxy_container_gateway</packagereq>
<packagereq type="default">rubygem-smart_proxy_dhcp_bluecat</packagereq>
<packagereq type="default">rubygem-smart_proxy_dhcp_device42</packagereq>
Expand Down Expand Up @@ -370,6 +371,7 @@
<packagereq type="default">rubygem-ruby-nmap-doc</packagereq>
<packagereq type="default">rubygem-sentry-raven-doc</packagereq>
<packagereq type="default">rubygem-smart_proxy_ansible-doc</packagereq>
<packagereq type="default">rubygem-smart_proxy_ansible_director-doc</packagereq>
<packagereq type="default">rubygem-smart_proxy_container_gateway-doc</packagereq>
<packagereq type="default">rubygem-smart_proxy_dhcp_bluecat-doc</packagereq>
<packagereq type="default">rubygem-smart_proxy_dhcp_device42-doc</packagereq>
Expand Down
4 changes: 4 additions & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,9 @@ katello_packages:
katello_ruby_packages: {}
katello_hammer_packages: {}
hosts:
python-ansible-navigator: {}
python-onigurumacffi: {}
python-tzdata: {}
rubygem-foreman_kernel_care: {}
rubygem-foreman_rh_cloud: {}
rubygem-foreman_scc_manager: {}
Expand Down Expand Up @@ -708,6 +711,7 @@ foreman_plugin_packages_tier2:
rubygem-llhttp: {}
rubygem-opennebula: {}
rubygem-puppetdb_foreman: {}
rubygem-smart_proxy_ansible_director: {}
rubygem-treetop: {}

fdi_plugin_packages:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
%global python3_pkgversion 3.12
%global __python3 /usr/bin/python3.12

%global pypi_name ansible-navigator

Name: python%{python3_pkgversion}-%{pypi_name}
Version: 25.9.0
Release: 2%{?dist}
Summary: A text-based user interface (TUI) for Ansible

License: Apache-2.0
URL: https://github.com/ansible/ansible-navigator/
Source0: https://files.pythonhosted.org/packages/06/fa/caa4ca091c0e4d5d9afa1da859e5f87fa3ddd1e35142d19e5a5eafffacd5/ansible_navigator-%{version}.tar.gz
BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pbr
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools-scm
BuildRequires: python%{python3_pkgversion}-wheel
BuildRequires: pyproject-rpm-macros

Requires: podman
Requires: python%{python3_pkgversion}-PyYAML
Requires: python%{python3_pkgversion}-bindep
Requires: python%{python3_pkgversion}-requirements-parser
Requires: python%{python3_pkgversion}-setuptools

%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}

Provides: %{pypi_name}
Obsoletes: python3.11-%{pypi_name} < %{version}-%{release}

%description
%{summary}

%prep
set -ex
%autosetup -n ansible_navigator-%{version}

%build
set -ex
%pyproject_wheel


%install
set -ex
%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
%{_bindir}/ansible-navigator
%{python3_sitelib}/ansible_navigator
%{python3_sitelib}/ansible_navigator-%{version}.dist-info/

%changelog
* Wed Nov 12 2025 Maximilian Kolb <kolb@atix.de> - 25.9.0-2
- Ensure podman is installed automatically

* Fri Nov 07 2025 Maximilian Kolb <kolb@atix.de> - 25.9.0-1
- Release ansible-navigator 25.9.0
61 changes: 61 additions & 0 deletions packages/katello/python-onigurumacffi/python-onigurumacffi.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
%global python3_pkgversion 3.12
%global __python3 /usr/bin/python3.12

%bcond tests 0

Name: python-onigurumacffi
Version: 1.3.0
Release: 1%{?dist}
Summary: Python cffi bindings for the Oniguruma regex engine

License: MIT
URL: https://github.com/asottile/onigurumacffi
Source: %{url}/archive/v%{version}/onigurumacffi-%{version}.tar.gz

BuildRequires: gcc
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3.12-cffi
BuildRequires: python3.12-wheel
Buildrequires: pkgconfig(oniguruma)

%if %{with tests}
BuildRequires: python3dist(pytest)
%endif

%global _description %{expand:
onigurumacffi provides Python cffi bindings for the Oniguruma regex engine.}

%description %{_description}

%package -n python3-onigurumacffi
Summary: %{summary}

%description -n python3-onigurumacffi %{_description}

%prep
%autosetup -n onigurumacffi-%{version} -p1

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files -l onigurumacffi

%check
%pyproject_check_import
%if %{with tests}
%pytest
%endif

%files -n python3-onigurumacffi -f %{pyproject_files}
%doc README.md
%{python3_sitearch}/_onigurumacffi.abi3.so

%changelog
* Mon Nov 10 2025 Maximilian Kolb <kolb@atix.de> - 1.3.0-1
- Release python-onigurumacffi 1.3.0
49 changes: 49 additions & 0 deletions packages/katello/python-tzdata/python-tzdata.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
%global python3_pkgversion 3.12
%global __python3 /usr/bin/python3.12

%global pypi_name tzdata

Name: python%{python3_pkgversion}-%{pypi_name}
Version: 2025.2
Release: 1%{?dist}
Summary: Provider of IANA time zone data

License: Apache-2.0
URL: https://github.com/python/tzdata
Source0: https://files.pythonhosted.org/packages/95/32/1a225d6164441be760d75c2c42e2780dc0873fe382da3e98a2e1e48361e5/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch

BuildRequires: pyproject-rpm-macros
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools-scm
BuildRequires: python%{python3_pkgversion}-wheel

%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}

Provides: %{pypi_name}

%description
%{summary}

%prep
set -ex
%autosetup -n %{pypi_name}-%{version}

%build
set -ex
%pyproject_wheel

%install
set -ex
%pyproject_install

%files -n python%{python3_pkgversion}-%{pypi_name}
# %%{_bindir}/tzdata
%{python3_sitelib}/tzdata
%{python3_sitelib}/tzdata-%{version}.dist-info/

%changelog
* Mon Nov 10 2025 Maximilian Kolb <kolb@atix.de> - 2025.2-1
- Release python-tzdata 2025.2
1 change: 1 addition & 0 deletions packages/katello/python-tzdata/tzdata-2025.2.tar.gz
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# template: foreman_plugin
%global gem_name smart_proxy_ansible_director
%global plugin_name smart_proxy_ansible_director
%global foreman_min_version FIXME

Name: rubygem-%{gem_name}
Version: 0.2.0
Release: 1%{?foremandist}%{?dist}
Summary: Smart Proxy plugin to integrate Ansible Director with Foreman
License: GPL-3.0-only
URL: https://github.com/ATIX-AG/smart_proxy_ansible_director
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem

# start specfile generated dependencies
Requires: foreman >= %{foreman_min_version}
BuildRequires: foreman-plugin >= %{foreman_min_version}
Requires: ruby >= 3.0
Requires: ruby < 4
BuildRequires: ruby >= 3.0
BuildRequires: ruby < 4
BuildRequires: rubygems-devel
BuildArch: noarch
Provides: foreman-plugin-%{plugin_name} = %{version}
# end specfile generated dependencies

%description
This plugin adds support for the Ansible Director to Foreman's Smart Proxy.


%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch

%description doc
Documentation for %{name}.

%prep
%setup -q -n %{gem_name}-%{version}

%build
# Create the gem as gem install only works on a gem file
gem build ../%{gem_name}-%{version}.gemspec

# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
# by default, so that we can move it into the buildroot in %%install
%gem_install

%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/

%foreman_bundlerd_file

%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE
%{gem_instdir}/bundler.d
%{gem_libdir}
%{gem_instdir}/settings.d
%exclude %{gem_cache}
%{gem_spec}
%{foreman_bundlerd_plugin}

%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md

%posttrans
%{foreman_plugin_log}

%changelog
* Wed Feb 11 2026 Nadja Heitmann <nadjah@atix.de> 0.2.0-1
- Add rubygem-smart_proxy_ansible_director generated by gem2rpm using the foreman_plugin template