From 4f8cd34fe5ce8130df0e85a4b7fa0410a3e2ce19dbd041309146a9bed4725d0d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 5 Nov 2016 15:58:31 +0000 Subject: [PATCH] Accepting request 437709 from home:jengelh:dev OBS-URL: https://build.opensuse.org/request/show/437709 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/int10h-oldschoolpc-fonts?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + int10h-oldschoolpc-fonts.changes | 4 ++ int10h-oldschoolpc-fonts.spec | 64 ++++++++++++++++++++++++ ultimate_oldschool_pc_font_pack_v1.0.zip | 3 ++ 5 files changed, 95 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 int10h-oldschoolpc-fonts.changes create mode 100644 int10h-oldschoolpc-fonts.spec create mode 100644 ultimate_oldschool_pc_font_pack_v1.0.zip diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/int10h-oldschoolpc-fonts.changes b/int10h-oldschoolpc-fonts.changes new file mode 100644 index 0000000..547c9c9 --- /dev/null +++ b/int10h-oldschoolpc-fonts.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Oct 28 17:09:15 UTC 2016 - jengelh@inai.de + +- Initial package (version 1.0) for build.opensuse.org diff --git a/int10h-oldschoolpc-fonts.spec b/int10h-oldschoolpc-fonts.spec new file mode 100644 index 0000000..3f260cb --- /dev/null +++ b/int10h-oldschoolpc-fonts.spec @@ -0,0 +1,64 @@ +# +# spec file for package int10h-oldschoolpc-fonts +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: int10h-oldschoolpc-fonts +Version: 1.0 +Release: 0 +Summary: Remakes of old computer hardware fonts +License: CC-BY-SA-4.0 +Group: System/X11/Fonts +Url: http://int10h.org/oldschool-pc-fonts/ + +Source: http://int10h.org/oldschool-pc-fonts/download/ultimate_oldschool_pc_font_pack_v1.0.zip +BuildRequires: fontpackages-devel +BuildRequires: unzip +%reconfigure_fonts_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +This fontpack contains pixel-accurate remakes of various type styles +from text-mode era PCs — in modern Unicode-compatible TrueType form +(plus straight bitmap versions). The main focus is on hardware +character sets: the kind that's located in a ROM and shown by default +when working in text (or graphics) mode. + +[These fonts are not corrected for the different pixel ratios used by +the eponymous historic hardware; you need to manually do this with e.g. +`xterm -fa "ATI 8x16:matrix=1 0 0 1.35"`] + +%prep +%setup -Tcqa0 + +%build +iconv -f cp437 -t utf-8 readme.txt +mv LICENSE.TXT license.txt + +%install +c="%buildroot/%_ttfontsdir" +mkdir -p "$c" +install -pm 0644 */*.ttf "$c/" + +%reconfigure_fonts_scriptlets + +%files +%defattr(-, root,root) +%doc readme.txt license.txt +%_ttfontsdir/ + +%changelog diff --git a/ultimate_oldschool_pc_font_pack_v1.0.zip b/ultimate_oldschool_pc_font_pack_v1.0.zip new file mode 100644 index 0000000..8d253f5 --- /dev/null +++ b/ultimate_oldschool_pc_font_pack_v1.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7666cf23176e34ea03a218b5c1500f4ad729d97150ab7bdb7cf2adf4c99a9a7a +size 1533806