File python3-glBooklet.spec of Package python3-glBooklet

# spec file for package python3-glBooklet
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           python3-glBooklet
Version:        X
Release:        0
Summary:        Converts PDFs to printable booklet
License:        GPL-3.0-only
Group:          Development/Languages/Python
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  python3-PyPDF2
BuildRequires:  python3-devel
BuildRequires:  python3-pyqt-distutils
BuildRequires:  python3-qt5
BuildRequires:  python3-rpm-macros
BuildRequires:  python3-setuptools
Requires:       python3-PyPDF2
Requires:       python3-qt5
BuildArch:      noarch

Utility to convert a pdf book into 2 pages-per-sheet double sided booklet ready for printing

%setup -q -n glBooklet-%{version}



mkdir -p -m0755 %{buildroot}%{_datadir}/{pixmaps,appdata}
install -p -m0644 glBooklet/images/glBooklet.png %{buildroot}%{_datadir}/pixmaps/glBooklet.png

desktop-file-install --dir=%{buildroot}%{_datadir}/applications glBooklet/resources/glBooklet.desktop

%fdupes -s %{buildroot}%{python3_sitelib}/