File gnu-unifont.spec of Package gnu-unifont

#
# spec file for package gnu-unifont (Version 20080123)
#
# Copyright (c) 2009 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
BuildRequires:  xorg-x11 xorg-x11-devel
%if "%(xft-config --prefix)" == "/usr"
%define	fontdir     /usr/share/fonts/uni
%else
%define	fontdir     /usr/X11R6/lib/X11/fonts/uni
%endif
License:        GPL v2 or later
Group:          System/X11/Fonts
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Summary:        The GNU Unicode Bitmap font
Version:        20080123
Release:        74
Url:            http://en.wikipedia.org/wiki/Gnu_unifont
Source0:        gnu-unifont-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%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
%dir %{fontdir}/
%{fontdir}/*.pcf.gz

%changelog
* Wed Jan 23 2008 mfabian@suse.de
- new package gnu-unifont. Has been split out of the
  yast2-qt package.
openSUSE Build Service is sponsored by