Accepting request 813498 from GNOME:Apps

- Filter "typelib(Handy) = 1" dependency. We use handy 0.0. (forwarded request 813436 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/813498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/foliate?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2020-06-11 13:00:49 +00:00 committed by Git OBS Bridge
commit ced76b2426
6 changed files with 33 additions and 15 deletions

View File

@ -4,7 +4,7 @@
<param name="filename">foliate</param>
<param name="url">https://github.com/johnfactotum/foliate.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/2.2.0</param>
<param name="revision">refs/tags/2.2.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:488e0131c9cbaa32a6715eae6681e898c33d3fbb663d4fdd00e89bab471637fe
size 8031757

3
foliate-2.2.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c267e2cbb7b4ca18312f9d39d1107003f88a893e411501930673f0f09067055e
size 8110093

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Jun 11 09:44:58 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Filter "typelib(Handy) = 1" dependency. We use handy 0.0.
-------------------------------------------------------------------
Tue Jun 9 08:51:43 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from descriptions.
- Simplify %install commands.
-------------------------------------------------------------------
Sun Jun 7 11:22:34 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>
- Update to version 2.2.1:
* Fixed blurry book covers on HiDPI
* Fixed OPDS links to Standard Ebooks and Project Gutenberg
* Fixed wrong view icon on startup
-------------------------------------------------------------------
Fri May 29 08:07:24 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>

View File

@ -1,5 +1,5 @@
name: foliate
version: 2.2.0
mtime: 1590736248
commit: eca3aa7b2f963bf85ccf13c6100a67d1dc950682
version: 2.2.1
mtime: 1591527797
commit: 24a0a02706cafba22fac038e28a068306cb917c5

View File

@ -16,11 +16,12 @@
#
%global __requires_exclude typelib\\(Handy\\) = 1
%define oname com.github.johnfactotum.Foliate
Name: foliate
Version: 2.2.0
Version: 2.2.1
Release: 0
Summary: A simple and modern GTK eBook reader
Summary: A GTK eBook reader
License: GPL-3.0-only
Group: Productivity/Office/Other
URL: https://johnfactotum.github.io/foliate/
@ -34,7 +35,7 @@ BuildRequires: pkgconfig(glib-2.0)
BuildArch: noarch
%description
A simple and modern GTK eBook viewer, built with GJS and Epub.js.
A GTK eBook viewer, built with GJS and Epub.js.
%lang_package
@ -48,13 +49,11 @@ A simple and modern GTK eBook viewer, built with GJS and Epub.js.
%install
%meson_install
find {README.md,COPYING} -type f -perm /111 -exec chmod 644 {} \;
find %{buildroot}/%{_datadir}/. -type f -executable -exec chmod -x "{}" \;
chmod a-x README.md COPYING
find %{buildroot}/%{_datadir} -type f -executable -exec chmod -x "{}" +
rm %{buildroot}/%{_datadir}/com.github.johnfactotum.Foliate/assets/.eslintrc.json
for file in %{buildroot}%{_datadir}/com.github.johnfactotum.Foliate/assets/KindleUnpack/*; do
chmod a-x $file
done
chmod a-x %{buildroot}/%{_datadir}/com.github.johnfactotum.Foliate/assets/KindleUnpack/*
pushd %{buildroot}%{_datadir}/com.github.johnfactotum.Foliate/assets/KindleUnpack/
sed -i -e '/^#!/, 1d' *.py