forked from pool/sigil
Accepting request 140253 from home:dstoecker
Update to most recent version (sadly this requires QT 4.8 and thus disables 12.1 and below). OBS-URL: https://build.opensuse.org/request/show/140253 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=3
This commit is contained in:
parent
26c6d67827
commit
81fa5cd099
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9525ac3885e7d3962a85e491b271fd857e8a9430e92868e1772c3bcaeb9bc778
|
||||
size 12843490
|
3
Sigil-0.6.0-Code.zip
Normal file
3
Sigil-0.6.0-Code.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02b95d3d1d5ad8a186212c6c60ae76fa17a98da83a748965db9546ff51903308
|
||||
size 12907949
|
@ -1,19 +1,19 @@
|
||||
--- src/Sigil/Dialogs/About.cpp.bak 2012-08-30 10:09:10.000000000 +0200
|
||||
+++ src/Sigil/Dialogs/About.cpp 2012-08-30 10:28:23.000000000 +0200
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
QDateTime About::GetUTCBuildTime()
|
||||
{
|
||||
+/*
|
||||
QString time_string = QString::fromAscii( __TIME__ );
|
||||
QString date_string = QString::fromAscii( __DATE__ );
|
||||
|
||||
@@ -66,6 +67,8 @@
|
||||
date_match.cap( 2 ).toInt() );
|
||||
|
||||
return QDateTime( date, QTime::fromString( time_string, "hh:mm:ss" ) ).toUTC();
|
||||
+*/
|
||||
+ return QDateTime( QDate::fromString("@DATE@", "yyyyMMdd"), QTime::fromString( "@TIME@", "hh:mm:ss" ) ).toUTC();
|
||||
}
|
||||
|
||||
|
||||
--- src/Sigil/Dialogs/About.cpp~ 2012-10-27 20:24:40.000000000 +0200
|
||||
+++ src/Sigil/Dialogs/About.cpp 2012-11-05 20:35:06.656059675 +0100
|
||||
@@ -53,6 +53,7 @@
|
||||
|
||||
QDateTime About::GetUTCBuildTime()
|
||||
{
|
||||
+/*
|
||||
QString time_string = QString::fromAscii( __TIME__ );
|
||||
QString date_string = QString::fromAscii( __DATE__ );
|
||||
|
||||
@@ -67,6 +68,8 @@
|
||||
date_match.cap( 2 ).toInt() );
|
||||
|
||||
return QDateTime( date, QTime::fromString( time_string, "hh:mm:ss" ) ).toUTC();
|
||||
+*/
|
||||
+ return QDateTime( QDate::fromString("@DATE@", "yyyyMMdd"), QTime::fromString( "@TIME@", "hh:mm:ss" ) ).toUTC();
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 5 19:24:11 UTC 2012 - opensuse@dstoecker.de
|
||||
|
||||
- Update to release 0.6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 30 09:06:46 UTC 2012 - toms@opensuse.org
|
||||
|
||||
|
13
sigil.spec
13
sigil.spec
@ -17,7 +17,7 @@
|
||||
|
||||
Name: sigil
|
||||
Summary: Multi-platform WYSIWYG Ebook Editor
|
||||
Version: 0.5.3
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
License: GPL-3.0
|
||||
Group: Productivity/Other
|
||||
@ -32,12 +32,13 @@ BuildRequires: fdupes
|
||||
BuildRequires: cmake >= 2.8.0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libqt4-devel >= 4.7.0
|
||||
BuildRequires: libqt4-devel >= 4.8.0
|
||||
BuildRequires: libQtWebKit-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: update-desktop-files
|
||||
|
||||
BuildRequires: hunspell-devel
|
||||
BuildRequires: libxerces-c-devel
|
||||
|
||||
%description
|
||||
Sigil is a free and open source editor for the EPUB format.
|
||||
@ -117,8 +118,8 @@ install -m644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.deskt
|
||||
%dir %_datadir/%name
|
||||
%dir %_datadir/%name/translations
|
||||
%_datadir/%{name}/translations/*
|
||||
%dir %_datadir/%name/dictionaries
|
||||
%_datadir/%{name}/dictionaries/*
|
||||
|
||||
%dir %_datadir/%name/*dictionaries
|
||||
%_datadir/%{name}/*dictionaries/*
|
||||
%_datadir/%{name}/examples
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user