commit b6a9c1d619fac57abade61820c8fe42732bdcabb
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Sep 12 12:42:48 2017 +0100
Changed description, downplaying usefullness.
Lowered config priority (55 -> 61).
61-mscore-tahoma.conf | 16 ++++++++
License.txt | 97 ++++++++++++++++++++++++++++++++++++++++++++
lpf-mscore-tahoma-fonts.spec | 62 ++++++++++++++++++++++++++++
mscore-tahoma-fonts.spec.in | 63 ++++++++++++++++++++++++++++
4 files changed, 238 insertions(+)
---
diff --git a/61-mscore-tahoma.conf b/61-mscore-tahoma.conf
new file mode 100644
index 0000000..dc97a3b
--- /dev/null
+++ b/61-mscore-tahoma.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Tahoma</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Tahoma</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/License.txt b/License.txt
new file mode 100644
index 0000000..646b784
--- /dev/null
+++ b/License.txt
@@ -0,0 +1,97 @@
+Microsoft Viewer for Word
+END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
+
+------------------------
+IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement
+("EULA") is a legal agreement between you (either an individual or a single
+entity) and Microsoft Corporation for the Microsoft software accompanying
+this EULA, which includes computer software and may include associated
+media, printed materials, and "online" or electronic documentation
+("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your rights to make
and
+use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of
+this EULA. If you do not agree to the terms of this EULA, you may not use
+the SOFTWARE PRODUCT.
+
+------------------------
+Software PRODUCT LICENSE
+
+The SOFTWARE PRODUCT is protected by copyright laws and international
+copyright treaties, as well as other intellectual property laws and
+treaties. The SOFTWARE PRODUCT is licensed, not sold.
+
+1. GRANT OF LICENSE. This EULA grants you the following rights:
+- Installation and Use. You may install and use an unlimited number of
+copies of the SOFTWARE PRODUCT.
+- Reproduction and Distribution. You may reproduce and distribute an
+unlimited number of copies of the SOFTWARE PRODUCT; provided that each
+copy shall be a true and complete copy, including all copyright and
+trademark notices, and shall be accompanied by a copy of this EULA. Copies
+of the SOFTWARE PRODUCT may be distributed as a standalone product or
+included with your own product.
+
+2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
+- Limitations on Reverse Engineering, Decompilation, and Disassembly. You
+ay not reverse engineer, decompile, or disassemble the SOFTWARE PRODUCT,
+except and only to the extent that such activity is expressly permitted by
+applicable law notwithstanding this limitation.
+- Separation of Components. The SOFTWARE PRODUCT is licensed as a single
+product. Its component parts may not be separated for use on more than one
+computer.
+- Software Transfer. You may permanently transfer all of your rights under
+this EULA, provided the recipient agrees to the terms of this EULA.
+- Termination. Without prejudice to any other rights, Microsoft may
+terminate this EULA if you fail to comply with the terms and conditions of
+this EULA. In such event, you must destroy all copies of the SOFTWARE
+PRODUCT and all of its component parts.
+
+3. COPYRIGHT. All title and copyrights in and to the SOFTWARE PRODUCT
+(including but not limited to any images, photographs, animations, video,
+audio, music, text, and "applets" incorporated into the SOFTWARE PRODUCT),
+the accompanying printed materials, and any copies of the SOFTWARE PRODUCT
+are owned by Microsoft or its suppliers. The SOFTWARE PRODUCT is protected
+by copyright laws and international treaty provisions. Therefore, you must
+treat the SOFTWARE PRODUCT like any other copyrighted material.
+
+4. U.S. GOVERNMENT RESTRICTED RIGHTS. The SOFTWARE PRODUCT and
+documentation are provided with RESTRICTED RIGHTS. Use, duplication, or
+disclosure by the Government is subject to restrictions as set forth in
+subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer
+Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of
+the Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as
+applicable. Manufacturer is Microsoft Corporation/One Microsoft
+Way/Redmond, WA 98052-6399.
+
+----------------
+LIMITED WARRANTY
+
+NO WARRANTIES. Microsoft expressly disclaims any warranty for the SOFTWARE
+PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided "as
+is" without warranty of any kind, either express or implied, including,
+without limitation, the implied warranties or merchantability, fitness for
+a particular purpose, or noninfringement. The entire risk arising out of
+use or performance of the SOFTWARE PRODUCT remains with you.
+
+NO LIABILITY FOR CONSEQUENTIAL DAMAGES. In no event shall Microsoft or its
+suppliers be liable for any damages whatsoever (including, without
+limitation, damages for loss of business profits, business interruption,
+loss of business information, or any other pecuniary loss) arising out of
+the use of or inability to use this Microsoft product, even if Microsoft
+has been advised of the possibility of such damages. Because some
+states/jurisdictions do not allow the exclusion or limitation of liability
+for consequential or incidental damages, the above limitation may not apply
+to you.
+
+--------------
+Miscellaneous:
+
+If you acquired this product in the United States, this EULA is governed by
+the laws of the State of Washington.
+
+If this product was acquired outside the United States, then local laws may
+apply.
+
+Should you have any questions concerning this EULA, or if you desire to
+contact Microsoft for any reason, please contact the Microsoft subsidiary
+serving your country, or write: Microsoft Sales Information Center/One
+Microsoft Way/Redmond, WA 98052-6399.
+
diff --git a/lpf-mscore-tahoma-fonts.spec b/lpf-mscore-tahoma-fonts.spec
new file mode 100644
index 0000000..c1f1ac5
--- /dev/null
+++ b/lpf-mscore-tahoma-fonts.spec
@@ -0,0 +1,62 @@
+# %%global will not work here, lazy evaluation needed.
+%define target_pkg %(t=%{name}; echo ${t#lpf-})
+
+Name: lpf-mscore-tahoma-fonts
+Version: 1.0
+Release: 1%{?dist}
+Summary: Bootstrap package building mscore-tahoma-fonts using lpf
+
+License: MIT
+URL:
https://github.com/leamas/lpf
+Group: Development/Tools
+BuildArch: noarch
+Source0: mscore-tahoma-fonts.spec.in
+Source1: License.txt
+Source2: 61-mscore-tahoma.conf
+
+
+BuildRequires: desktop-file-utils
+BuildRequires: lpf
+Requires: lpf
+
+
+%description
+Bootstrap package allowing the lpf system to build the
+mscore-tahoma-fonts non-redistributable package.
+
+
+%prep
+%setup -cT
+
+
+%build
+
+
+%install
+# lpf-setup-pkg [-e eula] <topdir> <specfile> [sources...]
+/usr/share/lpf/scripts/lpf-setup-pkg -e %{SOURCE1} %{buildroot} %{SOURCE0} \
+ %{SOURCE2}
+
+
+%post
+%lpf_post
+
+%postun
+%lpf_postun
+
+%lpf_triggerpostun
+
+
+%files
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/lpf/packages/%{target_pkg}
+%attr(775,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}
+
+
+%changelog
+* Fri Feb 14 2014 Alec Leamas <leamas.alec(a)gmail.com> - 1.0-1
+- Changed description, downplaying usefullness.
+- Lowered config priority (55 -> 61).
+
+* Mon Feb 10 2014 Alec Leamas <leamas(a)nowhere.net> - 1.0-1
+- Initial release
diff --git a/mscore-tahoma-fonts.spec.in b/mscore-tahoma-fonts.spec.in
new file mode 100644
index 0000000..54ec29e
--- /dev/null
+++ b/mscore-tahoma-fonts.spec.in
@@ -0,0 +1,63 @@
+%global fontname mscore
+%global sf_corefonts
http://downloads.sourceforge.net/corefonts/the%20fonts/final
+
+Summary: Microsoft core Tahoma fonts for better Windows Compatibility
+Name: %{fontname}-tahoma-fonts
+Version: 1.0
+Release: 1%{?dist}
+
+URL:
http://mscorefonts2.sourceforge.net/
+License: non-redistributable, no modifications permitted
+Group: User Interface/X
+BuildArch: noarch
+Source0: License.txt
+Source1: %{sf_corefonts}/wd97vwr32.exe
+Source2: 61-%{fontname}-tahoma.conf
+
+Requires: xorg-x11-font-utils
+Requires: fontconfig
+
+BuildRequires: cabextract
+BuildRequires: fontpackages-devel
+
+
+%description
+TTF Tahoma fonts that were made available to the public in the Word Reader
+package.
+
+These are old fonts, not on pair with current Windows fonts. They are not
+likely to improve the overall screen experience. However, there are
+cases when printing pdf files generated on Windows hosts works better with
+these fonts installed.
+
+
+%prep
+%setup -cT
+cabextract %{SOURCE1}
+cabextract Viewer1.cab
+
+
+%build
+
+
+%install
+install -d $RPM_BUILD_ROOT/%{_datadir}/fonts/%{fontname}
+install -pm 644 *.ttf $RPM_BUILD_ROOT/%{_datadir}/fonts/%{fontname}
+install -dm 0755 $RPM_BUILD_ROOT%{_fontconfig_templatedir} \
+ $RPM_BUILD_ROOT%{_fontconfig_confdir}
+install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}
+basename=$( basename %{SOURCE2} )
+ln -s %{_fontconfig_templatedir}/$basename \
+ %{buildroot}%{_fontconfig_confdir}/$basename
+
+
+%_font_pkg -n tahoma -f *-%{fontname}-tahoma.conf *.ttf
+
+
+%changelog
+* Fri Feb 14 2014 Alec Leamas <leamas.alec(a)gmail.com> - 1.0-1
+- Updated description, downplaying usefullness.
+- Lower config file priority (55 -> 61).
+
+* Mon Feb 10 2014 Alec Leamas <leamas(a)nowhere.net> - 1.0-1
+- Initial release.