Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 7860a4f9af |
4 changed files with 17 additions and 48 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -14,6 +14,3 @@
|
|||
/unifont-12.0.01.tar.gz
|
||||
/unifont-12.1.02.tar.gz
|
||||
/unifont-13.0.05.tar.gz
|
||||
/unifont-14.0.01.tar.gz
|
||||
/unifont-15.0.01.tar.gz
|
||||
/unifont-16.0.01.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.05-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Mar 1 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 13.0.05-2
|
||||
- Require bdftopcf instead of xorg-x11-font-utils
|
||||
(https://fedoraproject.org/wiki/Changes/XorgUtilityDeaggregation)
|
||||
|
||||
* Wed Feb 3 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 13.0.05-1
|
||||
- Latest upstream version
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (unifont-16.0.01.tar.gz) = cfbb6598fc7fda7bbe1d061d3d35e3433df033bece0468fe469338ecac82fddd3fd9fd35f4693147284f28b02011939cad3c2570d878677c472227909f65af27
|
||||
SHA512 (unifont-13.0.05.tar.gz) = d15f4cd8224ecf0dc2d453f0c3f7dbabf5b9e6ce8f713e1eb94bf5d1ad1b22a0e07861919546ec29cdb5b824343208da80d368955775b4c0e20057345407d0f5
|
||||
|
|
|
|||
53
unifont.spec
53
unifont.spec
|
|
@ -1,7 +1,7 @@
|
|||
Name: unifont
|
||||
Version: 16.0.01
|
||||
Version: 13.0.05
|
||||
Release: %autorelease
|
||||
License: GPL-2.0-or-later AND OFL-1.1 AND GFDL-1.3-or-later
|
||||
License: GPLv2+ and GFDL
|
||||
Url: https://savannah.gnu.org/projects/unifont
|
||||
Summary: Tools and glyph descriptions in a very simple text format
|
||||
|
||||
|
|
@ -11,18 +11,15 @@ Source1: unifont.metainfo.xml
|
|||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-GD
|
||||
BuildRequires: bdftopcf
|
||||
BuildRequires: bdf2psf
|
||||
BuildRequires: xorg-x11-font-utils
|
||||
BuildRequires: fontforge
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: ImageMagick
|
||||
|
||||
%description
|
||||
A font with a glyph for every visible Unicode Basic Multilingual Plane code
|
||||
point and more, with supporting utilities to modify the font. This package
|
||||
contains tools and glyph descriptions.
|
||||
A font with a glyph for every visible Unicode Basic Multilingual Plane
|
||||
code point and more, with supporting utilities to modify the
|
||||
font. This package contains tools and glyph descriptions.
|
||||
|
||||
%package fonts
|
||||
BuildArch: noarch
|
||||
|
|
@ -31,29 +28,19 @@ Summary: Unicode font with a glyph for every visible BMP code point
|
|||
Requires: fontpackages-filesystem
|
||||
|
||||
%description fonts
|
||||
A fixed-width Unicode font with a glyph for every visible Unicode 7.0 Basic
|
||||
Multilingual Plane code point (over 55,000 glyphs) and some glyphs beyond BMP.
|
||||
A fixed-width Unicode font with a glyph for every visible Unicode 7.0
|
||||
Basic Multilingual Plane code point (over 55,000 glyphs) and some
|
||||
glyphs beyond BMP.
|
||||
|
||||
This font strives for very wide coverage rather than beauty, so use it only as
|
||||
fallback or for special purposes.
|
||||
|
||||
This package contains unicode fonts in OTF format.
|
||||
|
||||
%package ttf-fonts
|
||||
BuildArch: noarch
|
||||
Summary: Unicode font with a glyph for every visible BMP code point
|
||||
Requires: (unifont-fonts = %{version}-%{release} if unifont-fonts)
|
||||
|
||||
%description ttf-fonts
|
||||
This package contains unicode fonts in TTF format.
|
||||
It is provided for compatibility, and unifont-fonts should be used instead.
|
||||
This font strives for very wide coverage rather than beauty, so use it
|
||||
only as fallback or for special purposes.
|
||||
|
||||
%package viewer
|
||||
BuildArch: noarch
|
||||
Summary: Graphical viewer for unifont
|
||||
|
||||
%description viewer
|
||||
A graphical viewer for unifont source character definitions.
|
||||
A graphical viewer for unifont.
|
||||
|
||||
%prep
|
||||
%setup -q -n unifont-%{version}
|
||||
|
|
@ -62,20 +49,16 @@ sed -i 's/^install: .*/install:/' Makefile
|
|||
sed -i 's/install -s/install/' src/Makefile
|
||||
|
||||
%build
|
||||
%make_build CFLAGS='%{optflags}'
|
||||
# Makefile is broken with parallel builds
|
||||
make -C font all ttf upperttf
|
||||
make CFLAGS='%{optflags}'
|
||||
make -C doc unifont.info
|
||||
|
||||
%install
|
||||
%make_install USRDIR=/usr COMPRESS=0 \
|
||||
OTFDEST='$(DESTDIR)/usr/share/fonts/unifont'
|
||||
install -Dm0644 font/compiled/unifont-%{version}.ttf %{buildroot}%{_fontdir}/unifont.ttf
|
||||
install -Dm0644 font/compiled/unifont_upper-%{version}.ttf %{buildroot}%{_fontdir}/unifont_upper.ttf
|
||||
|
||||
%make_install USRDIR=/usr COMPRESS=0 TTFDEST='$(DESTDIR)/usr/share/fonts/unifont'
|
||||
find %{buildroot}/usr/share/unifont/ -type f \! -name %{name}.hex -delete
|
||||
rm -rv %{buildroot}/usr/share/fonts/X11
|
||||
rm -v %{buildroot}%{_fontdir}/*sample*
|
||||
rm -v %{buildroot}%{_fontdir}/unifont_*csur*.ttf
|
||||
install -Dm0644 doc/unifont.info %{buildroot}%{_infodir}/unifont.info
|
||||
install -Dm0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/unifont.metainfo.xml
|
||||
# Remove APL font for now
|
||||
|
|
@ -91,11 +74,7 @@ rm %{buildroot}/usr/share/consolefonts/Unifont-APL8x16.psf.gz
|
|||
%{_infodir}/unifont.*
|
||||
%exclude %{_bindir}/unifont-viewer
|
||||
|
||||
%_font_pkg *.otf
|
||||
%{_datadir}/appdata/
|
||||
%license COPYING
|
||||
|
||||
%_font_pkg -n ttf *.ttf
|
||||
%_font_pkg *.ttf
|
||||
%{_datadir}/appdata/
|
||||
%license COPYING
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue