2024-01-05 18:33:53 +01:00
|
|
|
%define pkgname tito
|
|
|
|
Name: tito
|
2024-02-01 11:18:52 +01:00
|
|
|
Version: 0.6.25
|
2024-01-05 18:33:53 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A tool for managing rpm based git projects
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/rpm-software-management/tito
|
|
|
|
Source: https://github.com/rpm-software-management/tito.git/tito-%{version}-1/tito-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: python3.11dist(blessed)
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
A tool for managing rpm based git projects.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/generate-patches.pl
|
|
|
|
%{_bindir}/tito
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%doc AUTHORS COPYING LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-02-01 11:18:52 +01:00
|
|
|
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 0.6.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:33:53 +01:00
|
|
|
* Fri Dec 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.24-1mamba
|
|
|
|
- package created using the webbuild interface
|