File mftrace.spec of Package mftrace

# spec file for package mftrace
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           mftrace
Version:        1.2.18
Release:        0
Summary:        Scalable PostScript Fonts for MetaFont
License:        GPL-2.0
Group:          Productivity/Publishing/TeX/Utilities
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  autotrace
BuildRequires:  potrace
BuildRequires:  python-devel
Requires:       bitmap_tracing
Requires:       fontforge
Requires:       t1utils
Requires:       texlive
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Mftrace is a small Python program that lets you trace a TeX bitmap font
into a PFA or PFB font (A PostScript Type1 Scalable Font) or TTF
(TrueType) font.

%setup -q

autoreconf -fi
%configure \
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}
# remove files containing hardcoded rpath
rm -rf %{buildroot}%{_datadir}/mftrace/*.pyc

%defattr(-, root, root)
%doc ChangeLog COPYING README.txt

openSUSE Build Service is sponsored by