# # spec file for package t1utils (Version 1.26) # # Copyright (c) 2010 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/ # # norootforbuild Name: t1utils License: PERMISSIVE-OSI-COMPLIANT Group: Productivity/Publishing/PS AutoReqProv: on Version: 1.26 Release: 391 Source0: ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/t1utils-%{version}.tar.bz2 Patch: t1utils-getline.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: a collection of simple type-1 font manipulation programs %description t1utils is a collection of simple type-1 font manipulation programs. Together, they allow you to convert between PFA (ASCII) and PFB (binary) formats, disassemble PFA or PFB files into human-readable form, and reassemble them into PFA or PFB format. Additionally, you can extract font resources from a Macintosh font file (ATM/Laserwriter) or create a Macintosh Type 1 font file from a PFA or PFB font. Authors: -------- I. Lee Hetherington Eddie Kohler %prep %setup -q %patch %build rm -f config.cache # update config.{guess,sub} %{?suse_update_config} export CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ %{_target_cpu}-suse-linux-gnu make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files %defattr(-, root, root) %doc INSTALL NEWS README /usr/bin/t1ascii /usr/bin/t1binary /usr/bin/t1asm /usr/bin/t1disasm /usr/bin/t1unmac /usr/bin/t1mac /usr/share/man/man1/t1asm.1.gz /usr/share/man/man1/t1disasm.1.gz /usr/share/man/man1/t1unmac.1.gz /usr/share/man/man1/t1mac.1.gz /usr/share/man/man1/t1ascii.1.gz /usr/share/man/man1/t1binary.1.gz %changelog