commit bebee56c9014725caffd1493bab85316664638e2e2bf804356fd12c64031e2c8 Author: Dr. Werner Fink Date: Mon Apr 20 08:29:21 2020 +0000 Accepting request 795689 from home:alarrosa:branches:M17N New package with ttf-converter 1.0 . A script that is part of the solution for boo#1169444 OBS-URL: https://build.opensuse.org/request/show/795689 OBS-URL: https://build.opensuse.org/package/show/M17N/ttf-converter?expand=0&rev=1 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/_service b/_service new file mode 100644 index 0000000..e90dd11 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/antlarr-suse/ttf-converter + ttf-converter + 1.0 + git + enable + + + xz + *.tar + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b4e00c3 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/antlarr-suse/ttf-converter + a2540b89cabccd914f70d2f3902ac7f3a6467b2d \ No newline at end of file diff --git a/ttf-converter-1.0.tar.xz b/ttf-converter-1.0.tar.xz new file mode 100644 index 0000000..fd28ce9 --- /dev/null +++ b/ttf-converter-1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40dc0f684e83258720f3e04cb1aeb2d10ecb17757de0c66b1ec6493247311779 +size 13640 diff --git a/ttf-converter.changes b/ttf-converter.changes new file mode 100644 index 0000000..366a91d --- /dev/null +++ b/ttf-converter.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Apr 20 07:45:35 UTC 2020 - Antonio Larrosa + +- Initial release of ttf-converter 1.0 diff --git a/ttf-converter.spec b/ttf-converter.spec new file mode 100644 index 0000000..8ae9375 --- /dev/null +++ b/ttf-converter.spec @@ -0,0 +1,53 @@ +# +# spec file for package ttf-converter +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: ttf-converter +Version: 1.0 +Release: 0 +Summary: Python script that converts fonts to TrueType format +# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses +License: GPL-3.0-only +URL: https://github.com/antlarr-suse/ttf-converter +Source: ttf-converter-%{version}.tar.xz +BuildRequires: python3 +Requires: fontforge +Requires: python3-base +BuildArch: noarch + +%description +A Python script that converts fonts to TrueType format. It uses +the fontforge python bindings to read/process and write any font +format. Also, as part of the conversion process, the script +tries to fix inconsistencies and do necessary changes to the font +to honor the TTF format specs. + +%prep +%setup -q + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +cp ttf-converter %{buildroot}%{_bindir} + +%files +%license LICENSE +%doc README.md +%{_bindir}/ttf-converter + +%changelog