File pptx2md.spec of Package pptx2md
#
# spec file for package pptx2md
#
# Copyright (c) 2022 Asterios Dramis <asterios.dramis@gmail.com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
%define pythons python3
Name: pptx2md
Version: 1.2.0
Release: 0
Summary: Convert Powerpoint pptx Files Into Markdown
License: MIT
Group: Productivity/Publishing/Other
URL: https://github.com/ssine/pptx2md/
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Pillow >= 6.0.0
BuildRequires: python3-python-pptx >= 0.6.18
BuildRequires: python3-rapidfuzz >= 0.10.0
BuildRequires: python3-setuptools
BuildRequires: python3-tqdm >= 4
Requires: python3-Pillow >= 6.0.0
Requires: python3-python-pptx >= 0.6.18
Requires: python3-rapidfuzz >= 0.10.0
Requires: python3-tqdm >= 4
BuildArch: noarch
%description
A tool to convert Powerpoint pptx file into markdown.
%prep
%setup -q
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%{_bindir}/pptx2md
%{python_sitelib}/*
%changelog