File t1utils.spec of Package t1utils

#
# spec file for package t1utils (Version 1.26)
#
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         t1utils
License:      Other License(s), see package
Group:        Productivity/Publishing/PS
Autoreqprov:  on
Version:      1.26
Release:      224
Source0:      ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/t1utils-%{version}.tar.bz2
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 <ilh@lcs.mit.edu>
    Eddie Kohler <eddietwo@lcs.mit.edu>

%prep
%setup0

%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

%changelog -n t1utils
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Mar 25 2004 - kukuk@suse.de
- Cleanup neededforbuild
- Don't build as root
* Sun Aug 11 2002 - mfabian@suse.de
- 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>.
* Tue Nov 13 2001 - mfabian@suse.de
- update to t1utils-1.23
- Fixed Macintosh file bugs
- Fixed bug on processing PFA fonts with DOS line endings.
- t1ascii, t1asm, t1unmac: Raised minimum PFA line length to 8.
  (For details please read the NEWS file).
* Mon May 07 2001 - mfabian@suse.de
- bzip2 sources
* Fri Dec 01 2000 - Mike Fabian <mfabian@suse.de>
- new package: t1utils-1.20
openSUSE Build Service is sponsored by