packages: freetype1/freetype1.spec - build/package to -progs ttf2bdf and tt...

zbyniu zbyniu at pld-linux.org
Tue Nov 17 00:27:50 CET 2009


Author: zbyniu                       Date: Mon Nov 16 23:27:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build/package to -progs ttf2bdf and ttfbanner from contrib/; rel 14

---- Files affected:
packages/freetype1:
   freetype1.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: packages/freetype1/freetype1.spec
diff -u packages/freetype1/freetype1.spec:1.51 packages/freetype1/freetype1.spec:1.52
--- packages/freetype1/freetype1.spec:1.51	Thu Oct  8 17:07:41 2009
+++ packages/freetype1/freetype1.spec	Tue Nov 17 00:27:45 2009
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Rasteryzer fontów Truetype
 Name:		freetype1
 Version:	1.3.1
-Release:	13
+Release:	14
 License:	BSD-like
 Group:		Libraries
 Source0:	ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
@@ -139,6 +139,18 @@
         --with-gnu-ld
 %{__make}
 
+cd contrib
+# ttf2pfb ttf2pk don't build
+for bdir in ttf2bdf ttfbanner; do
+	cd $bdir
+	%{__libtoolize}
+	%{__aclocal}
+	%{__autoconf}
+	%configure
+	%{__make} -j1
+	cd ..
+done
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -153,6 +165,11 @@
 mv -f $RPM_BUILD_ROOT%{_bindir}/{ftview,ft1view}
 mv -f $RPM_BUILD_ROOT%{_bindir}/{fttimer,ft1timer}
 
+for bdir in ttf2bdf ttfbanner; do
+	%{__make} install -C contrib/$bdir \
+		DESTDIR=$RPM_BUILD_ROOT
+done
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -180,6 +197,8 @@
 %files progs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/f*
+%attr(755,root,root) %{_bindir}/ttf*
+%{_mandir}/man1/ttf2bdf.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -187,6 +206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2009/11/16 23:27:45  zbyniu
+- build/package to -progs ttf2bdf and ttfbanner from contrib/; rel 14
+
 Revision 1.51  2009/10/08 15:07:41  qboosh
 - added link patch to avoid pulling additional xorg deps (SM and ICE)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/freetype1/freetype1.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list