--- /dev/null
+Name: python3-pathspec
+Version: 0.12.1
+Release: 0
+Summary: Utility library for gitignore style pattern matching of file paths
+License: MPL-2.0
+URL: https://github.com/cpburnz/python-path-specification
+Source0: pathspec-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildRequires: pkgconfig(python3)
+BuildRequires: python3-setuptools
+
+BuildArch: noarch
+
+%description
+Pathspec is a utility library for pattern matching of file paths. So
+far this only includes Git's wildmatch pattern matching which itself is
+derived from Rsync's wildmatch. Git uses wildmatch for its `gitignore`_
+files.
+
+%prep
+%setup -q -n pathspec-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm -f %{buildroot}%{python3_sitelib}/build/py.typed
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitelib}/pathspec/*.py
+%{python3_sitelib}/pathspec/__pycache__/*
+%{python3_sitelib}/pathspec/patterns/*
+%{python3_sitelib}/pathspec-%{version}-py%{python3_version}.egg-info