Dominique Leuenberger
4cd5e6967e
See debate in sr 754119 - Update to version 1.5.3+54: * Right align doesn't work well with tables * Update package info * Update Indonesian translation (#182) * Fix glyph clipping in WebKit (#179) * Set WebKit default font size * Flatpak: prevent X11 access in Wayland * Remove unnecessary global variables for TTS, footnotes, images * Initial change to WebKitUserContentManager for messaging * Add copy to selection options (#172) * Set vendored code for Linguist * Updated Dutch (Netherlands) translation (#169) * Add link to wiki in README.md * Update French translation (#163) * Fix unable to add bookmark when section not found * Fix stuff not escaped for Pango markup * Move constant out of the loop * Show author in headerbar * Fallback when unable to get section * Show chapter name in bookmarks list * Update Brazilian Portuguese translation (#160) * Fix wrong Wiktionary link when looking up again due to capitalization * Fix Wikipedia lookup broken after previous commit * Make internal links work in footnote popover * Make TTS available for selection * Fix wrong popover position in continous scrolling mode * Make navbar buttons flat * Temporary fix for invisible popovers due to wrong position values * Fix internal link broken when popup footnote is disabled * Add continuous scrolling option * Support getting current chapter for TOC items with anchors * Update translations * Improve HTML to Pango markup conversion * Don't push to history if the location doesn't change * Fix empty state padding * Suppress promise rejection warnings * Change "chapter" to "section" * Add option to go to CFI * Extract code for getting popover position to a function * Move util functions forward and main functions to the end * Add some comments * Move wheel and keyboard event code to more sensible location * Make it possible to select across pages * Fix pt_BR.po * Update Brazilian Portuguese translation (#153) * Lint assets * Lint main.js * Cleanup HTML and txt export code * Fix ampersand troubles * Use markup for Wikipedia extract * Fix soft hyphens confusing Festival * Add translation info to AppData * Update French translation (#151) * Update Dutch translation (#150) * Update README.md OBS-URL: https://build.opensuse.org/request/show/754483 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/foliate?expand=0&rev=12
72 lines
1.9 KiB
RPMSpec
72 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package foliate
|
|
#
|
|
# Copyright (c) 2019 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define oname com.github.johnfactotum.Foliate
|
|
Name: foliate
|
|
Version: 1.5.3+54
|
|
Release: 0
|
|
Summary: A simple and modern GTK eBook reader
|
|
License: GPL-3.0-only
|
|
Group: Productivity/Office/Other
|
|
URL: https://johnfactotum.github.io/foliate/
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(gjs-1.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
A simple and modern GTK eBook viewer, built with GJS and Epub.js.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
find {README.md,COPYING} -type f -perm /111 -exec chmod 644 {} \;
|
|
find %{buildroot}/%{_datadir}/. -type f -executable -exec chmod -x "{}" \;
|
|
for file in %{buildroot}%{_datadir}/%{oname}/assets/KindleUnpack/*; do
|
|
chmod a-x $file
|
|
done
|
|
pushd %{buildroot}%{_datadir}/%{oname}/assets/KindleUnpack/
|
|
sed -i -e '/^#!\//, 1d' *.py
|
|
popd
|
|
%find_lang %{oname} --with-gnome
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_bindir}/%{oname}
|
|
%{_datadir}/applications/
|
|
%{_datadir}/%{oname}/
|
|
%{_datadir}/glib-2.0/schemas/
|
|
%{_datadir}/metainfo/
|
|
%{_datadir}/icons/hicolor/
|
|
|
|
%files lang -f %{oname}.lang
|
|
|
|
%changelog
|