commit 17e31e0cfb6926e71a4bf360f5ca55177f300704153a47dffc0882c7ea87e2eb Author: Matej Cepl Date: Tue Nov 13 09:59:18 2018 +0000 Accepting request 648711 from home:mcepl:work - Initial packaging effort to collect EpubMerge 2.3.0 OBS-URL: https://build.opensuse.org/request/show/648711 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-epubmerge?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-epubmerge.changes b/python-epubmerge.changes new file mode 100644 index 0000000..3d0664a --- /dev/null +++ b/python-epubmerge.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Nov 13 09:53:05 UTC 2018 - Matej Cepl + +- Initial packaging effort to collect EpubMerge 2.3.0 diff --git a/python-epubmerge.spec b/python-epubmerge.spec new file mode 100644 index 0000000..db652d2 --- /dev/null +++ b/python-epubmerge.spec @@ -0,0 +1,75 @@ +# +# spec file for package python-fanficfare +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 upname EpubMerge +%define upnamedown epubmerge +%define skip_python3 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-epubmerge +Version: 2.3.0 +Release: 0 +Summary: EpubMerge Calibre Plugin +License: GPL-3.0-only +Group: Development/Languages/Python +URL: https://github.com/JimmXinu/EpubMerge +Source: https://github.com/JimmXinu/EpubMerge/archive/v%{version}.tar.gz +BuildRequires: python2 +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%python_subpackages + +%description +This plugin provides the ability to create new EPUBs by combining the contents +of existing (non-DRM) EPUB format eBooks. + +Main Features of EpubMerge Plugin: + - Select a list of stories in calibre, + - Order them, + - Edit the metadata for the new combined eBook, and then, + - Merge the contents of the EPUBs together into the new eBook, now + including cover from metadata if set. + - UnMerge previously merged epubs if metadata was saved during merge. + - Configurably able to save the metadata for each merged book for UnMerging + later if desired. (Defaults to On.) + - Configurably able to populate custom columns from source books. + - Options now stored inside the Library rather than an external JSON file. + - CLI + +There are a few configurable options: whether or not to insert a Table of +Contents entry for each merged book (with it's original TOC nested underneath +it), an option to flatten the TOC down to one level only, and including the +merged books comments. These options are stored by Library. + +%prep +%setup -q -n %{upname}-%{version} + +%build +/bin/true + +%install +install -p -D epubmerge.py %{buildroot}%{_bindir}/%{upnamedown} + +%files %{python_files} +%license LICENSE +%doc README.md +%{_bindir}/%{upnamedown} + +%changelog diff --git a/v2.3.0.tar.gz b/v2.3.0.tar.gz new file mode 100644 index 0000000..f38a24a --- /dev/null +++ b/v2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbb1702e2f7f6208be166eea08239e75f21c5edd3b2d6dc48ca34a1a6163e880 +size 541766