Accepting request 812833 from home:jengelh:branches:GNOME:Apps

- Trim bias from descriptions.
- Simplify %install commands.

OBS-URL: https://build.opensuse.org/request/show/812833
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/foliate?expand=0&rev=24
This commit is contained in:
2020-06-10 19:56:13 +00:00
committed by Git OBS Bridge
parent 67f2a3c1c0
commit 6426a75d13
3 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47fef70ede9082f5e4b9d7698f10e4a6b155e6d6679e2a9577596aca5486b84a
oid sha256:8b6850b2d05b9d477ca97f84bcc4ac14fae7dc0b14fbc7795e2be21f6d09030a
size 8110093

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@@ -20,7 +20,7 @@
Name: foliate
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 +34,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 +48,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