File a2ac.spec of Package a2ac
#
# spec file for package a2ac (Version 1.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, 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://bugs.opensuse.org/
#
# norootforbuild
Name: a2ac
License: Restricted Shareware, Authors approval required
Version: 1.1
Release: 586
Summary: Adds Descriptions of Accented Characters to Adobe Font Metric Files
Source: %{name}.tar.bz2
URL: ftp://math.feld.cvut.cz/pub/olsak/a2ac
Patch: %{name}.dif
Patch1: %{name}_shebang-mkallfnt-script.patch
Patch2: %{name}-myround.patch
Group: Productivity/Publishing/TeX/Utilities
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The a2ac (AFM to AFM Plus Composites) utility allows the use of
PostScript(TM) fonts when typesetting languages that use accented
characters. A2ac adds the descriptions of the accented characters to
the Adobe Font Metric (AFM) file for that font. The resulting AFM file
can be run through afm2tfm -v to create a virtual font that includes
the generated composite characters (the letters plus the accent marks).
Authors:
--------
Petr Olsak <olsak@math.feld.cvut.cz>
%prep
%setup -q -n a2ac
%patch
%patch1
%patch2
%build
make CFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT/usr install
rm -f $RPM_BUILD_ROOT/usr/lib/a2ac/a2ac-cz.txt
rm -f $RPM_BUILD_ROOT/usr/lib/a2ac/a2ac-eng.txt
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README a2ac-cz.txt a2ac-eng.txt
%doc /usr/share/man/man1/*
/usr/bin/a2ac
%dir /usr/lib/a2ac
/usr/lib/a2ac/cscorr.tab
/usr/lib/a2ac/mkallfnt
/usr/lib/a2ac/mkfnt
/usr/lib/a2ac/test8z.tex
/usr/lib/a2ac/xl2.enc
/usr/lib/a2ac/xt2.enc
%changelog
* Thu Sep 06 2007 - pgajdos@suse.cz
- removed a2ac.exe [#308087]
- minor spec file modifications
- added shebang to mkallfnt script
* shebang-mkallfnt-script.patch
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 14 2006 - schwab@suse.de
- Don't strip binaries.
* Thu Feb 26 2004 - hmacht@suse.de
- building as nonroot-user
* Mon May 26 2003 - ro@suse.de
- remove unpackaged files from buildroot
* Thu Mar 21 2002 - tcrhak@suse.cz
- added %%dir /usr/lib/a2ac to filelist
* Mon Aug 13 2001 - dan@suse.cz
-use bzip instead of gzip
* Wed Jan 17 2001 - pblaha@suse.cz
- upadate version TAG in spec file
* Mon Dec 18 2000 - pblaha@suse.cz
- create this package