2007-01-15 23:38:38 +00:00
|
|
|
#
|
|
|
|
# spec file for package t1utils (Version 1.26)
|
|
|
|
#
|
2009-06-07 23:51:32 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:38:38 +00:00
|
|
|
#
|
2009-06-07 23:51:32 +00:00
|
|
|
# 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/
|
2007-01-15 23:38:38 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-07 23:51:32 +00:00
|
|
|
|
|
|
|
Name: t1utils
|
|
|
|
License: Any permissive
|
|
|
|
Group: Productivity/Publishing/PS
|
|
|
|
AutoReqProv: on
|
|
|
|
Version: 1.26
|
|
|
|
Release: 390
|
|
|
|
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
|
2007-01-15 23:38:38 +00:00
|
|
|
|
|
|
|
%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 <ilh@lcs.mit.edu>
|
|
|
|
Eddie Kohler <eddietwo@lcs.mit.edu>
|
|
|
|
|
|
|
|
%prep
|
2009-06-07 23:51:32 +00:00
|
|
|
%setup -q
|
|
|
|
%patch
|
2007-01-15 23:38:38 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2009-06-07 23:51:32 +00:00
|
|
|
%changelog
|
|
|
|
* Mon Jun 08 2009 ro@suse.de
|
|
|
|
- rename getline to my_getline to avoid collision with function
|
|
|
|
from glibc
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:38:38 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-07 23:51:32 +00:00
|
|
|
* Thu Mar 25 2004 kukuk@suse.de
|
2007-01-15 23:38:38 +00:00
|
|
|
- Cleanup neededforbuild
|
|
|
|
- Don't build as root
|
2009-06-07 23:51:32 +00:00
|
|
|
* Sun Aug 11 2002 mfabian@suse.de
|
2007-01-15 23:38:38 +00:00
|
|
|
- update to 1.26
|
|
|
|
* t1mac: Fix buglet (C++ comment, and temporary file left behind). Reported
|
|
|
|
by Vladimir Volovich <vvv@vsu.ru>.
|
|
|
|
* t1asm: Beware extra characters after `currentfile closefile'. Reported by
|
|
|
|
Luc Devroye <luc@cs.mcgill.ca>.
|
|
|
|
* Fixed compilation bugs on various platforms reported by Nelson H. F.
|
|
|
|
Beebe <beebe@math.utah.edu>.
|
2009-06-07 23:51:32 +00:00
|
|
|
* Tue Nov 13 2001 mfabian@suse.de
|
2007-01-15 23:38:38 +00:00
|
|
|
- update to t1utils-1.23
|
2009-06-07 23:51:32 +00:00
|
|
|
- Fixed Macintosh file bugs
|
|
|
|
- Fixed bug on processing PFA fonts with DOS line endings.
|
|
|
|
- t1ascii, t1asm, t1unmac: Raised minimum PFA line length to 8.
|
2007-01-15 23:38:38 +00:00
|
|
|
(For details please read the NEWS file).
|
2009-06-07 23:51:32 +00:00
|
|
|
* Mon May 07 2001 mfabian@suse.de
|
2007-01-15 23:38:38 +00:00
|
|
|
- bzip2 sources
|
2009-06-07 23:51:32 +00:00
|
|
|
* Fri Dec 01 2000 Mike Fabian <mfabian@suse.de>
|
2007-01-15 23:38:38 +00:00
|
|
|
- new package: t1utils-1.20
|