Compare commits

...

No commits in common. 'i9ce' and 'epel9' have entirely different histories.
i9ce ... epel9

41
.gitignore vendored

@ -1,2 +1,39 @@
SOURCES/breathe-4.34.0.tar.gz.sig
SOURCES/v4.34.0.tar.gz
/breathe-a423389dfe2935962b3b27586602cfc3521fb54a.tar.gz
/breathe-3375ea3c582e190fa08f5cfbd5eea8d68492ac75.tar.gz
/breathe-3ba9c2046322415ef8933654395c84de896ac7b7.tar.gz
/breathe-5bbf647bb222d1d26351dc4ff808ede03f750705.tar.gz
/breathe-c60e46ef189af6cb3bab918a87236dabfe1ecb53.tar.gz
/v4.7.2.tar.gz
/v4.7.3.tar.gz
/v4.13.0.post0.tar.gz
/v4.13.1.tar.gz
/v4.14.0.tar.gz
/v4.14.1.tar.gz
/v4.14.2.tar.gz
/v4.15.0.tar.gz
/v4.16.0.tar.gz
/v4.18.0.tar.gz
/v4.19.2.tar.gz
/v4.20.0.tar.gz
/v4.21.0.tar.gz
/v4.22.0.tar.gz
/v4.22.1.tar.gz
/v4.23.0.tar.gz
/v4.24.0.tar.gz
/v4.24.1.tar.gz
/v4.25.1.tar.gz
/v4.26.0.tar.gz
/v4.27.0.tar.gz
/v4.29.0.tar.gz
/v4.29.1.tar.gz
/breathe-4.29.1.tar.gz.sig
/breathe-4.30.0.tar.gz.sig
/v4.30.0.tar.gz
/breathe-4.31.0.tar.gz.sig
/v4.31.0.tar.gz
/v4.33.0.tar.gz
/breathe-4.33.0.tar.gz.sig
/v4.33.1.tar.gz
/breathe-4.33.1.tar.gz.sig
/v4.34.0.tar.gz
/breathe-4.34.0.tar.gz.sig

@ -1,2 +0,0 @@
8500fb3fbff9a25fa93673e320b4a3595cb1cf67 SOURCES/breathe-4.34.0.tar.gz.sig
189b555c0b05f5cba2979526dcd50f7c404d54da SOURCES/v4.34.0.tar.gz

