diff --git a/zeal-0.2.1.tar.gz b/zeal-0.2.1.tar.gz deleted file mode 100644 index 05f6589..0000000 --- a/zeal-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:994c5fad079cb34952fc05b0663920118489ed7f00f8e5a5887ff2e2bd05861d -size 914998 diff --git a/zeal-0.3.0.tar.gz b/zeal-0.3.0.tar.gz new file mode 100644 index 0000000..9314b3f --- /dev/null +++ b/zeal-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d723c6bc3cb08398d10e7c204929853c9d40d57431a5a16752630b258ae96dc1 +size 920276 diff --git a/zeal-no-date-and-time.diff b/zeal-no-date-and-time.diff deleted file mode 100644 index cd80afb..0000000 --- a/zeal-no-date-and-time.diff +++ /dev/null @@ -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("Version: %1
Built: %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); diff --git a/zeal.1 b/zeal.1 new file mode 100644 index 0000000..31e0e1c --- /dev/null +++ b/zeal.1 @@ -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. diff --git a/zeal.changes b/zeal.changes index 7cd719d..f1efc8c 100644 --- a/zeal.changes +++ b/zeal.changes @@ -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 diff --git a/zeal.spec b/zeal.spec index 247eff7..44d4266 100644 --- a/zeal.spec +++ b/zeal.spec @@ -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}*