Accepting request 430242 from home:DarkSS

- Update to 0.3.0
  * no upstream changes log.
- Deleted zeal-no-date-and-time.diff (can't find file to patch).
- Added man page via `help2man`.

OBS-URL: https://build.opensuse.org/request/show/430242
OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=15
This commit is contained in:
Dmitriy Perlow 2016-09-25 11:25:08 +00:00 committed by Git OBS Bridge
parent 779d660d06
commit cc3865164f
5 changed files with 55 additions and 17 deletions

3
zeal-0.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d723c6bc3cb08398d10e7c204929853c9d40d57431a5a16752630b258ae96dc1
size 920276

View File

@ -1,13 +0,0 @@
diff --git a/src/ui/aboutdialog.cpp b/src/ui/aboutdialog.cpp
index 304d962..483fda8 100644
--- a/src/ui/aboutdialog.cpp
+++ b/src/ui/aboutdialog.cpp
@@ -11,7 +11,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
const QString buildInfo
= QString(tr("<strong>Version:</strong> %1<br><strong>Built:</strong> %2"))
- .arg(QCoreApplication::applicationVersion(), QString("%1 %2").arg(__DATE__, __TIME__));
+ .arg(QCoreApplication::applicationVersion(), QString("via openSUSE Build Service"));
ui->buildInfoLabel->setText(buildInfo);
ui->buttonBox->setFocus(Qt::OtherFocusReason);

35
zeal.1 Normal file
View File

@ -0,0 +1,35 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.1.
.TH ZEAL "1" "September 2016" "Zeal 0.3.0" "User Commands"
.SH NAME
Zeal \- manual page for Zeal 0.3.0
.SH SYNOPSIS
.B zeal
[\fI\,options\/\fR] \fI\,url\/\fR
.SH DESCRIPTION
Zeal \- Offline documentation browser.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Displays this help.
.TP
\fB\-v\fR, \fB\-\-version\fR
Displays version information.
.TP
\fB\-f\fR, \fB\-\-force\fR
Force the application run.
.SS "Arguments:"
.TP
url
dash[\-plugin]:// URL
.SH "SEE ALSO"
The full documentation for
.B Zeal
is maintained as a Texinfo manual. If the
.B info
and
.B Zeal
programs are properly installed at your site, the command
.IP
.B info Zeal
.PP
should give you access to the complete manual.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Sep 25 10:51:38 UTC 2016 - dap.darkness@gmail.com
- Update to 0.3.0
* no upstream changes log.
- Deleted zeal-no-date-and-time.diff (can't find file to patch).
- Added man page via `help2man`.
-------------------------------------------------------------------
Sat May 21 17:48:35 UTC 2016 - mpluskal@suse.com

View File

@ -17,15 +17,16 @@
Name: zeal
Version: 0.2.1
Version: 0.3.0
Release: 0
Summary: Offline API documentation browser
License: GPL-3.0
Group: Development/Tools/Other
Url: http://zealdocs.org
Source0: https://github.com/zealdocs/zeal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE vs. file-contains-current-date WARNING:
Patch0: zeal-no-date-and-time.diff
# `help2man zeal > zeal.1` can't be run without X started.
Source9: zeal.1
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0
@ -55,7 +56,6 @@ Zeal is a simple offline API documentation browser inspired by Dash
%prep
%setup -q
%patch0 -p1
%build
%qmake5
@ -66,6 +66,10 @@ make %{?_smp_mflags} V=1
%suse_update_desktop_file -r %{name} Office Viewer
%fdupes -s %{buildroot}%{_datadir}
# Man pages:
mkdir -p %{buildroot}%{_mandir}/man1
cp %{SOURCE9} %{buildroot}%{_mandir}/man1
%post
%desktop_database_post
%icon_theme_cache_post
@ -78,6 +82,7 @@ make %{?_smp_mflags} V=1
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*