@ -1,118 +1,3 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 5;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
%global owner michaeljones
%global srcname breathe
%global _description \
Breathe is an extension to reStructuredText and Sphinx to be able to read and \
render the Doxygen xml output.
Name: python-%{srcname}
Version: 4.34.0
Release: %autorelease
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
License: BSD
URL: https://github.com/%{owner}/%{srcname}
Source0: %{URL}/archive/v%{version}.tar.gz
Source1: %{URL}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.sig
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8aed58021feacdd5f27ba0e6a72f627716ea9d96#./vermware.key
Patch1: rhel_sphinx.patch
BuildArch: noarch
BuildRequires: doxygen >= 1.8.4
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: %{py3_dist six} >= 1.9
%if 0%{?rhel}
BuildRequires: %{py3_dist Sphinx}
%else
# Sphinx>=4.0,<6,!=5.0.0
BuildRequires: ((%{py3_dist Sphinx} >= 4.0 and %{py3_dist Sphinx} < 5.0.0) or (%{py3_dist Sphinx} > 5.0.0 and %{py3_dist Sphinx} < 6))
%endif
BuildRequires: %{py3_dist docutils} >= 0.12
BuildRequires: %{py3_dist Jinja2} >= 2.7.3
BuildRequires: %{py3_dist MarkupSafe} >= 0.23
BuildRequires: %{py3_dist Pygments} >= 1.6
BuildRequires: %{py3_dist pytest}
# NOTE: git is only needed because part of the build process checks if it's in
# a git repo
BuildRequires: git
BuildRequires: make
BuildRequires: gnupg2
# Set the name of the documentation directory
%global _docdir_fmt %{name}
%description %_description
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
Requires: python%{python3_pkgversion}-six
Requires: doxygen >= 1.8.4
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname} %_description
%package doc
Summary: Documentation files for %{srcname}
# tinyxml uses zlib license
License: BSD and zlib
%description doc
This package contains documentation for developer documentation for %{srcname}.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -n %{srcname}-%{version}
%if 0%{?rhel}
%patch1 -p1
%endif
%build
%py3_build
# Build the documentation
%make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
# Remove temporary build files
rm documentation/build/html/.buildinfo
%install
%py3_install
%check
%make_build dev-test
%files -n python%{python3_pkgversion}-%{srcname}
%doc README.rst
%{_bindir}/breathe-apidoc
%{python3_sitelib}/*
%license LICENSE
%files doc
%doc documentation/build/html
%license LICENSE
%changelog
* Thu Feb 01 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4.34.0-5
- Rebuilt for MSVSphere 9.3
* Tue Sep 27 2022 Sérgio M. Basto <sergio@serjux.com> 4.34.0-5
- Fix autogenerated Requires of sphinx on RHEL
* Mon Sep 19 2022 Tom Rix <trix@redhat.com> 4.34.0-4
- Use any version of sphinx on RHEL
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> 4.34.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.30.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
@ -283,4 +168,3 @@ rm documentation/build/html/.buildinfo
* Wed Apr 06 2016 Dave Johansen <davejohansen@gmail.com> - 4.2.0-1
- Initial RPM release

@ -0,0 +1,95 @@
%global owner michaeljones
%global srcname breathe
%global _description \
Breathe is an extension to reStructuredText and Sphinx to be able to read and \
render the Doxygen xml output.
Name: python-%{srcname}
Version: 4.34.0
Release: %autorelease
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
License: BSD
URL: https://github.com/%{owner}/%{srcname}
Source0: %{URL}/archive/v%{version}.tar.gz
Source1: %{URL}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.sig
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8aed58021feacdd5f27ba0e6a72f627716ea9d96#./vermware.key
Patch1: rhel_sphinx.patch
BuildArch: noarch
BuildRequires: doxygen >= 1.8.4
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: %{py3_dist six} >= 1.9
%if 0%{?rhel}
BuildRequires: %{py3_dist Sphinx}
%else
# Sphinx>=4.0,<6,!=5.0.0
BuildRequires: ((%{py3_dist Sphinx} >= 4.0 and %{py3_dist Sphinx} < 5.0.0) or (%{py3_dist Sphinx} > 5.0.0 and %{py3_dist Sphinx} < 6))
%endif
BuildRequires: %{py3_dist docutils} >= 0.12
BuildRequires: %{py3_dist Jinja2} >= 2.7.3
BuildRequires: %{py3_dist MarkupSafe} >= 0.23
BuildRequires: %{py3_dist Pygments} >= 1.6
BuildRequires: %{py3_dist pytest}
# NOTE: git is only needed because part of the build process checks if it's in
# a git repo
BuildRequires: git
BuildRequires: make
BuildRequires: gnupg2
# Set the name of the documentation directory
%global _docdir_fmt %{name}
%description %_description
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
Requires: python%{python3_pkgversion}-six
Requires: doxygen >= 1.8.4
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname} %_description
%package doc
Summary: Documentation files for %{srcname}
# tinyxml uses zlib license
License: BSD and zlib
%description doc
This package contains documentation for developer documentation for %{srcname}.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -n %{srcname}-%{version}
%if 0%{?rhel}
%patch1 -p1
%endif
%build
%py3_build
# Build the documentation
%make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
# Remove temporary build files
rm documentation/build/html/.buildinfo
%install
%py3_install
%check
%make_build dev-test
%files -n python%{python3_pkgversion}-%{srcname}
%doc README.rst
%{_bindir}/breathe-apidoc
%{python3_sitelib}/*
%license LICENSE
%files doc
%doc documentation/build/html
%license LICENSE
%changelog
%autochangelog

@ -0,0 +1,2 @@
SHA512 (v4.34.0.tar.gz) = 7f3134575f1b8c4d7c96ebc735e33f656b5c6046de3fa2aee95d5e895fb33f0a83fb4b1c64dd69b9deca20b785868b42d6b1d5e39741500ff5f9d82bf3f130b4
SHA512 (breathe-4.34.0.tar.gz.sig) = b400b70ebced30c53bea68ff6a14054e0357bfb92d1adc875069c185adc4da3b64a4138627a10e22804aafd920cfcc3519d7697ba226af9fa629639917553587
Loading…
Cancel
Save