2012-08-30 12:23:01 +02:00
|
|
|
#
|
|
|
|
# spec file for package sigil
|
|
|
|
#
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-08-30 12:23:01 +02:00
|
|
|
#
|
2012-08-30 14:22:22 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-07-03 18:20:12 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-08-30 12:23:01 +02:00
|
|
|
#
|
|
|
|
|
2013-09-11 07:40:43 +02:00
|
|
|
|
2019-07-03 18:20:12 +02:00
|
|
|
%define sigil_doc_version 2019.06.25
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
|
2012-08-30 12:23:01 +02:00
|
|
|
Name: sigil
|
2019-07-03 18:20:12 +02:00
|
|
|
Version: 0.9.15
|
2017-01-23 15:41:36 +01:00
|
|
|
Release: 0
|
2017-02-09 14:14:15 +01:00
|
|
|
Summary: WYSIWYG Ebook Editor
|
2018-06-11 08:17:58 +02:00
|
|
|
License: GPL-3.0-only
|
2012-08-30 12:23:01 +02:00
|
|
|
Group: Productivity/Other
|
2017-01-23 15:41:36 +01:00
|
|
|
Url: http://sigil-ebook.com/
|
2012-08-30 12:23:01 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-01-23 15:41:36 +01:00
|
|
|
Source0: https://github.com/Sigil-Ebook/Sigil/archive/%{version}.tar.gz
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide_%{sigil_doc_version}.epub
|
2017-01-23 15:41:36 +01:00
|
|
|
Source2: %{name}.desktop
|
2012-08-30 12:23:01 +02:00
|
|
|
# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section
|
2017-01-23 15:41:36 +01:00
|
|
|
Patch0: %{name}-gt-0.9.0-Dialogs-About.cpp.patch
|
|
|
|
BuildRequires: boost-devel
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: cmake >= 3.0
|
|
|
|
BuildRequires: dos2unix
|
2012-08-30 12:23:01 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2012-11-23 12:37:51 +01:00
|
|
|
BuildRequires: hunspell-devel
|
2019-07-03 18:20:12 +02:00
|
|
|
# upstream use Qt 5.12.3
|
2017-01-23 15:41:36 +01:00
|
|
|
BuildRequires: libqt5-qtbase-devel >= 5.4.2
|
|
|
|
BuildRequires: libqt5-qtlocation-devel >= 5.4.2
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: libxerces-c-devel
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2017-01-23 15:41:36 +01:00
|
|
|
BuildRequires: make
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: python3-devel >= 3.4
|
2017-01-23 15:41:36 +01:00
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: zlib-devel
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebChannel)
|
2019-07-03 18:20:12 +02:00
|
|
|
#BuildRequires: pkgconfig(Qt5WebKit)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebEngine)
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
2017-01-23 15:41:36 +01:00
|
|
|
# not need for build, only check for exists
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
# upstream use for python3-Pillow 5.4.1
|
|
|
|
BuildRequires: python3-Pillow
|
|
|
|
BuildRequires: python3-chardet >= 3.0.4
|
|
|
|
BuildRequires: python3-cssselect >= 1.0.3
|
|
|
|
BuildRequires: python3-cssutils >= 1.0.2
|
|
|
|
BuildRequires: python3-html5lib >= 1.0.1
|
|
|
|
# upstream use for python3-lxml 4.2.6
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: python3-lxml
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
# upstream use for python3-qt5 5.12
|
|
|
|
BuildRequires: python3-qt5
|
|
|
|
# upstream use for python3-regex 2018.11.12
|
|
|
|
BuildRequires: python3-regex
|
|
|
|
# upstream use for python3-six 1.12.0
|
2018-01-07 13:20:36 +01:00
|
|
|
BuildRequires: python3-six
|
|
|
|
BuildRequires: python3-tk
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
Requires: python3-Pillow
|
|
|
|
Requires: python3-chardet
|
|
|
|
Requires: python3-cssselect
|
|
|
|
Requires: python3-cssutils
|
2017-01-23 15:41:36 +01:00
|
|
|
Requires: python3-html5lib
|
2018-01-07 13:20:36 +01:00
|
|
|
Requires: python3-lxml
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
Requires: python3-regex
|
2018-01-07 13:20:36 +01:00
|
|
|
Requires: python3-six
|
|
|
|
Requires: python3-tk
|
2017-01-23 15:41:36 +01:00
|
|
|
|
2012-08-30 12:23:01 +02:00
|
|
|
%description
|
2017-02-09 14:14:15 +01:00
|
|
|
Sigil is an editor for the EPUB format. It is designed for WYSIWYG
|
|
|
|
editing of EPUB files and for converting other formats to EPUB. It
|
|
|
|
also provides support for direct XHTML, CSS and XPGT editing. You can
|
2012-08-30 12:23:01 +02:00
|
|
|
use it to add any of the metadata entries supported by the EPUB
|
|
|
|
specification and create a hierarchical Table of Contents.
|
|
|
|
|
|
|
|
%prep
|
2015-03-17 09:52:01 +01:00
|
|
|
%setup -q -n Sigil-%{version}
|
2017-01-23 15:41:36 +01:00
|
|
|
%patch0 -p 1
|
2018-08-16 12:18:03 +02:00
|
|
|
cp -v %{S:1} .
|
|
|
|
cp -v %{S:2} .
|
2017-01-23 15:41:36 +01:00
|
|
|
# rpmlint
|
2012-08-30 12:23:01 +02:00
|
|
|
|
|
|
|
#FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!!
|
|
|
|
# Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild
|
|
|
|
# when not needed warning"
|
|
|
|
# http://sourceforge.net/tracker/?func=detail&atid=102439&aid=3314371&group_id=2439
|
|
|
|
#
|
2018-09-21 21:27:34 +02:00
|
|
|
# We use the ChangeLog date
|
|
|
|
_date=$(date -u -r ChangeLog.txt -I)
|
|
|
|
_time=$(date -u -r ChangeLog.txt +%%T)
|
2012-08-30 12:23:01 +02:00
|
|
|
# Change it:
|
2018-08-16 12:18:03 +02:00
|
|
|
find . -type f -name About.cpp -exec sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g" {} +
|
2012-08-30 12:23:01 +02:00
|
|
|
|
2018-09-21 21:27:34 +02:00
|
|
|
sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
|
|
|
|
dos2unix src/Resource_Files/python3lib/meta*.py
|
|
|
|
dos2unix src/Resource_Files/python3lib/opf_*.py
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
# rpmlint:
|
|
|
|
find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python3|#!\/usr\/bin\/python3|g' {} +
|
2018-09-21 21:27:34 +02:00
|
|
|
find . -type f -exec sed -i -e 's|#!\/usr\/bin\/env python|#!\/usr\/bin\/python3|g' {} +
|
|
|
|
|
2012-08-30 12:23:01 +02:00
|
|
|
%build
|
2018-08-16 12:18:03 +02:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2012-08-30 12:23:01 +02:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
cmake -G "Unix Makefiles" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%_prefix \
|
2017-01-23 15:41:36 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Release .
|
2012-08-30 12:23:01 +02:00
|
|
|
|
2017-02-09 14:14:15 +01:00
|
|
|
make %{?_smp_mflags}
|
2012-08-30 12:23:01 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
# create a .desktop file:
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
|
|
|
|
# install icons for the .desktop file
|
2017-01-23 15:41:36 +01:00
|
|
|
install -m644 -D src/Resource_Files/icon/app_icon_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/sigil.png
|
|
|
|
install -m644 -D src/Resource_Files/icon/app_icon_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/sigil.png
|
|
|
|
install -m644 -D src/Resource_Files/icon/app_icon_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/sigil.png
|
|
|
|
install -m644 -D src/Resource_Files/icon/app_icon_128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/sigil.png
|
|
|
|
install -m644 -D src/Resource_Files/icon/app_icon_256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/sigil.png
|
2012-08-30 12:23:01 +02:00
|
|
|
install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
%suse_update_desktop_file %name
|
|
|
|
%fdupes -s %buildroot
|
|
|
|
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
# fix rpmlint: non-executable-script
|
|
|
|
pushd %{buildroot}%{_datadir}
|
|
|
|
grep -lr "/usr/bin/python" | xargs chmod +x
|
|
|
|
popd
|
|
|
|
|
2012-08-30 12:23:01 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide_%{sigil_doc_version}.epub
|
2012-08-30 12:23:01 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%dir %{_datadir}/icons/hicolor/
|
|
|
|
%dir %{_datadir}/icons/hicolor/16x16
|
|
|
|
%dir %{_datadir}/icons/hicolor/16x16/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/32x32
|
|
|
|
%dir %{_datadir}/icons/hicolor/32x32/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/48x48
|
|
|
|
%dir %{_datadir}/icons/hicolor/48x48/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/128x128
|
|
|
|
%dir %{_datadir}/icons/hicolor/128x128/apps
|
|
|
|
%dir %{_datadir}/icons/hicolor/256x256
|
|
|
|
%dir %{_datadir}/icons/hicolor/256x256/apps
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/pixmaps/*.png
|
2017-01-23 15:41:36 +01:00
|
|
|
%dir %{_datadir}/%name
|
|
|
|
%dir %{_datadir}/%name/translations
|
|
|
|
%{_datadir}/%{name}/translations/*
|
|
|
|
%dir %{_datadir}/%name/*dictionaries
|
|
|
|
%{_datadir}/%{name}/*dictionaries/*
|
|
|
|
%{_datadir}/%{name}/examples
|
|
|
|
%{_datadir}/%{name}/python3lib
|
Accepting request 691998 from home:ecsos
- Update to 0.9.13
* Bug Fixes
- Revert change of INI encoding to utf-8 as QSettings very
broken under utf-8 (commit 5484463)
- Ensure all url attributes in shape-outside properties in
CSS stylesheets get updated (commit de7b09f)
- Workaround for lost cursor in qlineedit Qt bug (issue #398)
(commit a8acab7)
- Workaround missing File New, Open, Quit menus in Mac menubar
if windows closed (commit 660a8aa)
- Remove Icon from Tab for macOS only to workaround Qt bug
(commit 5c91924)
- Plug some memory leaks (commits: 85f78d7, cb9b833, 614d601,
bf2f2f4, ebfb613, 4qa8f33)
- Backport Qt 5.12alpha fix to prevent heap corruption due
to qwidget next focus pointers (commit f5c7284)
- Plug macOS memory leaks when closing a main window
(commit fbf9015)
- Put back quote in tag name bug fix lost in recent changes
(commit ebd8c7c)
- Disable Netscape Plugins being used in BookView and Preview
Window (commit 79314ea)
- Use custom version of qtwebkit with Qt 5.5 memory leak fix
added back and no load plugins if disabled
(see commits 94a28d7, 9f7ebba, and 4b968a9)
* New Features
- Add filename to tab tooltip (commit 27f8db7)
- Clear memory caches when Preview changes to keep memory
footprint smaller (commit 87b9247)
- Update to MathJax 2.75, adds support for mathml mlongdiv,
mstack, mcarries (commit 568aba5)
- Reduce memory footprint by letting worker threads expire
(commit c1ee7ea)
- Reduce memory footprint by properly setting web page caches
(commit 9f07cbe)
Be aware that Sigil-0.9.13 still enforces the need for epub3
to have and support an NCX so that it generates as backward
a compatible epub as possible. This may be relaxed in future
releases.
OBS-URL: https://build.opensuse.org/request/show/691998
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=27
2019-04-06 14:02:58 +02:00
|
|
|
%{_datadir}/%{name}/polyfills
|
2017-01-23 15:41:36 +01:00
|
|
|
%{_datadir}/%{name}/plugin_launchers
|
2019-07-03 18:20:12 +02:00
|
|
|
%dir %{_libdir}/%name
|
|
|
|
%{_libdir}/%{name}/*
|
2012-08-30 12:23:01 +02:00
|
|
|
|
|
|
|
%changelog
|