gnu-unifont-bitmap-fonts/gnu-unifont-bitmap-fonts.spec
Marguerite Su 818e3e4be4 Accepting request 335441 from home:tiwai:branches:M17N:fonts
- don't provide gnu-unifont alias, which is given by the legacy
  bitmap-fonts package for compatibility

(the legacy font is submitted via 335440)

OBS-URL: https://build.opensuse.org/request/show/335441
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/gnu-unifont-bitmap-fonts?expand=0&rev=12
2015-10-02 02:31:44 +00:00

60 lines
1.8 KiB
RPMSpec

#
# spec file for package gnu-unifont-bitmap-fonts
#
# Copyright (c) 2015 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 http://bugs.opensuse.org/
#
%define fontdir %{_fontsdir}/uni
Name: gnu-unifont-bitmap-fonts
Version: 8.0.01
Release: 0
Summary: The GNU Unicode Bitmap Font
License: GPL-2.0+
Group: System/X11/Fonts
Url: http://en.wikipedia.org/wiki/Gnu_unifont
Source0: https://ftp.gnu.org/gnu/unifont/unifont-%{version}/unifont-%{version}.pcf.gz
Source1: https://ftp.gnu.org/gnu/unifont/unifont-%{version}/unifont-%{version}.pcf.gz.sig
Source2: gpl-2.0.txt
BuildRequires: fontpackages-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%reconfigure_fonts_prereq
%description
The GNU Unifont by Roman Czyborra is a free bitmap font that
covers the Unicode Basic Multilingual Plane (BMP), using an
intermediate bitmapped font format.
%prep
# Explicitly overwrite COPYING with gpl-2.0.txt to avoid
# "incorrect-fsf-address" warning
cp %{SOURCE2} COPYING
%build
:
%install
mkdir -p %{buildroot}%{fontdir}
install -m 444 -D %{SOURCE0} %{buildroot}%{fontdir}
%reconfigure_fonts_scriptlets
%files
%defattr(-, root,root)
%doc COPYING
%{fontdir}
%changelog