package created using the webbuild interface [release 0.6.24-1mamba;Fri Dec 29 2023]
This commit is contained in:
parent
a50ac87c66
commit
8f1c19cf48
55
tito.spec
Normal file
55
tito.spec
Normal file
@ -0,0 +1,55 @@
|
||||
%define pkgname tito
|
||||
Name: tito
|
||||
Version: 0.6.24
|
||||
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
|
||||
* Fri Dec 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.24-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user