5a1203d
%global appname Komikku
5a1203d
%global uuid    info.febvre.%{appname}
39ac041
%global gtk4_version        4.8.1
39ac041
%global libadwaita_version  1.2
5a1203d
5a1203d
Name:           komikku
0fbc20d
Version:        1.3.0
3cc028a
Release:        %autorelease
6996d15
Summary:        A manga reader for GNOME
ed14e26
BuildArch:      noarch
5a1203d
5a1203d
License:        GPLv3+
5a1203d
URL:            https://gitlab.com/valos/Komikku
5a1203d
Source0:        %{url}/-/archive/v%{version}/%{appname}-v%{version}.tar.gz
5a1203d
5a1203d
BuildRequires:  desktop-file-utils
5a1203d
BuildRequires:  intltool
5a1203d
BuildRequires:  libappstream-glib
39ac041
BuildRequires:  meson >= 0.59.0
0998c52
BuildRequires:  python3-devel >= 3.8
2e11a63
2e11a63
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.35.9
39ac041
BuildRequires:  pkgconfig(gtk4) >= %{gtk4_version}
39ac041
BuildRequires:  pkgconfig(libadwaita-1) >= %{libadwaita_version}
75f9337
5a1203d
Requires:       hicolor-icon-theme
39ac041
Requires:       gtk4 >= %{gtk4_version}
6a8a711
Requires:       libadwaita >= %{libadwaita_version}
3ea0990
Requires:       libnotify
5a1203d
Requires:       python3-beautifulsoup4
3ea0990
Requires:       python3-brotli
766f9d5
Requires:       python3-cloudscraper
5a1203d
Requires:       python3-dateparser
766f9d5
Requires:       python3-gobject
1d846b2
Requires:       python3-keyring
5a1203d
Requires:       python3-lxml
ffc5bf8
Requires:       python3-natsort
847fce2
# The conflict between python-magic and python-file-magic should be brought to
847fce2
# FESCO.
a8b0b19
Requires:       python3dist(file-magic)
5a1203d
Requires:       python3-pillow
5a1203d
Requires:       python3-pure-protobuf
0fbc20d
Requires:       python3-rarfile
5a1203d
Requires:       python3-unidecode
5a1203d
5a1203d
%description
6996d15
Komikku is a manga reader for GNOME. It focuses on providing a clean, intuitive
6996d15
and adaptive interface.
5a1203d
85a171b
Keys features
85a171b
85a171b
* Online reading from dozens of servers
85a171b
* Offline reading of downloaded comics
85a171b
* Categories to organize your library
85a171b
* RTL, LTR, Vertical and Webtoon reading modes
85a171b
* Several types of navigation:
85a171b
  * Keyboard arrow keys
2e11a63
  * Right and left navigation layout via mouse click or tapping
2e11a63
    (touchpad/touch screen)
85a171b
  * Mouse wheel
85a171b
  * 2-fingers swipe gesture (touchpad)
85a171b
  * Swipe gesture (touch screen)
85a171b
* Automatic update of comics
85a171b
* Automatic download of new chapters
3635d62
* Reading history
85a171b
* Light and dark themes
5a1203d
5a1203d
%prep
a8b0b19
%autosetup -n %{appname}-v%{version} -p1
5a1203d
5a1203d
5a1203d
%build
75f9337
%meson
75f9337
%meson_build
57d06da
57d06da
57d06da
%install
5a1203d
%meson_install
5a1203d
%find_lang %{name}
5a1203d
5a1203d
5a1203d
%check
5a1203d
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
5a1203d
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
5a1203d
5a1203d
5a1203d
%files -f %{name}.lang
5a1203d
%license LICENSE
5a1203d
%doc README.md
5a1203d
%{_bindir}/%{name}
5a1203d
%{_datadir}/%{name}/
5a1203d
%{_datadir}/applications/*.desktop
5a1203d
%{_datadir}/glib-2.0/schemas/*.gschema.xml
5a1203d
%{_datadir}/icons/hicolor/scalable/*/*.svg
5a1203d
%{_datadir}/icons/hicolor/symbolic/*/*.svg
5a1203d
%{_metainfodir}/*.xml
5a1203d
%{python3_sitelib}/%{name}/
5a1203d
5a1203d
5a1203d
%changelog
3cc028a
%autochangelog