From 246ca94544131291d039d1b4fd7990211d3434f6 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 18:43:11 +0100 Subject: [PATCH] package created by autospec [release 0.3-1mamba;Fri Sep 03 2010] --- README.md | 4 ++++ ttf2png.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 ttf2png.spec diff --git a/README.md b/README.md index a0349a0..fe74f91 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # ttf2png +ttf2png creates a PNG image containing a set of glyphs from a true type font. +It's mainly aimed for creating bitmap fonts for games. +It supports a multitude of commandline parameters to create suitable images for many purposes. + diff --git a/ttf2png.spec b/ttf2png.spec new file mode 100644 index 0000000..e4f6118 --- /dev/null +++ b/ttf2png.spec @@ -0,0 +1,45 @@ +Name: ttf2png +Version: 0.3 +Release: 1mamba +Summary: Create a PNG image containing a set of glyphs from a true type font +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.tdb.fi/ttf2png.shtml +Source: http://www.tdb.fi/files/ttf2png-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfreetype-devel +BuildRequires: libpng12-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ttf2png creates a PNG image containing a set of glyphs from a true type font. +It's mainly aimed for creating bitmap fonts for games. +It supports a multitude of commandline parameters to create suitable images for many purposes. + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m 0755 ttf2png %{buildroot}%{_bindir}/ttf2png + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/* +%doc Readme gpl.txt + +%changelog +* Fri Sep 03 2010 Stefano Cotta Ramusino 0.3-1mamba +- package created by autospec