2024-01-05 18:43:11 +01:00
|
|
|
Name: ttf2png
|
2024-01-05 18:43:12 +01:00
|
|
|
Version: 1.0
|
2024-01-05 18:43:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Create a PNG image containing a set of glyphs from a true type font
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 18:43:12 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 18:43:11 +01:00
|
|
|
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
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 18:43:12 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 18:43:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 18:43:12 +01:00
|
|
|
sed -i "s|-Werror||" Makefile
|
2024-01-05 18:43:11 +01:00
|
|
|
|
|
|
|
%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}/*
|
2024-01-05 18:43:12 +01:00
|
|
|
%doc gpl.txt
|
2024-01-05 18:43:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:43:12 +01:00
|
|
|
* Sat Sep 24 2022 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:43:11 +01:00
|
|
|
* Fri Sep 03 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
|
|
|
|
- package created by autospec
|