diff --git a/anda/fonts/cleartype/61-cleartype-calibri.conf b/anda/fonts/cleartype/61-cleartype-calibri.conf new file mode 100644 index 0000000000..b274e35648 --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-calibri.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Calibri + + + + Calibri + + sans-serif + + + diff --git a/anda/fonts/cleartype/61-cleartype-cambria.conf b/anda/fonts/cleartype/61-cleartype-cambria.conf new file mode 100644 index 0000000000..9366092911 --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-cambria.conf @@ -0,0 +1,16 @@ + + + + + serif + + Cambria + + + + Cambria + + serif + + + diff --git a/anda/fonts/cleartype/61-cleartype-candara.conf b/anda/fonts/cleartype/61-cleartype-candara.conf new file mode 100644 index 0000000000..9b847903aa --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-candara.conf @@ -0,0 +1,16 @@ + + + + + serif + + Candara + + + + Candara + + serif + + + diff --git a/anda/fonts/cleartype/61-cleartype-consolas.conf b/anda/fonts/cleartype/61-cleartype-consolas.conf new file mode 100644 index 0000000000..53f50c8bac --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-consolas.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Consolas + + + + Consolas + + monospace + + + diff --git a/anda/fonts/cleartype/61-cleartype-constantia.conf b/anda/fonts/cleartype/61-cleartype-constantia.conf new file mode 100644 index 0000000000..02007bf125 --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-constantia.conf @@ -0,0 +1,16 @@ + + + + + serif + + Constantia + + + + Constantia + + serif + + + diff --git a/anda/fonts/cleartype/61-cleartype-corbel.conf b/anda/fonts/cleartype/61-cleartype-corbel.conf new file mode 100644 index 0000000000..56ad63b0bf --- /dev/null +++ b/anda/fonts/cleartype/61-cleartype-corbel.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Corbel + + + + Corbel + + sans-serif + + + diff --git a/anda/fonts/cleartype/anda.hcl b/anda/fonts/cleartype/anda.hcl new file mode 100644 index 0000000000..6807fb64d1 --- /dev/null +++ b/anda/fonts/cleartype/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "cleartype-fonts.spec" + } +} diff --git a/anda/fonts/cleartype/cleartype-fonts.spec b/anda/fonts/cleartype/cleartype-fonts.spec new file mode 100644 index 0000000000..a4232b41ab --- /dev/null +++ b/anda/fonts/cleartype/cleartype-fonts.spec @@ -0,0 +1,146 @@ +%global debug_package %{nil} +%global fontname cleartype +%global fontlicense Microsoft EULA +%global fontlicenses EULA eula.txt + +%global fontfamily1 ClearType Calibri +%global fontsummary1 ClearType Calibri TTF font +%global fontpkgheader1 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts1 CALIBR*.TTF +%global fontconfs1 %{SOURCE1} +%global fontdescription1 %{expand: +%{common_description} +Microsoft Calibri font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +%global fontfamily2 ClearType Cambria +%global fontsummary2 ClearType Cambria TTF font +%global fontpkgheader2 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts2 CAMBRI*.TTF +%global fontconfs2 %{SOURCE2} +%global fontdescription2 %{expand: +%{common_description} +Microsoft Cambria font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +%global fontfamily3 ClearType Candara +%global fontsummary3 ClearType Candara TTF font +%global fontpkgheader3 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts3 CANDAR*.TTF +%global fontconfs3 %{SOURCE3} +%global fontdescription3 %{expand: +%{common_description} +Microsoft Candara font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +%global fontfamily4 ClearType Consolas +%global fontsummary4 ClearType Consolas TTF font +%global fontpkgheader4 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts4 CONSOL*.TTF +%global fontconfs4 %{SOURCE4} +%global fontdescription4 %{expand: +%{common_description} +Microsoft Consolas font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +%global fontfamily5 ClearType Constantia +%global fontsummary5 ClearType Constantia TTF font +%global fontpkgheader5 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts5 CONSTAN*.TTF +%global fontconfs5 %{SOURCE5} +%global fontdescription5 %{expand: +%{common_description} +Microsoft Constantia font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +%global fontfamily6 ClearType Corbel +%global fontsummary6 ClearType Corbel TTF font +%global fontpkgheader6 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts6 CORBEL*.TTF +%global fontconfs6 %{SOURCE6} +%global fontdescription6 %{expand: +%{common_description} +Microsoft Corbel font, part of the ClearType collection made available +in the PowerPointViewer package, still available on the Microsoft website. +} + +Name: %{fontname}-fonts +Version: 1.0 +Release: 1%{?dist} +Summary: Package containing ClearType fonts. +License: LicenseRef-MS-Core-Fonts +URL: http://mscorefonts2.sourceforge.net +Group: User Interface/X +Source0: http://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe +Source1: 61-%{fontname}-calibri.conf +Source2: 61-%{fontname}-cambria.conf +Source3: 61-%{fontname}-candara.conf +Source4: 61-%{fontname}-consolas.conf +Source5: 61-%{fontname}-constantia.conf +Source6: 61-%{fontname}-corbel.conf +BuildRequires: cabextract +BuildRequires: fontpackages-devel +Requires: xorg-x11-font-utils +Requires: fontconfig +Requires: %{fontname}-calibri-fonts +Requires: %{fontname}-cambria-fonts +Requires: %{fontname}-candara-fonts +Requires: %{fontname}-consolas-fonts +Requires: %{fontname}-constantia-fonts +Requires: %{fontname}-corbel-fonts +Requires(post): fontconfig +BuildArch: noarch +Packager: ShinyGil + +%fontpkg -a + +%description +ClearType fonts made available to the public in the PowerPoint Viewer package in 2006. + +%prep +%setup -cT +cabextract %{SOURCE0} +cabextract ppviewer.cab +%forgesetup -a + +%build +%fontbuild -a + +%install +%fontinstall -a + +%check +%fontcheck -a +%fontfiles -a + +%post +/usr/bin/fc-cache + +%files + +%changelog +* Mon Feb 24 2025 ShinyGil +- Initial package diff --git a/anda/fonts/ms-core-tahoma/61-ms-core-tahoma.conf b/anda/fonts/ms-core-tahoma/61-ms-core-tahoma.conf new file mode 100644 index 0000000000..f95f9a8b5a --- /dev/null +++ b/anda/fonts/ms-core-tahoma/61-ms-core-tahoma.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Tahoma + + + + Tahoma + + sans-serif + + + diff --git a/anda/fonts/ms-core-tahoma/anda.hcl b/anda/fonts/ms-core-tahoma/anda.hcl new file mode 100644 index 0000000000..4fca01acee --- /dev/null +++ b/anda/fonts/ms-core-tahoma/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "ms-core-tahoma-fonts.spec" + } +} diff --git a/anda/fonts/ms-core-tahoma/ms-core-tahoma-fonts.spec b/anda/fonts/ms-core-tahoma/ms-core-tahoma-fonts.spec new file mode 100644 index 0000000000..ed6a678987 --- /dev/null +++ b/anda/fonts/ms-core-tahoma/ms-core-tahoma-fonts.spec @@ -0,0 +1,66 @@ +%global fontlicense Microsoft EULA +%global fontlicenses License.txt + +%global fontfamily1 MS Core Tahoma +%global fontsummary1 Tahoma TTF font +%global fontpkgheader1 %{expand: +Obsoletes: %{name}-common < 1.0-5 +} + +%global fonts1 tahoma.ttf +%global fontconfs1 %{SOURCE1} +%global fontdescription1 %{expand: +%{common_description} +TTF Tahoma fonts that were made available to the public in the Word Reader +package. +} + +### Different name because of font package and setup macro weirdness +Name: mscore-tahoma-fonts +Version: 1.0 +Release: 1%{?dist} +Summary: Microsoft core Tahoma fonts for better Windows compatibility +License: LicenseRef-MS-Core-Fonts +URL: https://github.com/leamas/lpf +Group: User Interface/X +Source0: http://downloads.sourceforge.net/corefonts/the%%20fonts/final/wd97vwr32.exe +Source1: 61-ms-core-tahoma.conf +BuildRequires: cabextract +BuildRequires: fontpackages-devel +Requires: xorg-x11-font-utils +Requires: fontconfig +BuildArch: noarch +Packager: ShinyGil + +%fontpkg -a + +%description +TTF Tahoma fonts that were made available to the public in the Word Reader package. + +Improves the look of Windows documents. + + +%prep +%setup -cT +cabextract %{SOURCE0} +cabextract Viewer1.cab +%forgesetup -a + +%build +%fontbuild -a + +%install +%fontinstall -a + +%check +%fontcheck -a +%fontfiles -a + +%post +/usr/bin/fc-cache + +%files + +%changelog +* Mon Feb 24 2025 ShinyGil +- Initial package diff --git a/anda/fonts/ms-core-tahoma/post.rhai b/anda/fonts/ms-core-tahoma/post.rhai new file mode 100644 index 0000000000..4a8b4d90a3 --- /dev/null +++ b/anda/fonts/ms-core-tahoma/post.rhai @@ -0,0 +1,2 @@ +// Remove empty build package +sh("rm anda-build/rpm/rpms/mscore-*.rpm", #{}); diff --git a/anda/fonts/ms-core/61-ms-core-andale.conf b/anda/fonts/ms-core/61-ms-core-andale.conf new file mode 100644 index 0000000000..bc5ed9a1e3 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-andale.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Andale Mono + + + + Andale Mono + + monospace + + + diff --git a/anda/fonts/ms-core/61-ms-core-arial.conf b/anda/fonts/ms-core/61-ms-core-arial.conf new file mode 100644 index 0000000000..9b17e5e225 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-arial.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Arial + + + + Arial + + sans-serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-comic.conf b/anda/fonts/ms-core/61-ms-core-comic.conf new file mode 100644 index 0000000000..99c9c8d6d6 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-comic.conf @@ -0,0 +1,16 @@ + + + + + cursive + + Comic Sans MS + + + + Comic Sans MS + + cursive + + + diff --git a/anda/fonts/ms-core/61-ms-core-courier.conf b/anda/fonts/ms-core/61-ms-core-courier.conf new file mode 100644 index 0000000000..8b79a00fe6 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-courier.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Courier New + + + + Courier New + + monospace + + + diff --git a/anda/fonts/ms-core/61-ms-core-georgia.conf b/anda/fonts/ms-core/61-ms-core-georgia.conf new file mode 100644 index 0000000000..334f3e9d8a --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-georgia.conf @@ -0,0 +1,16 @@ + + + + + serif + + Georgia + + + + Georgia + + serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-impact.conf b/anda/fonts/ms-core/61-ms-core-impact.conf new file mode 100644 index 0000000000..0b7c1f1370 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-impact.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Impact + + + + Impact + + sans-serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-times.conf b/anda/fonts/ms-core/61-ms-core-times.conf new file mode 100644 index 0000000000..8e988d820c --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-times.conf @@ -0,0 +1,16 @@ + + + + + serif + + Times New Roman + + + + Times New Roman + + serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-trebuchet.conf b/anda/fonts/ms-core/61-ms-core-trebuchet.conf new file mode 100644 index 0000000000..db15919b85 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-trebuchet.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Trebuchet MS + + + + Trebuchet MS + + sans-serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-verdana.conf b/anda/fonts/ms-core/61-ms-core-verdana.conf new file mode 100644 index 0000000000..e13e2a1f37 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-verdana.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Verdana + + + + Verdana + + sans-serif + + + diff --git a/anda/fonts/ms-core/61-ms-core-webdings.conf b/anda/fonts/ms-core/61-ms-core-webdings.conf new file mode 100644 index 0000000000..fc76c0a298 --- /dev/null +++ b/anda/fonts/ms-core/61-ms-core-webdings.conf @@ -0,0 +1,16 @@ + + + + + dingbats + + Webdings + + + + Webdings + + dingbats + + + diff --git a/anda/fonts/ms-core/anda.hcl b/anda/fonts/ms-core/anda.hcl new file mode 100644 index 0000000000..14df81c230 --- /dev/null +++ b/anda/fonts/ms-core/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "ms-core-fonts.spec" + } +} diff --git a/anda/fonts/ms-core/ms-core-fonts.spec b/anda/fonts/ms-core/ms-core-fonts.spec new file mode 100644 index 0000000000..b0ed4229c6 --- /dev/null +++ b/anda/fonts/ms-core/ms-core-fonts.spec @@ -0,0 +1,229 @@ +%global fontname ms-core +%global sf_corefonts http://downloads.sourceforge.net/corefonts/the%20fonts/final +%global fontlicense Microsoft EULA +%global fontlicenses Licen.TXT + +%global fontfamily1 MS Core Andale +%global fontsummary1 Microsoft Andale Mono TTF font +%global fontpkgheader1 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts1 AndaleMo.TTF +%global fontconfs1 %{SOURCE8} +%global fontdescription1 %{expand: +%{common_description} +Andale Mono font for the web that prior to 2002 was available from +http://www.microsoft.com/typography/fontpack. +} + +%global fontfamily2 MS Core Arial +%global fontsummary2 Microsoft Arial TTF font +%global fontpkgheader2 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts2 Arial*.ttf AriBlk.TTF +%global fontconfs2 %{SOURCE9} +%global fontdescription2 %{expand: +%{common_description} +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. +} + +%global fontfamily3 MS Core Comic +%global fontsummary3 Microsoft Comic Sans TTF font +%global fontpkgheader3 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts3 Comic*.TTF +%global fontconfs3 %{SOURCE10} +%global fontdescription3 %{expand: +%{common_description} +Comic Sans bold and regular font for the web that prior to 2002 was available +from http://www.microsoft.com/typography/fontpack. +} + +%global fontfamily4 MS Core Courier +%global fontsummary4 Microsoft Courier New TTF font +%global fontpkgheader4 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts4 cour*ttf +%global fontconfs4 %{SOURCE11} +%global fontdescription4 %{expand: +%{common_description} +Courier New bold, bold italic, italic and regular font for the web that prior +to 2002 was available from http://www.microsoft.com/typography/fontpack. +} + +%global fontfamily5 MS Core Georgia +%global fontsummary5 Microsoft Georgia TTF font +%global fontpkgheader5 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts5 Georgi*TTF +%global fontconfs5 %{SOURCE12} +%global fontdescription5 %{expand: +%{common_description} +Georgia font for the web that prior to 2002 was available from +http://www.microsoft.com/typography/fontpack. +} + +%global fontfamily6 MS Core Impact +%global fontsummary6 Microsoft Impact TTF font +%global fontpkgheader6 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts6 Impact.TTF +%global fontconfs6 %{SOURCE13} +%global fontdescription6 %{expand: +%{common_description} +Impact font for the web that prior to 2002 was available from +http://www.microsoft.com/typography/fontpack. +} + +%global fontfamily7 MS Core Times +%global fontsummary7 Microsoft Times New Roman TTF font +%global fontpkgheader7 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts7 Times*.ttf +%global fontconfs7 %{SOURCE14} +%global fontdescription7 %{expand: +%{common_description} +Microsoft Times New Roman 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. +} + +%global fontfamily8 MS Core Trebuchet +%global fontsummary8 Microsoft Trebuchet TTF font +%global fontpkgheader8 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts8 trebuc*.ttf +%global fontconfs8 %{SOURCE15} +%global fontdescription8 %{expand: +%{common_description} +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. +} + +%global fontfamily9 MS Core Verdana +%global fontsummary9 Microsoft Verdana TTF font +%global fontpkgheader9 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts9 Verdana*.ttf +%global fontconfs9 %{SOURCE16} +%global fontdescription9 %{expand: +%{common_description} +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. +} + +%global fontfamily10 MS Core Webdings +%global fontsummary10 Microsoft Verdana TTF font +%global fontpkgheader10 %{expand: +Obsoletes: %{name}-common <= 2.2-4 +} + +%global fonts10 Webdings.TTF +%global fontconfs10 %{SOURCE17} +%global fontdescription10 %{expand: +%{common_description} +Webdings font for the web that prior to 2002 was available from +http://www.microsoft.com/typography/fontpack. +} + +Name: ms-core-fonts +Version: 2.2 +Release: 1%{?dist} +Summary: Microsoft core fonts +License: LicenseRef-MS-Core-Fonts +URL: http://mscorefonts2.sourceforge.net +Group: User Interface/X +Source0: http://sourceforge.net/projects/mscorefonts2/files/cabs/EUupdate.EXE +Source1: %{sf_corefonts}/andale32.exe +Source2: %{sf_corefonts}/arialb32.exe +Source3: %{sf_corefonts}/comic32.exe +Source4: %{sf_corefonts}/courie32.exe +Source5: %{sf_corefonts}/georgi32.exe +Source6: %{sf_corefonts}/impact32.exe +Source7: %{sf_corefonts}/webdin32.exe +Source8: 61-ms-core-andale.conf +Source9: 61-ms-core-arial.conf +Source10: 61-ms-core-comic.conf +Source11: 61-ms-core-courier.conf +Source12: 61-ms-core-georgia.conf +Source13: 61-ms-core-impact.conf +Source14: 61-ms-core-times.conf +Source15: 61-ms-core-trebuchet.conf +Source16: 61-ms-core-verdana.conf +Source17: 61-ms-core-webdings.conf +BuildRequires: cabextract +BuildRequires: fontpackages-devel +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 +Requires: xorg-x11-font-utils +Requires(post): fontconfig +BuildArch: noarch +Packager: ShinyGil + +%fontpkg -a + +%description +TrueType core fonts that prior to 2002 were available from http://www.microsoft.com/typography/fontpack/ + +Updated in the European Union Expansion Update circa May 2007. + +Still available on the Microsoft website. + +%prep +%setup -cT +cabextract %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \ + %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} +%forgesetup -a + +%build +%fontbuild -a + +%install +%fontinstall -a + +%check +%fontcheck -a +%fontfiles -a + +%post +/usr/bin/fc-cache + +%files + +%changelog +* Mon Feb 24 2025 ShinyGil +- Initial package