Accepting request 291140 from home:dstoecker
OBS-URL: https://build.opensuse.org/request/show/291140 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=10
This commit is contained in:
41
sigil.spec
41
sigil.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sigil
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -20,34 +20,40 @@ Name: sigil
|
||||
Summary: Multi-platform WYSIWYG Ebook Editor
|
||||
License: GPL-3.0
|
||||
Group: Productivity/Other
|
||||
Version: 0.8.0
|
||||
Version: 0.8.4
|
||||
Release: 0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: http://sigil.googlecode.com/files/Sigil-%{version}-Code.zip
|
||||
Source0: https://github.com/user-none/Sigil/archive/%{version}.tar.gz
|
||||
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/
|
||||
Url: http://sigil-ebook.com/
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hunspell-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: libQt5WebKit5-devel
|
||||
BuildRequires: libQt5WebKitWidgets-devel
|
||||
BuildRequires: libqt5-qttools-devel
|
||||
BuildRequires: libqt5-qtbase-devel >= 5.4
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libxerces-c-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: unzip
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Multimedia)
|
||||
BuildRequires: pkgconfig(Qt5Positioning)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5UiTools)
|
||||
BuildRequires: pkgconfig(Qt5WebChannel)
|
||||
BuildRequires: pkgconfig(Qt5WebKit)
|
||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
||||
Requires: python >= 3
|
||||
|
||||
%description
|
||||
Sigil is a free and open source editor for the EPUB format.
|
||||
@@ -60,10 +66,10 @@ specification and create a hierarchical Table of Contents.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
%setup -q -n Sigil-%{version}
|
||||
sed -i 's/\r//' ChangeLog.txt README.md COPYING.txt
|
||||
%{__cp} -v %{S:1} .
|
||||
%patch0
|
||||
sed -i 's/\r//' ChangeLog.txt README.txt COPYING.txt
|
||||
%patch0
|
||||
|
||||
#FIXME MANUAL UPDATE OF DATE REQUIRED HERE!!!!
|
||||
# Fix "Your file uses __DATE and __TIME__ this causes the package to rebuild
|
||||
@@ -105,8 +111,9 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog.txt README.txt COPYING.txt
|
||||
%doc ChangeLog.txt README.md COPYING.txt
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/%{name}-real
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%dir %{_datadir}/icons/hicolor/
|
||||
%dir %{_datadir}/icons/hicolor/16x16
|
||||
|
Reference in New Issue
Block a user