Accepting request 791546 from home:iznogood:branches:GNOME:Apps

- Update to version 2.0.0:
  * New stable branch, various interface improvments and bug fixes.

OBS-URL: https://build.opensuse.org/request/show/791546
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/foliate?expand=0&rev=14
This commit is contained in:
Bjørn Lie 2020-04-06 12:47:03 +00:00 committed by Git OBS Bridge
parent 4cd5e6967e
commit 3b01e0433c
7 changed files with 22 additions and 14 deletions

View File

@ -4,8 +4,10 @@
<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.0.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="revision">1.x</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="localonly" name="set_version"/>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/johnfactotum/foliate.git</param>
<param name="changesrevision">c93f623c1b5a93eb54744d1dba3f8f8ff047606f</param></service></servicedata>
<param name="changesrevision">01d32d67de021fa452cc354ec2a0ea24d314a8a1</param></service></servicedata>

View File

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

3
foliate-2.0.0.obscpio Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 05 16:08:11 UTC 2020 - bjorn.lie@gmail.com
- Update to version 2.0.0:
* New stable branch, various interface improvments and bug fixes.
-------------------------------------------------------------------
Wed Dec 04 20:38:34 UTC 2019 - bjorn.lie@gmail.com

View File

@ -1,5 +1,5 @@
name: foliate
version: 1.5.3+54
mtime: 1570584127
commit: c93f623c1b5a93eb54744d1dba3f8f8ff047606f
version: 2.0.0
mtime: 1586072152
commit: 01d32d67de021fa452cc354ec2a0ea24d314a8a1

View File

@ -1,7 +1,7 @@
#
# spec file for package foliate
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define oname com.github.johnfactotum.Foliate
Name: foliate
Version: 1.5.3+54
Version: 2.0.0
Release: 0
Summary: A simple and modern GTK eBook reader
License: GPL-3.0-only
@ -38,7 +38,7 @@ A simple and modern GTK eBook viewer, built with GJS and Epub.js.
%lang_package
%prep
%autosetup
%autosetup -p1
%build
%meson
@ -48,10 +48,10 @@ A simple and modern GTK eBook viewer, built with GJS and Epub.js.
%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
for file in %{buildroot}%{_datadir}/%{name}/assets/KindleUnpack/*; do
chmod a-x $file
done
pushd %{buildroot}%{_datadir}/%{oname}/assets/KindleUnpack/
pushd %{buildroot}%{_datadir}/%{name}/assets/KindleUnpack/
sed -i -e '/^#!\//, 1d' *.py
popd
%find_lang %{oname} --with-gnome
@ -61,7 +61,7 @@ popd
%doc README.md
%{_bindir}/%{oname}
%{_datadir}/applications/
%{_datadir}/%{oname}/
%{_datadir}/%{name}
%{_datadir}/glib-2.0/schemas/
%{_datadir}/metainfo/
%{_datadir}/icons/hicolor/