source renamed from gi-docgen to python-gi-docgen; obsolete gi-docgen-py310 [release 2023.3-2mamba;Tue Mar 26 2024]
This commit is contained in:
parent
f354d2027c
commit
43717a6e74
@ -1,2 +1,4 @@
|
||||
# python-gi-docgen
|
||||
|
||||
Documentation tool for GObject-based libraries.
|
||||
|
||||
|
84
python-gi-docgen.spec
Normal file
84
python-gi-docgen.spec
Normal file
@ -0,0 +1,84 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2-)
|
||||
Name: python-gi-docgen
|
||||
Version: 2023.3
|
||||
Release: 2mamba
|
||||
Summary: Documentation tool for GObject-based libraries
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://gitlab.gnome.org/GNOME/gi-docgen
|
||||
Source: https://pypi.debian.net/gi-docgen/gi-docgen-%{version}.tar.gz
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython311-devel
|
||||
BuildRequires: python3.11dist(jinja2)
|
||||
BuildRequires: python3.11dist(markdown)
|
||||
BuildRequires: python3.11dist(markupsafe)
|
||||
BuildRequires: python3.11dist(packaging)
|
||||
BuildRequires: python3.11dist(pygments)
|
||||
BuildRequires: python3.11dist(setuptools)
|
||||
BuildRequires: python3.11dist(typogrify)
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python3-devel >= 3.11.5-3mamba
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%define py_requires_append \
|
||||
Provides: gi-docgen \
|
||||
Obsoletes: gi-docgen-py3 < 2023.3-2mamba \
|
||||
Obsoletes: gi-docgen-py310 < 2023.3-2mamba
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n gi-docgen-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/gi_docgen-%{version}-py*.egg-info
|
||||
%{python_sitearch}/gi_docgen-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2023.3-2mamba
|
||||
- source renamed from gi-docgen to python-gi-docgen; obsolete gi-docgen-py310
|
||||
|
||||
* Sat Nov 25 2023 Automatic Build System <autodist@mambasoft.it> 2023.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Nov 25 2023 Automatic Build System <autodist@mambasoft.it> 2023.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Sep 29 2023 Automatic Build System <autodist@mambasoft.it> 2023.1-2mamba
|
||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||
|
||||
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 2023.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Nov 09 2022 Automatic Build System <autodist@mambasoft.it> 2022.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 13 2022 Automatic Build System <autodist@mambasoft.it> 2022.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 15 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.8-2mamba
|
||||
- gi-docgen-py3: provide gi-docgen
|
||||
|
||||
* Tue Dec 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.8-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user