File mftrace.spec of Package mftrace

# spec file for package mftrace
# Copyright (c) 2011 SUSE LINUX Products 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
BuildRequires:  automake
BuildRequires:  autotrace
BuildRequires:  potrace
BuildRequires:  python-devel
License:        GPL-2.0
Group:          Productivity/Publishing/TeX/Utilities
Requires:       python texlive bitmap_tracing t1utils fontforge
Version:        1.2.17
Release:        0
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Scalable PostScript Fonts for MetaFont
# PATCH-FEATURE-OPENSUSE mftrace-rpm-opt-flags.patch -- Include RPM_OPT_FLAGS to CFLAGS (simple work-around).
Patch:          %{name}-rpm-opt-flags.patch
# PATCH-FIX-UPSTREAM mftrace-python-compile.patch -- Compile python files after installation to ensure consistent time stamps.
Patch1:         %{name}-python-compile.patch

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
%patch1 -p1

autoreconf -f -i
%configure --with-pic
make %{?jobs:-j%jobs}



%defattr(-, root, root)
%doc ChangeLog COPYING README.txt
%doc %{_mandir}/man1/*