Accepting request 198142 from home:dstoecker

Update to most recent version. Problem with this is, that it requires QT5. To make it work, links to the QT packages are required. See my home, where all required packages are (linking to KDE:Qt51).

Even for Factory QT5.1 is not default yet, but it is more than a half years now, that I could not do updates, so I propose to create the links and add Qt5 to Documentation:Tools. The 5.1 packages should work fine together with 4.0 (unlikely the 5.0 ones previously), so I don't expect conflicts anymore.

OBS-URL: https://build.opensuse.org/request/show/198142
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=5
This commit is contained in:
2013-09-11 05:40:43 +00:00
committed by Git OBS Bridge
parent 97c90e5806
commit 1c4fa70885
5 changed files with 154 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package sigil
#
# Copyright (c) 2011-2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,30 +15,34 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: sigil
Summary: Multi-platform WYSIWYG Ebook Editor
Version: 0.6.2
Release: 0
License: GPL-3.0
Group: Productivity/Other
Version: 0.7.3
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://sigil.googlecode.com/files/Sigil-%{version}-Code.zip
Source1: %{name}.desktop
# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section
Patch0: %{name}-Dialogs-About.cpp.patch
URL: http://code.google.com/p/sigil/
BuildRequires: make unzip
BuildRequires: fdupes
BuildRequires: cmake >= 2.8.0
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: libqt4-devel >= 4.8.0
BuildRequires: libQtWebKit-devel
Url: http://code.google.com/p/sigil/
BuildRequires: boost-devel
BuildRequires: zlib-devel
BuildRequires: update-desktop-files
BuildRequires: cmake >= 2.8.9
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hunspell-devel
BuildRequires: libQt5WebKit5-devel
BuildRequires: libQt5WebKitWidgets-devel
BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qttools-devel
BuildRequires: libstdc++-devel
BuildRequires: libxerces-c-devel
BuildRequires: make
BuildRequires: unzip
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
%description
Sigil is a free and open source editor for the EPUB format.
@@ -67,7 +71,6 @@ _time=$(date +"%H:%M:%S")
# Change it:
sed -i "s/@DATE@/$_date/;s/@TIME@/$_time/g" src/Sigil/Dialogs/About.cpp
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
@@ -78,7 +81,6 @@ cmake -G "Unix Makefiles" \
make %{?jobs:-j %jobs}
%install
%make_install
@@ -96,7 +98,6 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
%suse_update_desktop_file %name
%fdupes -s %buildroot
%files
%defattr(-,root,root)
%doc ChangeLog.txt README.txt COPYING.txt