LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File mftrace.spec of Package mftrace (Project graphics)

#
# 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 http://bugs.opensuse.org/
#



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
Url:            http://lilypond.org/mftrace/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Scalable PostScript Fonts for MetaFont
# PATCH-FEATURE-OPENSUSE mftrace-rpm-opt-flags.patch sbrabec@suse.cz -- Include RPM_OPT_FLAGS to CFLAGS (simple work-around).
Patch:          %{name}-rpm-opt-flags.patch
# PATCH-FIX-UPSTREAM mftrace-python-compile.patch sbrabec@suse.cz -- Compile python files after installation to ensure consistent time stamps.
Patch1:         %{name}-python-compile.patch

%description
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.

%prep
%setup -q
%patch
%patch1 -p1

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

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog