From b28b7986cf9048761cc10da3dbcb725d64aecdc5 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Oct 09 2011 04:27:22 +0000 Subject: Initial import (#732214). --- diff --git a/.gitignore b/.gitignore index e69de29..3f6c888 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/otf2bdf-3.1.tgz diff --git a/otf2bdf.spec b/otf2bdf.spec new file mode 100644 index 0000000..aceb85d --- /dev/null +++ b/otf2bdf.spec @@ -0,0 +1,52 @@ +Name: otf2bdf +Version: 3.1 +Release: 2%{?dist} +Summary: Generate BDF bitmap fonts from OpenType outline fonts + +Group: Applications/Publishing +License: MIT +URL: http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/ +Source0: http://sofia.nmsu.edu/~mleisher/Software/%{name}/%{name}-%{version}.tgz + +BuildRequires: freetype-devel + +%description +otf2bdf is a command line utility that uses the FreeType 2 font +rendering library to generate BDF bitmap fonts from OpenType outline +fonts at different sizes and resolutions. This program is essentially +the same as the ttf2bdf program except that it uses FreeType 2.*, not +FreeType 1.*, has some bug fixes, and includes a new command line +parameter to print out the available encoding tables in the font. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +install -d -m 755 %{buildroot}%{_bindir} +install -p -m 755 %{name} %{buildroot}%{_bindir} + +install -d -m 755 %{buildroot}%{_mandir}/man1 +install -p -m 644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1 + +%if 0%{?rhel} +%clean +rm -rf %{buildroot} +%endif + +%files +%doc README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%changelog +* Fri Oct 07 2011 Eric Smith - 3.1-2 +- cleanup based on package review comments, bug 732214 + +* Sat Aug 20 2011 Eric Smith - 3.1-1 +- initial version diff --git a/sources b/sources index e69de29..b9ee19f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4c4e46490d2906d35abb3d3fc72051a3 otf2bdf-3.1.tgz