0067a7e
%bcond autoreconf 1
20f1154
995b133
Name:           eot-utils
995b133
Version:        1.1
8d33c94
Release:        %autorelease
e3faa30
Summary:        Create or examine EOT font format files
995b133
95dbce9
# SPDX
95dbce9
#
95dbce9
# The entire source is W3C, except for certain build system files, the licenses
95dbce9
# of which do not contribute to the license of the binary RPM:
95dbce9
#   - aclocal.m4 is FSFULLR
95dbce9
#   - configure is FSFUL, or more likely (W3C AND FSFUL)
95dbce9
#   - depcomp and missing are GPL-2.0-or-later
95dbce9
#   - install-sh is X11
995b133
License:        W3C
1f57a84
URL:            https://www.w3.org/Tools/eot-utils/
5c5f8c5
Source:         %{url}/eot-utilities-%{version}.tar.gz
995b133
4835bd6
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
4835bd6
ExcludeArch:    %{ix86}
4835bd6
10a8f3d
BuildRequires:  gcc
e3faa30
BuildRequires:  make
e3faa30
20f1154
%if %{with autoreconf}
20f1154
BuildRequires:  autoconf
20f1154
BuildRequires:  automake
20f1154
BuildRequires:  libtool
20f1154
%endif
20f1154
995b133
%description
e3faa30
The eot-utils are the two programs mkeot and eotinfo. The former creates an EOT
e3faa30
(Embedded OpenType) file from an OpenType or TrueType font and the URLs of one
e3faa30
or more Web pages, respecting the TrueType embedding bits. The eotinfo program
e3faa30
displays EOT metadata in a human-readable way.
995b133
995b133
995b133
%prep
be56d4c
%autosetup -n eot-utilities-%{version}
995b133
e3faa30
995b133
%build
20f1154
%if %{with autoreconf}
24a0f5b
autoreconf --force --install --verbose
20f1154
%endif
995b133
%configure
be56d4c
%make_build
995b133
e3faa30
995b133
%install
be56d4c
%make_install
995b133
e3faa30
995b133
%files
56f8ab1
%license COPYING
56f8ab1
%doc AUTHORS
56f8ab1
%doc ChangeLog
56f8ab1
%doc README
56f8ab1
995b133
%{_bindir}/mkeot
995b133
%{_bindir}/eotinfo
56f8ab1
3858d50
%{_mandir}/man1/mkeot.1*
3858d50
%{_mandir}/man1/eotinfo.1*
995b133
995b133
995b133
%changelog
8d33c94
%autochangelog