[fldigi-doc/f14/master] New package first build f14

Randall 'Randy' Berry dp67 at fedoraproject.org
Mon Oct 25 19:35:03 UTC 2010


commit 36bcd4eaacafb3a81d999f2acce3a987292c9610
Author: Randall Berry <randyn3lrx at gmail.com>
Date:   Mon Oct 25 15:34:17 2010 -0400

    New package first build f14

 FldigiHelp-3.20.tgz        |  Bin 0 -> 15510425 bytes
 fldigi-doc-html-link.patch |   52 ++++++++++++++++++++++
 fldigi-doc.desktop         |   13 ++++++
 fldigi-doc.png             |  Bin 0 -> 3779 bytes
 fldigi-doc.spec            |  104 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 169 insertions(+), 0 deletions(-)
---
diff --git a/FldigiHelp-3.20.tgz b/FldigiHelp-3.20.tgz
new file mode 100644
index 0000000..12d48c8
Binary files /dev/null and b/FldigiHelp-3.20.tgz differ
diff --git a/fldigi-doc-html-link.patch b/fldigi-doc-html-link.patch
new file mode 100644
index 0000000..19a5f1f
--- /dev/null
+++ b/fldigi-doc-html-link.patch
@@ -0,0 +1,52 @@
+diff -up ./Wizard.html.diff ./Wizard.html
+--- ./Wizard.html.diff	2010-03-04 20:18:00.000000000 -0500
++++ ./Wizard.html	2010-09-07 07:22:07.197611134 -0400
+@@ -14,22 +14,22 @@ wizard dialog pages on the associated co
+       <td style="vertical-align: top; text-align: center;"><img style="width: 510px; height: 429px;" alt="" src="images/wizard_1.png"><br>
+       </td>
+       <td style="vertical-align: top; text-align: center;"><img style="width: 510px; height: 429px;" alt="" src="images/wizard_2.png"><br>
+-      <a href="file:///home/dave/W1HKJ/FldigiHelp-3.20/ConfigOperator.html">Operator Configuration</a><br>
++      <a href="ConfigOperator.html">Operator Configuration</a><br>
+       </td>
+     </tr>
+     <tr>
+       <td style="vertical-align: top; text-align: center;"><img style="width: 510px; height: 429px;" alt="" src="images/wizard_3.png"><br>
+-      <a href="file:///home/dave/W1HKJ/FldigiHelp-3.20/SoundCardSetup.html">Sound Card Configuration</a><br>
++      <a href="SoundCardSetup.html">Sound Card Configuration</a><br>
+       </td>
+       <td style="vertical-align: top; text-align: center;"><img style="width: 510px; height: 429px;" alt="" src="images/wizard_4.png"><br>
+-      <a href="file:///home/dave/W1HKJ/FldigiHelp-3.20/TransceiverControl.html">Transceiver Configuration</a><br>
++      <a href="TransceiverControl.html">Transceiver Configuration</a><br>
+       </td>
+     </tr>
+   </tbody>
+ </table>
+ <br>
+-<div style="text-align: center;"><a href="file:///home/dave/W1HKJ/FldigiHelp-3.20/index.html">Contents</a><br>
++<div style="text-align: center;"><a href="index.html">Contents</a><br>
+ </div>
+ 
+ <br>
+-</body></html>
+\ No newline at end of file
++</body></html>
+diff -up ./WorkingLogs.html.diff ./WorkingLogs.html
+--- ./WorkingLogs.html.diff	2010-03-03 13:01:00.000000000 -0500
++++ ./WorkingLogs.html	2010-09-07 07:22:11.956610494 -0400
+@@ -16,4 +16,4 @@ data is identical to that which can be v
+ which is opened using the menu item "Help/Event log"<br><br><img style="width: 522px; height: 189px;" alt="" src="images/event-log.png"> <img style="width: 522px; height: 189px;" alt="" src="images/event-log-menu.png"><br><br>There are five levels of event logging with increasing depth of reports:<br><br><img style="width: 171px; height: 29px;" alt="" src="images/event-log-quiet.png"> <img style="width: 170px; height: 25px;" alt="" src="images/event-log-error.png">&nbsp;<img style="width: 186px; height: 24px;" alt="" src="images/event-log-warning.png">&nbsp;<img style="width: 162px; height: 24px;" alt="" src="images/event-log-info.png">&nbsp;<img style="width: 177px; height: 25px;" alt="" src="images/event-log-debug.png"><br><br>The default level for logging events is "warning."<br><br>At
+ the Debug level you will probably see more events than you need.
+ &nbsp;You can select which events to suppress using the "Log sources"
+-menu button. &nbsp;It defaults to all enabled.<br><br><div style="text-align: center;"><a href="file:///home/dave/dev/dev.FLDIGI/FldigiHelp.working/index.html">Contents</a><br><br></div></body></html>
+\ No newline at end of file
++menu button. &nbsp;It defaults to all enabled.<br><br><div style="text-align: center;"><a href="index.html">Contents</a><br><br></div></body></html>
+diff -up ./xmlrpc-control.html.diff ./xmlrpc-control.html
+--- ./xmlrpc-control.html.diff	2010-03-03 13:02:00.000000000 -0500
++++ ./xmlrpc-control.html	2010-09-07 07:05:37.851607136 -0400
+@@ -129,4 +129,4 @@ interface then has this appearance:<br>
+ <br>
+ <img style="width: 901px; height: 207px;" alt="" src="images/UI-minimized.png"><br>
+ <br>
+-The documentation for the external control program will provide additional information if this user interface is desired.<br>&nbsp;<br><div style="text-align: center;"><a href="file:///home/dave/dev/dev.FLDIGI/FldigiHelp.working/index.html">Contents</a><br></div></body></html>
+\ No newline at end of file
++The documentation for the external control program will provide additional information if this user interface is desired.<br>&nbsp;<br><div style="text-align: center;"><a href="index.html">Contents</a><br></div></body></html>
diff --git a/fldigi-doc.desktop b/fldigi-doc.desktop
new file mode 100644
index 0000000..63deb22
--- /dev/null
+++ b/fldigi-doc.desktop
@@ -0,0 +1,13 @@
+
+[Desktop Entry]
+Name=Fldigi-doc
+GenericName=fldigi-doc
+Comment=Documentation for Fldigi
+Exec=htmlview /usr/share/doc/fldigi-doc/index.html
+Icon=fldigi-doc
+Terminal=false
+Type=Application
+Categories=Network;Documentation;
+StartupNotify=true
+Version=1.0
+X-Desktop-File-Install-Version=0.16
diff --git a/fldigi-doc.png b/fldigi-doc.png
new file mode 100644
index 0000000..d919264
Binary files /dev/null and b/fldigi-doc.png differ
diff --git a/fldigi-doc.spec b/fldigi-doc.spec
new file mode 100644
index 0000000..b4fce44
--- /dev/null
+++ b/fldigi-doc.spec
@@ -0,0 +1,104 @@
+# Documentation Specfile
+
+Name:           fldigi-doc
+Version:        3.20
+Release:        3%{?dist}
+Summary:        Documentation for the Fldigi project
+Group:          Documentation
+# License information gathered from License.html included in this package.
+License:        LGPLv2+
+URL:            http://www.w1hkj.com/FldigiHelp-3.20/index.html
+# Temporary download directory may change
+Source0:        http://www.w1hkj.com/downloads/fldigi/FldigiHelp-3.20.tgz
+Source1:        %{name}.png
+Source2:        %{name}.desktop
+# Fix hard links to Authors /home directory upstream contacted.
+Patch0:         %{name}-html-link.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  desktop-file-utils
+Requires:       fldigi
+
+%description
+Documentation for the Fldigi project. A ham radio digital mode application.
+This documentation package provides the entire set of documents provided
+on the fldigi website http://www.w1hkj.com/FldigiHelp-3.20/index.html
+Packaged for local install for remote events in which the operator may
+not have internet access to read online documentation.
+
+%prep
+%setup -q -n FldigiHelp-3.20
+# Fix hardlinks to Authors /home directory.
+%patch0 -p1 -b %{name}-html-link.patch
+ 
+# Remove redundant archive from source.
+rm ./Modes/modes.zip
+
+%build
+# HTML documents no build needed
+
+%install
+rm -rf $RPM_BUILD_ROOT
+DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/images
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/murray
+
+install -p -D -m 0644 *.html $RPM_BUILD_ROOT%{_docdir}/%{name}/
+install -p -D -m 0644 ./images/*.png $RPM_BUILD_ROOT%{_docdir}/%{name}/images/
+install -p -D -m 0644 ./images/*.PNG $RPM_BUILD_ROOT%{_docdir}/%{name}/images/
+install -p -D -m 0644 ./images/*.jpg $RPM_BUILD_ROOT%{_docdir}/%{name}/images/
+install -p -D -m 0644 ./Modes/*.wav $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/
+install -p -D -m 0644 ./Modes/*.png $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/
+install -p -D -m 0644 ./Modes/*.gif $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/
+install -p -D -m 0644 ./Modes/*.htm $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/
+install -p -D -m 0644 ./Modes/*.css $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/
+install -p -D -m 0644 ./Modes/murray/*.htm $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/murray/
+install -p -D -m 0644 ./Modes/murray/*.xls $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/murray/
+install -p -D -m 0644 ./Modes/murray/*.gif $RPM_BUILD_ROOT%{_docdir}/%{name}/Modes/murray/
+
+# Install .desktop icon
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
+cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
+
+desktop-file-install \
+    --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%dir %{_docdir}/%{name}/
+%dir %{_docdir}/%{name}/images/
+%dir %{_docdir}/%{name}/Modes/
+%dir %{_docdir}/%{name}/Modes/murray/
+%{_docdir}/%{name}/*.html
+%{_docdir}/%{name}/images/*.png
+%{_docdir}/%{name}/images/*.PNG
+%{_docdir}/%{name}/images/*.jpg
+%{_docdir}/%{name}/Modes/*.wav
+%{_docdir}/%{name}/Modes/*.png
+%{_docdir}/%{name}/Modes/*.gif
+%{_docdir}/%{name}/Modes/*.htm
+%{_docdir}/%{name}/Modes/*.css
+%{_docdir}/%{name}/Modes/murray/*.gif
+%{_docdir}/%{name}/Modes/murray/*.htm
+%{_docdir}/%{name}/Modes/murray/*.xls
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%changelog
+* Fri Oct 22 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraproject.org> - 3.20-3
+- Fixed spec mixed use of space/tab in spec (rpmlint)
+- Fixed invalid source URL (rpmlint)
+
+* Tue Sep 14 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraproject.org> - 3.20-2
+- Fix .desktop wrong path
+
+* Sun Sep 5 2010 Randall "Randy" Berry, N3LRX <dp67 at fedoraproject.org> - 3.20-1
+- Initial spec build
+- Submit for review
+


More information about the scm-commits mailing list