File fontinfo.spec of Package fontinfo
#
# spec file for package fontinfo
#
# 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/
#
Name: fontinfo
Version: 20150410
Release: 0
Summary: Overview of Installed Fonts
License: GPL-2.0+
Group: Productivity/Publishing/Other
Url: https://github.com/pgajdos/fontinfo/
Source: %{name}-%{version}.tar.bz2
# discount for THANKS.md -> thanks.txt
BuildRequires: discount
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: harfbuzz-devel
BuildRequires: libpng-devel
BuildRequires: pkg-config
BuildRequires: rpm-devel
Suggests: xdg-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Fontinfo makes an overview over installed fonts on system
where it is called. It is able to generate rendering info,
language info, character set etc. for each font. Fontinfo
can also integrate with package manager. From pages it
generates, it is possible to directly install font packages
or switch between default and system rendering of specimen
and see differences.
%prep
%setup -q
%build
make CFLAGS="%{optflags}" %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%doc COPYING CHANGES doc/THANKS.md
%{_bindir}/*
%changelog