Accepting request 629414 from home:ecsos

- update to 0.9.10
  * Bug Fixes
    - Fix signal handling to prevent double launch of plugins 
      immediately after plugin installed
    - Fixed incorrect named entity tooltips for many of the 
      Insert-> Special Characters
    - Fixed lack of recognition of woff2 fonts inside Sigil and for
      plugins
    - Fix segfault when .xml is first file in BookBrowser and add
      new html or split at cursor is invoked
    - Fix bug that allowed multiple audio/video tabs of the same 
      resource to be opened
    - Fix plugin related bug when adding/removing last xhtml file
    - Fix Text Direction setting inside body to use structural dir 
      attribute under epub3
    - Fix duplicate group-position property in epub3 MetaData 
      Editor
    - Use absolute path references when first opening Sigil with 
      an ebook so that Open Recent works better
    - Fix "issue" in handling self-closing script tags in head 
      (similar issue that we had with self-closing title tags)
    - Fix issue converting Qt Strings to their Python equivalent 
      when outside the BMP
    - Fix issue with trying to add existing html files when names 
      clash due to case insensitive file systems
    - Fix crash bug after styling text in BookView and immediately 
      going to CodeView without moving cursor
    - Fix crash bugs after deleting resources contained in a Report 
      in the BookBrowser
    - Fix bug that destroys nav if left in unparseable state by 
      user even temporarily
    - Fix bug that moved cursor to beginning of tag block when save 
      is done in CodeView
  * New Features
    - allow plugins to supply their own icon (plugin.png 48x48) for 
      use on the Quick Launch Toolbar icons
    - extend plugin interface to include the status of the epub 
      inside Sigil (modified or saved)
    - extend plugin interface to include the path to the saved epub
      file or the null string if never saved
    - extend Insert->Special Characters to include both a Greek
      letter panel and a mathematical symbol panel
    - add support for calibre:series and calibre:series_index to
      Metadata Editor for epub2
    - add support for calibre:title_sort to Metadata Editor for
      epub2
    - add support for clicking internal links in Preview to load
      the proper destination tab
    - add support for loading Qt's base translation files if 
      present. Allows buttons on native qt dialogs to
    - be translated (Windows users may need to manually copy newer 
      qtbase_xx.qm files to Sigil's translation
    - directory if they didn't exist in Qt5.6.2)
    - allow user to add custom css rules to Preview/Book View by 
      creating a file called "custom_preview_style.css"
    - in the Sigil preferences folder (not responsible for custom 
      css and ebook css fighting with each other)
- Drop sigil-fix_deprecated_macro.patch because now in upstream.

OBS-URL: https://build.opensuse.org/request/show/629414
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=22
This commit is contained in:
2018-08-15 14:43:28 +00:00
committed by Git OBS Bridge
parent cde08ecb61
commit 7036bcbc6b
8 changed files with 72 additions and 25 deletions

View File

@@ -17,7 +17,7 @@
Name: sigil
Version: 0.9.9
Version: 0.9.10
Release: 0
Summary: WYSIWYG Ebook Editor
License: GPL-3.0-only
@@ -25,12 +25,10 @@ Group: Productivity/Other
Url: http://sigil-ebook.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: https://github.com/Sigil-Ebook/Sigil/archive/%{version}.tar.gz
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide_0_7_2.epub
Source1: https://github.com/Sigil-Ebook/Sigil/raw/master/docs/Sigil_User_Guide.epub
Source2: %{name}.desktop
# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section
Patch0: %{name}-gt-0.9.0-Dialogs-About.cpp.patch
# PATCH-FIX-OPENSUSE Change deprecated qt5_use_modules to target_link_libraries
Patch1: %{name}-fix_deprecated_macro.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 3.0
BuildRequires: dos2unix
@@ -90,7 +88,6 @@ specification and create a hierarchical Table of Contents.
%setup -q -n Sigil-%{version}
sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
%patch0 -p 1
%patch1 -p 1
%{__cp} -v %{S:1} .
%{__cp} -v %{S:2} .
# rpmlint
@@ -138,7 +135,7 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
%files
%defattr(-,root,root)
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide_0_7_2.epub
%doc ChangeLog.txt README.md COPYING.txt Sigil_User_Guide.epub
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/icons/hicolor/