public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-linuxdoc] f45: init
@ 2026-11-10 22:21 Ankur Sinha
0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-11-10 22:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-linuxdoc
Branch : f45
Commit : cf030dafee0315b8bcd08c25617356de39b5581f
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date : 2023-03-25T12:21:16+05:30
Stats : +53/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-linuxdoc/c/cf030dafee0315b8bcd08c25617356de39b5581f?branch=f45
Log:
init
---
diff --git a/python-linuxdoc.spec b/python-linuxdoc.spec
new file mode 100644
index 0000000..da18e20
--- /dev/null
+++ b/python-linuxdoc.spec
@@ -0,0 +1,53 @@
+%global _description %{expand:
+The LinuxDoc library contains Sphinx-doc extensions and command line tools to
+extract documentation from C/C++ source file comments. Even if this project
+started in context of the Linux-Kernel documentation, you can use these
+extensions in common Sphinx-doc projects.}
+
+Name: python-linuxdoc
+Version: 20221127
+Release: %{autorelease}
+Summary: Sphinx-doc extensions for sophisticated C developer
+
+
+License: GPLv2
+URL: https://return42.github.io/linuxdoc/
+Source0: %{pypi_source linuxdoc}
+
+BuildArch: noarch
+
+%description %_description
+
+%package -n python3-linuxdoc
+Summary: %{summary}
+BuildRequires: python3-devel
+
+%description -n python3-linuxdoc %_description
+
+%prep
+%autosetup -n linuxdoc-%{version}
+
+# Comment out to remove /usr/bin/env shebangs
+# Can use something similar to correct/remove /usr/bin/python shebangs also
+# find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';'
+
+# see pyproject-rpm-macros documentation for more forms
+%generate_buildrequires
+%pyproject_buildrequires
+
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files linuxdoc
+
+%check
+%pyproject_check_import linuxdoc
+
+%files -n python3-linuxdoc -f %{pyproject_files}
+%doc CHANGELOG.md
+
+%changelog
+%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-10 22:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 22:21 [rpms/python-linuxdoc] f45: init Ankur Sinha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox