1
0
gnu-unifont-bitmap-fonts/gnu-unifont-bitmap-fonts.spec
Thomas Schraitle 7c78272683 - Fixed SPEC file:
* Solved the "incorrect-fsf-address" warning of rpmlint by
    using original gpl-2.0.txt file from the FSF, overwriting
    COPYING in archive
  * Improved description a bit
  * Fixed unfortunate typo in Obsoletes (guu-unifont -> gnu-unifont)

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/gnu-unifont-bitmap-fonts?expand=0&rev=4
2012-01-13 08:14:37 +00:00

74 lines
1.9 KiB
RPMSpec

#
# spec file for package gnu-unifont-bitmap-fonts
#
# Copyright (c) 2010 SUSE LINUX Products 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/
#
# norootforbuild
Name: gnu-unifont-bitmap-fonts
BuildRequires: xorg-x11
%define fontdir /usr/share/fonts/uni
License: GPL-2.0+
Group: System/X11/Fonts
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Summary: The GNU Unicode Bitmap font
Version: 20080123
Release: 75
Url: http://en.wikipedia.org/wiki/Gnu_unifont
Source0: gnu-unifont-%{version}.tar.bz2
Source1: gpl-2.0.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: gnu-unifont = %{version}
Obsoletes: gnu-unifont <= 20080123
%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
# gnu-unifont-20080123/
%setup -q -n gnu-unifont-%{version}
# Explicitly overwrite COPYING with gpl-2.0.txt to avoid
# "incorrect-fsf-address" warning
cp %{S:1} COPYING
%build
gzip --best *.pcf
%install
mkdir -p %{buildroot}%{fontdir}
install -m 444 *.pcf.gz %{buildroot}%{fontdir}
%clean
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc COPYING
%{fontdir}
%changelog