Files
ttf2png/ttf2png.spec

52 lines
1.4 KiB
RPMSpec

Name: ttf2png
Version: 2.0
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: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libpng-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.
%prep
%setup -q
sed -i "s|-Werror||" Makefile
%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 gpl.txt
%changelog
* Sun Mar 16 2025 Automatic Build System <autodist@openmamba.org> 2.0-1mamba
- automatic version update by autodist
* Sat Sep 24 2022 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic version update by autodist
* Fri Sep 03 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
- package created by autospec