File a2ac.spec of Package a2ac

#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           a2ac
Version:        1.1
Release:        586
License:        Restricted Shareware, Authors approval required
Summary:        Adds Descriptions of Accented Characters to Adobe Font Metric Files
Url:            ftp://math.feld.cvut.cz/pub/olsak/a2ac
Group:          Productivity/Publishing/TeX/Utilities
Source:         %{name}.tar.bz2
Patch0:         %{name}.patch
Patch1:         %{name}-shebang.patch
Patch2:         %{name}-myround.patch
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).

%prep
%setup -q -n a2ac
%patch0
%patch1
%patch2

%build
make CFLAGS="%{optflags}"

%install
make DESTDIR=%{buildroot}%{_prefix} install
rm -f %{buildroot}%{_libexecdir}/a2ac/a2ac-cz.txt
rm -f %{buildroot}%{_libexecdir}/a2ac/a2ac-eng.txt

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README  a2ac-cz.txt a2ac-eng.txt
%doc  %{_mandir}/man1/*
%{_bindir}/a2ac
%dir %{_libexecdir}/a2ac
%{_libexecdir}/a2ac/cscorr.tab
%{_libexecdir}/a2ac/mkallfnt
%{_libexecdir}/a2ac/mkfnt
%{_libexecdir}/a2ac/test8z.tex
%{_libexecdir}/a2ac/xl2.enc
%{_libexecdir}/a2ac/xt2.enc

%changelog
openSUSE Build Service is sponsored by