summaryrefslogtreecommitdiff
path: root/python-mdurl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-mdurl.spec')
-rw-r--r--python-mdurl.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/python-mdurl.spec b/python-mdurl.spec
new file mode 100644
index 0000000..c3795ce
--- /dev/null
+++ b/python-mdurl.spec
@@ -0,0 +1,45 @@
+Name: python-mdurl
+Version: 0.1.2
+Release: 1
+Summary: Markdown URL utilities
+
+License: MIT
+URL: https://github.com/hukkin/mdurl
+Source0: https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+BuildRequires: python3-flit-core
+
+%description
+URL utilities for markdown-it parser.
+
+%package -n python3-mdurl
+Summary: %{summary}
+
+%description -n python3-mdurl
+URL utilities for markdown-it parser.
+
+%prep
+%autosetup -p1 -n mdurl-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-mdurl
+%doc README.md
+%license LICENSE
+%{python3_sitelib}/mdurl*.dist-info/
+%{python3_sitelib}/mdurl/
+
+
+%changelog
+* Tue Aug 01 2023 ysliu <ysliuci@isoftstone.com> - 0.1.2-1
+- Initial package.