]> git.pld-linux.org Git - packages/unifont.git/blobdiff - unifont.spec
- updated to 13.0.02
[packages/unifont.git] / unifont.spec
index c60bcc988041aa1cbe2626d3684e59e5e7ed11e9..ac603e4293dcb566181c8b38653fd40c46c9e319 100644 (file)
@@ -1,20 +1,20 @@
 #
 # Conditional build:
-%bcond_with    viewer          # build unifont-viewer package, requires perl-Wx
+%bcond_without viewer          # build unifont-viewer package (requires perl-Wx)
 
-%include       /usr/lib/rpm/macros.perl
 Summary:       GNU Unifont - Unicode bitmap font
 Summary(pl.UTF-8):     GNU Unifont - font bitmapowy Unicode
 Name:          unifont
-Version:       7.0.03
-Release:       2
+Version:       13.0.02
+Release:       1
 License:       GPL v2+ with GNU font embedding exception
 Group:         Fonts
-Source0:       http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 17f4b4de9cf0a58049da251611c19415
+Source0:       https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 1523ab453136c82db6dec2717c8f0e57
 URL:           http://czyborra.com/unifont/
 BuildRequires: fontforge
 BuildRequires: rpm-perlprov
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRequires: xorg-app-bdftopcf
 Requires(post,postun): fontpostinst
 Requires:      %{_fontsdir}/misc
@@ -117,6 +117,19 @@ Multilingual Plane (Plane 0).
 Ten pakiet zawiera 512-znakowy podzbiór w formacie PSF, przeznaczony
 do używania na linuksowej konsoli.
 
+%package source
+Summary:       GNU Unifont source data
+Summary(pl.UTF-8):     Dane źródłowe pakietu GNU Unifont
+Group:         Development/Tools
+
+%description source
+GNU Unifont source data, which could be used to generate or embed
+fonts in other formats.
+
+%description source -l pl.UTF-8
+Dane źródłowe pakietu GNU Unifont, które można wykorzystać do
+generowania lub osadzania fontów w innych formatach.
+
 %package tools
 Summary:       GNU Unifont utility programs
 Summary(pl.UTF-8):     Programy narzędziowe dołączone do pakietu GNU Unifont
@@ -158,8 +171,6 @@ rm -rf $RPM_BUILD_ROOT
        PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \
        TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF
 
-# source data not needed, docs packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/unifont
 # sample covering plane 0
 %{__rm} $RPM_BUILD_ROOT%{_fontsdir}/{misc/unifont_sample.pcf.gz,TTF/unifont_sample.ttf}
 
@@ -180,7 +191,7 @@ fontpostinst TTF
 
 %files -n fonts-misc-unifont
 %defattr(644,root,root,755)
-%doc README
+%doc ChangeLog NEWS README
 %{_fontsdir}/misc/unifont.pcf.gz
 %{_fontsdir}/misc/unifont_csur.pcf.gz
 %{_mandir}/man5/unifont.5*
@@ -190,12 +201,19 @@ fontpostinst TTF
 %{_fontsdir}/TTF/unifont.ttf
 %{_fontsdir}/TTF/unifont_csur.ttf
 %{_fontsdir}/TTF/unifont_upper.ttf
-%{_fontsdir}/TTF/unifont_upper_csur.ttf
 
 %files console
 %defattr(644,root,root,755)
 /lib/kbd/consolefonts/Unifont-APL8x16.psf.gz
 
+%files source
+%defattr(644,root,root,755)
+%dir %{_datadir}/unifont
+%{_datadir}/unifont/plane00-combining.txt
+%{_datadir}/unifont/unifont.bmp.gz
+%{_datadir}/unifont/unifont.hex
+%{_datadir}/unifont/wchardata.c
+
 %files tools
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bdfimplode
@@ -208,8 +226,10 @@ fontpostinst TTF
 %attr(755,root,root) %{_bindir}/johab2ucs2
 %attr(755,root,root) %{_bindir}/unibdf2hex
 %attr(755,root,root) %{_bindir}/unibmp2hex
+%attr(755,root,root) %{_bindir}/unibmpbump
 %attr(755,root,root) %{_bindir}/unicoverage
 %attr(755,root,root) %{_bindir}/unidup
+%attr(755,root,root) %{_bindir}/unifont1per
 %attr(755,root,root) %{_bindir}/unifontchojung
 %attr(755,root,root) %{_bindir}/unifontksx
 %attr(755,root,root) %{_bindir}/unifontpic
@@ -219,6 +239,7 @@ fontpostinst TTF
 %attr(755,root,root) %{_bindir}/unihex2png
 %attr(755,root,root) %{_bindir}/unihexfill
 %attr(755,root,root) %{_bindir}/unihexgen
+%attr(755,root,root) %{_bindir}/unihexrotate
 %attr(755,root,root) %{_bindir}/unipagecount
 %attr(755,root,root) %{_bindir}/unipng2hex
 %{_mandir}/man1/bdfimplode.1*
@@ -231,8 +252,10 @@ fontpostinst TTF
 %{_mandir}/man1/johab2ucs2.1*
 %{_mandir}/man1/unibdf2hex.1*
 %{_mandir}/man1/unibmp2hex.1*
+%{_mandir}/man1/unibmpbump.1*
 %{_mandir}/man1/unicoverage.1*
 %{_mandir}/man1/unidup.1*
+%{_mandir}/man1/unifont1per.1*
 %{_mandir}/man1/unifontchojung.1*
 %{_mandir}/man1/unifontksx.1*
 %{_mandir}/man1/unifontpic.1*
@@ -242,6 +265,7 @@ fontpostinst TTF
 %{_mandir}/man1/unihex2png.1*
 %{_mandir}/man1/unihexfill.1*
 %{_mandir}/man1/unihexgen.1*
+%{_mandir}/man1/unihexrotate.1*
 %{_mandir}/man1/unipagecount.1*
 %{_mandir}/man1/unipng2hex.1*
 
@@ -249,4 +273,5 @@ fontpostinst TTF
 %files viewer
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/unifont-viewer
+%{_mandir}/man1/unifont-viewer.1*
 %endif
This page took 0.08209 seconds and 4 git commands to generate.