ttf2png/ttf2png.spec

50 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: ttf2png
Version: 1.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: 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.
%debug_package
%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
* 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