font-util/font-util.spec
Stefan Dirsch 95d4427ba4 Accepting request 721727 from home:dimstar:Factory
- Own %{_datadir}/aclocal: when we might switch to pkgconf instead
  of pkg-config, nothing in the build root is 'accidentally' owning
  this directory for us.

OBS-URL: https://build.opensuse.org/request/show/721727
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/font-util?expand=0&rev=14
2019-08-19 00:08:26 +00:00

66 lines
2.1 KiB
RPMSpec

#
# spec file for package font-util
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 https://bugs.opensuse.org/
#
Name: font-util
Version: 1.3.1
Release: 0
Summary: X.Org font package creation/installation utilities
License: MIT
Group: System/X11/Fonts
URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/archive/individual/font/%{name}-%{version}.tar.bz2
Source1: http://xorg.freedesktop.org/archive/individual/font/%{name}-%{version}.tar.bz2.sig
Source2: %{name}.keyring
Source3: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.8
# Package was named xorg-x11-fonts-devel until 12.2
# We use 7.7 for Provides/Obsoletes, since we're renaming the packages when
# X11R7.7 is in RC1, and xorg-x11-fonts-devel was version 7.6
Provides: xorg-x11-fonts-devel = 7.7
Obsoletes: xorg-x11-fonts-devel < 7.7
%description
This package provides utilities for X.Org font package
creation/installation.
%prep
%setup -q
# see Bug 194720 for details
cp %{SOURCE3} map-JISX0201.1976-0
%build
%configure --with-mapdir=%{_datadir}/fonts/util --with-fontrootdir=%{_datadir}/fonts
%install
%make_install
%files
%license COPYING
%doc ChangeLog README
%{_bindir}/bdftruncate
%{_bindir}/ucs2any
%{_mandir}/man1/bdftruncate.1%{?ext_man}
%{_mandir}/man1/ucs2any.1%{?ext_man}
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/fontutil.m4
%{_datadir}/fonts/util/
%{_libdir}/pkgconfig/fontutil.pc
%changelog