File lector.spec of Package lector

# spec file for package lector
# 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

%define display_name Lector
Name:           lector
Version:        0.5.1
Release:        0
Summary:        Qt based ebook reader
License:        GPL-3.0-or-later
Group:          Productivity/Graphics/Viewers
URL:  {display_name}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  python3-beautifulsoup4
BuildRequires:  python3-devel
BuildRequires:  python3-qt5
BuildRequires:  python3-setuptools
BuildRequires:  update-desktop-files
Requires:       python3 >= 3.6
Requires:       python3-beautifulsoup4
Requires:       python3-lxml
Requires:       python3-qt5
Requires:       python3-xmltodict
Recommends:     python3-poppler-qt5
BuildArch:      noarch


Currently supports:

* pdf
* epub
* mobi
* azw / azw3 / azw4
* cbr / cbz

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



%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop

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

%license LICENSE
%attr(0755,root,root) %{_bindir}/%{name}
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps

openSUSE Build Service is sponsored by