[packages/unifont] - disabled viewer package (no perl-Wx in Th) - rel 2

baggins baggins at pld-linux.org
Tue Jul 29 23:51:15 CEST 2014


commit 23464367e971352d4efde787e0a12f87f5cf38ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jul 29 23:51:16 2014 +0200

    - disabled viewer package (no perl-Wx in Th)
    - rel 2

 unifont.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/unifont.spec b/unifont.spec
index 132e9b8..85d4b00 100644
--- a/unifont.spec
+++ b/unifont.spec
@@ -1,9 +1,11 @@
+%bcond_with	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:	1
+Release:	2
 License:	GPL v2+ with GNU font embedding exception
 Group:		Fonts
 Source0:	http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
@@ -241,6 +243,8 @@ fontpostinst TTF
 %{_mandir}/man1/unipagecount.1*
 %{_mandir}/man1/unipng2hex.1*
 
+%if %{with viewer}
 %files viewer
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/unifont-viewer
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unifont.git/commitdiff/23464367e971352d4efde787e0a12f87f5cf38ed



More information about the pld-cvs-commit mailing list