From dd91e49ba3cafb41beef50c7894b8e2aa360707810fda7ab98aa3363d545a135 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 5 May 2025 04:50:48 +0000 Subject: [PATCH] - Update to 3.2.0: * Update Translations * Fix for Calibre plugin CLI * Don't require dc:identifier to have attribute opf:scheme=uuid when using IDPF font encryption * Add title/author/filename output on individual input epub failure * Decrypt encrypted/obfuscated font files * Save opf:file-as attr from author tags in CLI * Actually have 'en' default for -l in CLI. * Show busy cursor during unmerge * Consolidate FFF title/log page skipping code to fix cover issue * Add option to not condense TOC for a book down to a single entry if there's only one chapter in it. * Add Restore Selection option * Fix for writing relative paths in merged epub - Switch to pyproject macros. - Support both mixed case and normalized metadata directory names. - Remove find/cp hack, package now has a proper build system. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-epubmerge?expand=0&rev=11 --- python-epubmerge.changes | 22 ++++++++++++++++++++++ python-epubmerge.spec | 22 ++++++++++------------ v2.15.0.tar.gz | 3 --- v3.2.0.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 15 deletions(-) delete mode 100644 v2.15.0.tar.gz create mode 100644 v3.2.0.tar.gz diff --git a/python-epubmerge.changes b/python-epubmerge.changes index 93ceeba..bcdcc48 100644 --- a/python-epubmerge.changes +++ b/python-epubmerge.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon May 5 04:50:26 UTC 2025 - Steve Kowalik + +- Update to 3.2.0: + * Update Translations + * Fix for Calibre plugin CLI + * Don't require dc:identifier to have attribute opf:scheme=uuid when using + IDPF font encryption + * Add title/author/filename output on individual input epub failure + * Decrypt encrypted/obfuscated font files + * Save opf:file-as attr from author tags in CLI + * Actually have 'en' default for -l in CLI. + * Show busy cursor during unmerge + * Consolidate FFF title/log page skipping code to fix cover issue + * Add option to not condense TOC for a book down to a single entry if + there's only one chapter in it. + * Add Restore Selection option + * Fix for writing relative paths in merged epub +- Switch to pyproject macros. +- Support both mixed case and normalized metadata directory names. +- Remove find/cp hack, package now has a proper build system. + ------------------------------------------------------------------- Fri Sep 16 08:18:08 UTC 2022 - Steve Kowalik diff --git a/python-epubmerge.spec b/python-epubmerge.spec index 736807a..04f7fcb 100644 --- a/python-epubmerge.spec +++ b/python-epubmerge.spec @@ -1,7 +1,7 @@ # # spec file for package python-epubmerge # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,21 @@ %define upname EpubMerge %define upnamedown epubmerge -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-epubmerge -Version: 2.15.0 +Version: 3.2.0 Release: 0 Summary: EpubMerge Calibre Plugin License: GPL-3.0-only URL: https://github.com/JimmXinu/EpubMerge Source: https://github.com/JimmXinu/EpubMerge/archive/v%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools +Requires: python-six Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives # converted to update-alternatives with 2.9.0 release Conflicts: python2-%{upnamedown} < 2.9.0 BuildArch: noarch @@ -61,15 +62,12 @@ merged books comments. These options are stored by Library. %prep %setup -q -n %{upname}-%{version} -mkdir epubmerge -find . -name '*.py' -maxdepth 1 -exec cp "{}" epubmerge \; -rm epubmerge/setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/%{upnamedown} @@ -83,7 +81,7 @@ rm epubmerge/setup.py %license LICENSE %doc README.md %python_alternative %{_bindir}/%{upnamedown} -%{python_sitelib}/%{upnamedown}* -%{python_sitelib}/%{upname}*info +%{python_sitelib}/%{upnamedown} +%{python_sitelib}/[Ee]pub[Mm]erge-%{version}.dist-info %changelog diff --git a/v2.15.0.tar.gz b/v2.15.0.tar.gz deleted file mode 100644 index a414567..0000000 --- a/v2.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fe4cdb93f40c8b157c310ca39f6b2db180a995f3b5709ece64faea3baa547be -size 553667 diff --git a/v3.2.0.tar.gz b/v3.2.0.tar.gz new file mode 100644 index 0000000..e651b16 --- /dev/null +++ b/v3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcf09e4d8813d18b20594ce93c7fad6bd1e4a5abbcbec9f65d26779f390fface +size 569726