File psftools.spec of Package psftools
#
# spec file for package psftools
#
# 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: psftools
Version: 1.0.13
Release: 0
Summary: Fixed-Width Bitmap Font Tools
License: GPL-2.0+
Group: Productivity/Graphics/Convertors
Url: http://www.seasip.info/Unix/PSF/
Source: http://www.seasip.info/Unix/PSF/%{name}-%{version}.tar.gz
BuildRequires: makeinfo
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The psftools are designed to manipulate fixed-width bitmap fonts, such as
DOS or Linux console fonts. Both the PSF1 (8 pixels wide) and PSF2 (any width)
formats are supported; the default output format is PSF2.
%package devel
Summary: Fixed-Width Bitmap Font Tools
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libpsf0 = %{version}
%description devel
The psftools are designed to manipulate fixed-width bitmap fonts, such as
DOS or Linux console fonts. Both the PSF1 (8 pixels wide) and PSF2 (any width)
formats are supported; the default output format is PSF2.
%package -n libpsf0
Summary: Fixed-Width Bitmap Font Tools
License: GPL-2.0+
Group: System/Libraries
%description -n libpsf0
The psftools are designed to manipulate fixed-width bitmap fonts, such as
DOS or Linux console fonts. Both the PSF1 (8 pixels wide) and PSF2 (any width)
formats are supported; the default output format is PSF2.
%prep
%setup -q
%build
%configure\
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libpsf0 -p /sbin/ldconfig
%postun -n libpsf0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man?/*.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%files -n libpsf0
%defattr(-,root,root)
%{_libdir}/*.so.*
%changelog