Takashi Iwai
1f724caa02
openSUSE packaging guidelines and FATE#313035 - removed unnecessary buildrequires for too old distros - new package gnu-unifont. Has been split out of the yast2-qt package. OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/gnu-unifont-bitmap-fonts?expand=0&rev=3
71 lines
1.6 KiB
RPMSpec
71 lines
1.6 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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
Provides: gnu-unifont = %{version}
|
|
Obsoletes: guu-unifont <= 20080123
|
|
|
|
%description
|
|
The GNU Unicode Bitmap font
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Roman Czyborra
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%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
|