commit 70d75ac36913cfa9d55a42c9c273201abaad8d51
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Sep 11 23:00:49 2017 +0100
New target spec: new description, lower priority.
61-mscore-andale.conf | 16 ++++
61-mscore-arial.conf | 16 ++++
61-mscore-comic.conf | 16 ++++
61-mscore-courier.conf | 16 ++++
61-mscore-georgia.conf | 16 ++++
61-mscore-impact.conf | 16 ++++
61-mscore-times.conf | 16 ++++
61-mscore-trebuchet.conf | 16 ++++
61-mscore-verdana.conf | 16 ++++
61-mscore-webdings.conf | 16 ++++
Licen.TXT | 24 +++++
lpf-mscore-fonts.spec | 70 ++++++++++++++
mscore-fonts.spec.in | 240 +++++++++++++++++++++++++++++++++++++++++++++++
13 files changed, 494 insertions(+)
---
diff --git a/61-mscore-andale.conf b/61-mscore-andale.conf
new file mode 100644
index 0000000..76e8e68
--- /dev/null
+++ b/61-mscore-andale.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Andale Mono</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Andale Mono</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-arial.conf b/61-mscore-arial.conf
new file mode 100644
index 0000000..1fba2b8
--- /dev/null
+++ b/61-mscore-arial.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Arial</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Arial</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-comic.conf b/61-mscore-comic.conf
new file mode 100644
index 0000000..006ff6f
--- /dev/null
+++ b/61-mscore-comic.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>cursive</family>
+ <prefer>
+ <family>Comic Sans MS</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Comic Sans MS</family>
+ <default>
+ <family>cursive</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-courier.conf b/61-mscore-courier.conf
new file mode 100644
index 0000000..5b3f794
--- /dev/null
+++ b/61-mscore-courier.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Courier New</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Courier New</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-georgia.conf b/61-mscore-georgia.conf
new file mode 100644
index 0000000..5c1465f
--- /dev/null
+++ b/61-mscore-georgia.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Georgia</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Georgia</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-impact.conf b/61-mscore-impact.conf
new file mode 100644
index 0000000..1e54422
--- /dev/null
+++ b/61-mscore-impact.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Impact</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Impact</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-times.conf b/61-mscore-times.conf
new file mode 100644
index 0000000..d2aeab8
--- /dev/null
+++ b/61-mscore-times.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Times New Roman</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Times New Roman</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-trebuchet.conf b/61-mscore-trebuchet.conf
new file mode 100644
index 0000000..9f80ed5
--- /dev/null
+++ b/61-mscore-trebuchet.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Trebuchet MS</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Trebuchet MS</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-verdana.conf b/61-mscore-verdana.conf
new file mode 100644
index 0000000..f5894fc
--- /dev/null
+++ b/61-mscore-verdana.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Verdana</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Verdana</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/61-mscore-webdings.conf b/61-mscore-webdings.conf
new file mode 100644
index 0000000..d3ac20f
--- /dev/null
+++ b/61-mscore-webdings.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>dingbats</family>
+ <prefer>
+ <family>Webdings</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Webdings</family>
+ <default>
+ <family>dingbats</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/Licen.TXT b/Licen.TXT
new file mode 100644
index 0000000..35ba6ce
--- /dev/null
+++ b/Licen.TXT
@@ -0,0 +1,24 @@
+Microsoft TrueType Fonts
+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 "on-line" 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 not be distributed for profit either on a
standalone basis or included as part of your own product.
+2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
+� Limitations on Reverse Engineering, Decompilation, and Disassembly. You may 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.
+� Restrictions on Alteration. You may not rename, edit or create any derivative works
from the SOFTWARE PRODUCT, other than subsetting when embedding them in documents.
+� 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, 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-fonts.spec b/lpf-mscore-fonts.spec
new file mode 100644
index 0000000..03970dd
--- /dev/null
+++ b/lpf-mscore-fonts.spec
@@ -0,0 +1,70 @@
+# %%global will not work here, lazy evaluation needed.
+%define target_pkg %(t=%{name}; echo ${t#lpf-})
+
+Name: lpf-mscore-fonts
+Version: 2.2
+Release: 1%{?dist}
+Summary: Bootstrap package building mscore-fonts using lpf
+
+License: MIT
+URL:
https://github.com/leamas/lpf
+Group: Development/Tools
+BuildArch: noarch
+Source0: mscore-fonts.spec.in
+Source1: Licen.TXT
+Source2: 61-mscore-arial.conf
+Source3: 61-mscore-andale.conf
+Source4: 61-mscore-comic.conf
+Source5: 61-mscore-courier.conf
+Source6: 61-mscore-georgia.conf
+Source7: 61-mscore-impact.conf
+Source8: 61-mscore-times.conf
+Source9: 61-mscore-trebuchet.conf
+Source10: 61-mscore-verdana.conf
+Source11: 61-mscore-webdings.conf
+
+BuildRequires: desktop-file-utils
+BuildRequires: lpf
+Requires: lpf
+
+
+%description
+Bootstrap package allowing the lpf system to build the
+mscore-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} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
+ %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11}
+
+
+%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> - 2.2-1
+- New target spec: new description, lower priority.
+
+* Mon Feb 10 2014 Alec Leamas <leamas.alec(a)gmail.com> - 2.2-1
+- Initial release
diff --git a/mscore-fonts.spec.in b/mscore-fonts.spec.in
new file mode 100644
index 0000000..ca9bd55
--- /dev/null
+++ b/mscore-fonts.spec.in
@@ -0,0 +1,240 @@
+%global fontname mscore
+# directory to unpack truetype fonts from the cab into
+%global fontdir %{_datadir}/fonts/%{fontname}
+
+%global sf_corefonts
http://downloads.sourceforge.net/corefonts/the%20fonts/final
+
+Summary: Microsoft core TrueType fonts for better Windows Compatibility
+Name: %{fontname}-fonts
+Version: 1.0
+Release: 2%{?dist}
+
+URL:
http://mscorefonts2.sourceforge.net/
+License: non-redistributable, no commercial use, no modifications permitted
+Group: User Interface/X
+BuildArch: noarch
+Source1:
http://sourceforge.net/projects/mscorefonts2/files/cabs/EUupdate.EXE
+Source2: %{sf_corefonts}/andale32.exe
+Source3: %{sf_corefonts}/arialb32.exe
+Source4: %{sf_corefonts}/comic32.exe
+Source5: %{sf_corefonts}/courie32.exe
+Source6: %{sf_corefonts}/georgi32.exe
+Source7: %{sf_corefonts}/impact32.exe
+Source8: %{sf_corefonts}/webdin32.exe
+Source10: 61-%{fontname}-arial.conf
+Source11: 61-%{fontname}-andale.conf
+Source12: 61-%{fontname}-comic.conf
+Source13: 61-%{fontname}-courier.conf
+Source14: 61-%{fontname}-georgia.conf
+Source15: 61-%{fontname}-impact.conf
+Source16: 61-%{fontname}-times.conf
+Source17: 61-%{fontname}-trebuchet.conf
+Source18: 61-%{fontname}-verdana.conf
+Source19: 61-%{fontname}-webdings.conf
+
+Requires: xorg-x11-font-utils
+Requires: fontconfig
+Requires: %{fontname}-andale-fonts
+Requires: %{fontname}-arial-fonts
+Requires: %{fontname}-comic-fonts
+Requires: %{fontname}-courier-fonts
+Requires: %{fontname}-georgia-fonts
+Requires: %{fontname}-impact-fonts
+Requires: %{fontname}-times-fonts
+Requires: %{fontname}-trebuchet-fonts
+Requires: %{fontname}-verdana-fonts
+Requires: %{fontname}-webdings-fonts
+
+BuildRequires: cabextract
+BuildRequires: fontpackages-devel
+Provides: msttcore-fonts-installer = 2.6
+Provides: msttcorefonts = 2.1
+
+%description
+TrueType core fonts for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack/ , updated in the European
+Union Expansion Update circa May 2007, still available on the Microsoft
+website.
+
+This is a meta package pulling in the different fonts making the complete
+set.
+
+These fonts are very old and not on pair with current Windows fonts.
+Installing them is not likely to improve the overall experience on screen.
+However, in some cases pdf documents produced on Windows hosts are better
+rendered with these fonts installed.
+
+
+%package common
+Summary: Common support files
+
+%description common
+Common support files for %{fontname}-fonts packages including licenses.
+
+
+%package -n %{fontname}-arial-fonts
+Summary: %{fontname} Arial ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-arial-fonts
+Microsoft Arial font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack/ , updated in the European
+Union Expansion Update circa May 2007, still available on the Microsoft
+website.
+
+%_font_pkg -n arial -f *-%{fontname}-arial.conf Arial*.ttf AriBlk.TTF
+
+
+%package -n %{fontname}-times-fonts
+Summary: %{fontname} Times ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-times-fonts
+Microsoft Times font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack/, updated in the European
+Union Expansion Update circa May 2007, still available on the Microsoft
+website.
+
+%_font_pkg -n times -f *-%{fontname}-times.conf Times*.ttf
+
+
+%package -n %{fontname}-trebuchet-fonts
+Summary: %{fontname} Trebuchet ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-trebuchet-fonts
+Microsoft Trebuchet font for the web that prior to 2002 was available
+from
http://www.microsoft.com/typography/fontpack, updated
+in the European Union Expansion Update circa May 2007, still available
+on the Microsoft website.
+
+%_font_pkg -n trebuchet -f *-%{fontname}-trebuchet.conf trebuc*.ttf
+
+
+%package -n %{fontname}-verdana-fonts
+Summary: %{fontname} verdana ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-verdana-fonts
+Microsoft verdana font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack/, updated in the European
+Union Expansion Update circa May 2007, still available on the Microsoft
+website.
+
+%_font_pkg -n verdana -f *-%{fontname}-verdana.conf Verdana*.ttf
+
+
+%package -n %{fontname}-andale-fonts
+Summary: %{fontname} Andale Mono ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-andale-fonts
+Andale Mono font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n andale -f *-%{fontname}-andale.conf AndaleMo.TTF
+
+
+%package -n %{fontname}-comic-fonts
+Summary: %{fontname} comic ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-comic-fonts
+Comic bold and regular font for the web that prior to 2002 was available
+from
http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n comic -f *-%{fontname}-comic.conf Comic*.TTF
+
+
+%package -n %{fontname}-courier-fonts
+Summary: %{fontname} courier ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-courier-fonts
+Courier bold, bold italic, italic and regular font for the web that prior
+to 2002 was available from
http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n courier -f *-%{fontname}-courier.conf cour*ttf
+
+
+%package -n %{fontname}-georgia-fonts
+Summary: %{fontname} georgia ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-georgia-fonts
+Georgia font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n georgia -f *-%{fontname}-georgia.conf Georgi*TTF
+
+
+%package -n %{fontname}-impact-fonts
+Summary: %{fontname} impact ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-impact-fonts
+Impact font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n impact -f *-%{fontname}-impact.conf Impact.TTF
+
+
+%package -n %{fontname}-webdings-fonts
+Summary: %{fontname} webdings ttf font
+Requires: %{name}-common = %{version}-%{release}
+
+%description -n %{fontname}-webdings-fonts
+Webdings font for the web that prior to 2002 was available from
+http://www.microsoft.com/typography/fontpack.
+
+%_font_pkg -n webdings -f *-%{fontname}-webdings.conf Webdings.TTF
+
+
+%prep
+%setup -cT
+cabextract %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
+ %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8}
+sed -i 's/\r//' Licen.TXT
+touch -r Licen.TXT timestamp
+iconv -f iso8859-1 -t utf-8 Licen.TXT > Licen.TXT.conv && \
+ mv -f Licen.TXT.conv Licen.TXT
+touch -r timestamp Licen.TXT
+
+
+%build
+
+
+%install
+install -d $RPM_BUILD_ROOT/%{fontdir}
+install -m 644 -p *.ttf *.TTF $RPM_BUILD_ROOT/%{fontdir}
+install -m 0755 -d $RPM_BUILD_ROOT%{_fontconfig_templatedir} \
+ $RPM_BUILD_ROOT%{_fontconfig_confdir}
+for fontconf in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
+ %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19}
+do
+ install -m 0644 -p $fontconf %{buildroot}%{_fontconfig_templatedir}
+ basename=$( basename $fontconf )
+ ln -s %{_fontconfig_templatedir}/$basename \
+ %{buildroot}%{_fontconfig_confdir}/$basename
+done
+
+
+%files common
+%doc Licen.TXT
+
+%files
+
+
+%changelog
+* Fri Feb 14 2014 Alec Leamas<leamas.alec(a)gmail.com>
+- Lower config priority (55 -> 61)
+- New description, downplay fonts usefullness.
+
+* Mon Feb 10 2014 Alec Leamas <leamas(a)nowhere.net> - 1.0-1
+- Based on previous work available at
+
https://downloads.sourceforge.net/project/mscorefonts2/specs/msttcore-fon...
+- Adapting to lpf, don't download in scriptlets.
+- Fedora GL: package each font in separate sub-package.
+- Fedora GL: Base on font package template
+- Fedora GL: Rename using offical fedora -fonts suffix
+- Purging changelog