Correct the manpage and add a gnuplot-qt manpage (as link).
Resolves: #1611336
This commit is contained in:
parent
f4e8798e5c
commit
2c6dfec031
|
@ -0,0 +1,20 @@
|
||||||
|
diff --git a/man/gnuplot.1 b/man/gnuplot.1
|
||||||
|
index 93e605b18..b6c3d8c1b 100644
|
||||||
|
--- a/man/gnuplot.1
|
||||||
|
+++ b/man/gnuplot.1
|
||||||
|
@@ -48,13 +48,13 @@ Support for a huge variety of output devices and file formats.
|
||||||
|
.PP
|
||||||
|
\fB\-c scriptname ARG1 ARG2 ..., load script using gnuplot's "call" mechanism and pass it the remainder of the command line as arguments
|
||||||
|
.PP
|
||||||
|
-\fB\-d, \-\-default\fP settings. Do not read from gnuplotrc or ~/.gnuplot on entry.
|
||||||
|
+\fB\-d, \-\-default\-settings\fP settings. Do not read from gnuplotrc or ~/.gnuplot on entry.
|
||||||
|
.PP
|
||||||
|
\fB\-e "command list"\fP executes the requested commands before loading the next input file.
|
||||||
|
.PP
|
||||||
|
\fB\-h, \-\-help\fP print summary of usage
|
||||||
|
.PP
|
||||||
|
-\fB\-V\fP show current version
|
||||||
|
+\fB\-V, \-\-version\fP show current version
|
||||||
|
.SH X11 OPTIONS
|
||||||
|
For terminal type x11, \fIgnuplot\fP
|
||||||
|
accepts the standard X Toolkit options and resources such as geometry, font,
|
10
gnuplot.spec
10
gnuplot.spec
|
@ -32,6 +32,7 @@ Patch4: gnuplot-4.6.4-singlethread.patch
|
||||||
Patch5: gnuplot-5.0.0-lua_checkint.patch
|
Patch5: gnuplot-5.0.0-lua_checkint.patch
|
||||||
Patch6: gnuplot-5.2.4-no-lena.patch
|
Patch6: gnuplot-5.2.4-no-lena.patch
|
||||||
Patch7: gnuplot-5.2.2-doc.patch
|
Patch7: gnuplot-5.2.2-doc.patch
|
||||||
|
patch8: gnuplot-5.2.4-cmd-opts.patch
|
||||||
|
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
Requires: dejavu-sans-fonts
|
Requires: dejavu-sans-fonts
|
||||||
|
@ -163,6 +164,7 @@ plotting tool.
|
||||||
%patch5 -p1 -b .checkint
|
%patch5 -p1 -b .checkint
|
||||||
%patch6 -p1 -b .nolena
|
%patch6 -p1 -b .nolena
|
||||||
%patch7 -p1 -b .doc
|
%patch7 -p1 -b .doc
|
||||||
|
%patch8 -p1 -b .cmd-opts
|
||||||
sed -i -e 's:"/usr/lib/X11/app-defaults":"%{x11_app_defaults_dir}":' src/gplt_x11.c
|
sed -i -e 's:"/usr/lib/X11/app-defaults":"%{x11_app_defaults_dir}":' src/gplt_x11.c
|
||||||
iconv -f windows-1252 -t utf-8 ChangeLog > ChangeLog.aux
|
iconv -f windows-1252 -t utf-8 ChangeLog > ChangeLog.aux
|
||||||
mv ChangeLog.aux ChangeLog
|
mv ChangeLog.aux ChangeLog
|
||||||
|
@ -251,6 +253,10 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/ja/man1
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/ja/man1
|
||||||
mv $RPM_BUILD_ROOT%{_mandir}/man1/gnuplot-ja.1 $RPM_BUILD_ROOT/%{_mandir}/ja/man1/
|
mv $RPM_BUILD_ROOT%{_mandir}/man1/gnuplot-ja.1 $RPM_BUILD_ROOT/%{_mandir}/ja/man1/
|
||||||
|
ln -s gnuplot.1 $RPM_BUILD_ROOT/%{_mandir}/man1/gnuplot-qt.1
|
||||||
|
%if %{with wx}
|
||||||
|
ln -s gnuplot.1 $RPM_BUILD_ROOT/%{_mandir}/man1/gnuplot-wx.1
|
||||||
|
%endif
|
||||||
|
|
||||||
#ghost provide /usr/bin/gnuplot
|
#ghost provide /usr/bin/gnuplot
|
||||||
touch $RPM_BUILD_ROOT%{_bindir}/gnuplot
|
touch $RPM_BUILD_ROOT%{_bindir}/gnuplot
|
||||||
|
@ -301,6 +307,7 @@ fi
|
||||||
%files common
|
%files common
|
||||||
%doc BUGS ChangeLog Copyright NEWS README
|
%doc BUGS ChangeLog Copyright NEWS README
|
||||||
%{_mandir}/man1/gnuplot.1.gz
|
%{_mandir}/man1/gnuplot.1.gz
|
||||||
|
%{_mandir}/man1/gnuplot-qt.1.gz
|
||||||
%dir %{_datadir}/gnuplot
|
%dir %{_datadir}/gnuplot
|
||||||
%dir %{_datadir}/gnuplot/%{major}.%{minor}
|
%dir %{_datadir}/gnuplot/%{major}.%{minor}
|
||||||
%dir %{_datadir}/gnuplot/%{major}.%{minor}/PostScript
|
%dir %{_datadir}/gnuplot/%{major}.%{minor}/PostScript
|
||||||
|
@ -328,6 +335,7 @@ fi
|
||||||
%if %{with wx}
|
%if %{with wx}
|
||||||
%files wx
|
%files wx
|
||||||
%ghost %attr(0755,-,-) %{_bindir}/gnuplot
|
%ghost %attr(0755,-,-) %{_bindir}/gnuplot
|
||||||
|
%{_mandir}/man1/gnuplot-wx.1.gz
|
||||||
%doc ChangeLog Copyright
|
%doc ChangeLog Copyright
|
||||||
%{_bindir}/gnuplot-wx
|
%{_bindir}/gnuplot-wx
|
||||||
%endif
|
%endif
|
||||||
|
@ -354,6 +362,8 @@ fi
|
||||||
- Add workaround for broken info generation (upstream bug
|
- Add workaround for broken info generation (upstream bug
|
||||||
https://sourceforge.net/p/gnuplot/bugs/1963/) from Debian
|
https://sourceforge.net/p/gnuplot/bugs/1963/) from Debian
|
||||||
- Use explicit path for texdir
|
- Use explicit path for texdir
|
||||||
|
- Correct the description of command line options in manpage, bz#1611336
|
||||||
|
- Install gnuplot-qt and gnuplot-wx manpage links, bz#1611336
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-14
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.6-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue