packages: ttmkfdir/ttmkfdir.spec - BR: zlib-devel - updated *FLAGS passing, ...

qboosh qboosh at pld-linux.org
Sun Sep 11 15:57:16 CEST 2011


Author: qboosh                       Date: Sun Sep 11 13:57:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: zlib-devel
- updated *FLAGS passing, now as-needed is in use
- package README

---- Files affected:
packages/ttmkfdir:
   ttmkfdir.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/ttmkfdir/ttmkfdir.spec
diff -u packages/ttmkfdir/ttmkfdir.spec:1.27 packages/ttmkfdir/ttmkfdir.spec:1.28
--- packages/ttmkfdir/ttmkfdir.spec:1.27	Tue Sep  6 17:39:14 2011
+++ packages/ttmkfdir/ttmkfdir.spec	Sun Sep 11 15:57:10 2011
@@ -24,6 +24,7 @@
 BuildRequires:	freetype-devel >= 2.0.1
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	zlib-devel
 Provides:	ttmkfdir2
 Obsoletes:	ttmkfdir2
 # our freetype1 < 1.3.1-4 (formerly freetype-1.x.x) contained old ttmkfdir
@@ -55,9 +56,9 @@
 %build
 %{__make} \
 	CXX="%{__cxx}" \
-	DEBUG="%{rpmcflags} %{rpmcppflags}" \
-	FREETYPE_BASE="/usr/include/freetype2" \
-	FREETYPE_LIB="%{_libdir}/libfreetype.la"
+	DEBUG= \
+	OPTFLAGS="%{rpmcxxflags} %{rpmcppflags}" \
+	LDFLAGS='%{rpmldflags} $(FREETYPE_LIB) -lz'
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,6 +74,7 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,root) %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1*
 
@@ -82,6 +84,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2011/09/11 13:57:10  qboosh
+- BR: zlib-devel
+- updated *FLAGS passing, now as-needed is in use
+- package README
+
 Revision 1.27  2011/09/06 15:39:14  arekm
 - update to 3.0.9 (from debian) + patches (from fedora)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ttmkfdir/ttmkfdir.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list