rpms/xorg-x11-font-utils/devel xorg-x11-font-utils.spec,1.26,1.27
Adam Jackson (ajax)
fedora-extras-commits at redhat.com
Mon Dec 10 16:04:57 UTC 2007
Author: ajax
Update of /cvs/pkgs/rpms/xorg-x11-font-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9988
Modified Files:
xorg-x11-font-utils.spec
Log Message:
* Mon Dec 10 2007 Adam Jackson <ajax at redhat.com> 1:7.2-3
- Move bdftruncate (and its perl dependency) to a subpackage.
- %doc for the non-empty READMEs and non-stub COPYINGs.
Index: xorg-x11-font-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-font-utils/devel/xorg-x11-font-utils.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- xorg-x11-font-utils.spec 21 Aug 2007 19:24:53 -0000 1.26
+++ xorg-x11-font-utils.spec 10 Dec 2007 16:04:18 -0000 1.27
@@ -5,7 +5,7 @@
# IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
Epoch: 1
Version: 7.2
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
@@ -47,7 +47,7 @@
Requires(pre): libfontenc >= 0.99.2-2
Provides: %{pkgname}
-Provides: bdftopcf, fonttosfnt, mkfontdir, mkfontscale, bdftruncate, ucs2any
+Provides: bdftopcf, fonttosfnt, mkfontdir, mkfontscale, ucs2any
# NOTE: XFree86-font-utils package contains mkfontdir, mkfontscale, so this
# is needed for upgrades to work properly from OS releases that had XFree86
Obsoletes: XFree86-font-utils
@@ -64,6 +64,18 @@
X.Org X11 font utilities required for font installation, conversion,
and generation.
+%package -n bdftruncate
+Summary: Generate truncated BDF font from ISO 10646-1 encoded BDF font
+Group: Applications/System
+
+%description -n bdftruncate
+bdftruncate allows one to generate from an ISO10646-1 encoded BDF font
+other ISO10646-1 BDF fonts in which all characters above a threshold
+code value are stored unencoded. This is often desirable because the
+Xlib API and X11 protocol data structures used for representing font
+metric information are extremely inefficient when handling sparsely
+populated fonts.
+
%prep
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
%patch0 -p0 -b .font-util-mapdir-use-datadir-fix
@@ -90,11 +102,17 @@
rm -rf $RPM_BUILD_ROOT
# Install all apps
{
- for app in bdftopcf fonttosfnt mkfontdir mkfontscale font-util; do
- pushd $app-*
- make install DESTDIR=$RPM_BUILD_ROOT
- popd
- done
+ for app in bdftopcf fonttosfnt mkfontdir mkfontscale font-util; do
+ pushd $app-*
+ make install DESTDIR=$RPM_BUILD_ROOT
+ popd
+ done
+ for i in */README ; do
+ [ -s $i ] && cp $i README-$(echo $i | sed 's/-[0-9].*//')
+ done
+ for i in */COPYING ; do
+ grep -q stub $i || cp $i COPYING-$(echo $i | sed 's/-[0-9].*//')
+ done
}
%clean
@@ -102,29 +120,36 @@
%files
%defattr(-,root,root,-)
-# FIXME: Include missing docs sometime
-%doc
+%doc README-* COPYING-*
%{_bindir}/bdftopcf
-%{_bindir}/bdftruncate
%{_bindir}/fonttosfnt
%{_bindir}/mkfontdir
%{_bindir}/mkfontscale
%{_bindir}/ucs2any
+# blech. this one should be in -filesystem
%dir %{_datadir}/X11
%dir %{_datadir}/X11/fonts
%dir %{_datadir}/X11/fonts/util
%{_datadir}/X11/fonts/util/map-*
%{_datadir}/aclocal/fontutil.m4
%{_libdir}/pkgconfig/fontutil.pc
-#%dir %{_mandir}/man1x
%{_mandir}/man1/bdftopcf.1*
-%{_mandir}/man1/bdftruncate.1*
%{_mandir}/man1/fonttosfnt.1*
%{_mandir}/man1/mkfontdir.1*
%{_mandir}/man1/mkfontscale.1*
%{_mandir}/man1/ucs2any.1*
+%files -n bdftruncate
+%defattr(-,root,root,-)
+%{_bindir}/bdftruncate
+%{_mandir}/man1/bdftruncate.1*
+
+
%changelog
+* Mon Dec 10 2007 Adam Jackson <ajax at redhat.com> 1:7.2-3
+- Move bdftruncate (and its perl dependency) to a subpackage.
+- %%doc for the non-empty READMEs and non-stub COPYINGs.
+
* Tue Aug 21 2007 Adam Jackson <ajax at redhat.com> - 1:7.2-2
- Rebuild for build id
More information about the fedora-extras-commits
mailing list