Richard Brown 2021-03-16 14:41:53 +00:00 committed by Git OBS Bridge
commit fb61d6f76d
2 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 12 23:14:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
-------------------------------------------------------------------
Fri Mar 22 12:57:52 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package mkfontscale
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -22,20 +22,19 @@ Release: 0
Summary: Utility to create index of scalable font files for X
License: MIT
Group: System/X11/Utilities
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: pkg-config
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
BuildRequires: zlib-devel
BuildRequires: pkgconfig(fontenc)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.25
Recommends: xorg-x11-fonts-core
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
Recommends: xorg-x11-fonts-core
Provides: mkfontdir = 1.0.7
Obsoletes: mkfontdir <= 1.0.7
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
mkfontscale creates the fonts.scale and fonts.dir index files used by the
@ -46,14 +45,14 @@ legacy X11 font system.
%build
%configure
make %{?_smp_mflags}
%make_build
%install
%make_install
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README.md
%license COPYING
%doc ChangeLog README.md
%{_bindir}/mkfontdir
%{_bindir}/mkfontscale
%{_mandir}/man1/mkfontdir.1%{?ext_man}