Author: lisu                         Date: Tue Dec 23 14:41:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.4
- pass optflags, ldflags instead of stupid scons
- kill BR: zlib-devel (freetype-devel dependency)

---- Files affected:
SPECS:
   fudgefont.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/fudgefont.spec
diff -u SPECS/fudgefont.spec:1.7 SPECS/fudgefont.spec:1.8
--- SPECS/fudgefont.spec:1.7    Sat Apr  5 17:29:26 2008
+++ SPECS/fudgefont.spec        Tue Dec 23 15:41:32 2008
@@ -1,24 +1,21 @@
 # $Revision$, $Date$
 # TODO:
-# - optflags (by killing scons?)
 # - build examples and add them to main package
 
 Summary:       Fudges TTF fonts into Allegro
 Summary(pl.UTF-8):     Umieszczanie fontów TTF w Allegro
 Name:          fudgefont
-Version:       1.2
+Version:       1.4
 Release:       0.1
 License:       MIT
 Group:         Applications
 Source0:       http://dl.sourceforge.net/fudgefont/%{name}-%{version}-src.7z
-# Source0-md5: 57bbe9b92d4f25210f803db481eb0939
+# Source0-md5: 4eb0eec8f430a39b4941cebea512c263
 Patch0:                %{name}-paths.patch
-URL:           http://fudgefont.sourceforge.net/
+URL:           http://sourceforge.net/projects/fudgefont/
 BuildRequires: allegro-devel
 BuildRequires: freetype-devel
 BuildRequires: p7zip
-BuildRequires: scons
-BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,7 +44,9 @@
 %patch0 -p1
 
 %build
-scons
+%{__cc} %{rpmcflags} -o fudgefont.os -c -fPIC `freetype-config --cflags` 
src/fudgefont.c
+%{__cc} %{rpmcflags} -o kerning.os -c -fPIC `freetype-config --cflags` 
src/kerning.c
+%{__cc} %{rpmcflags} %{rpmldflags}-o libfudgefont.so -shared fudgefont.os 
kerning.os `freetype-config --libs` `allegro-config --libs`
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,6 +72,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/12/23 14:41:32  lisu
+- up to 1.4
+- pass optflags, ldflags instead of stupid scons
+- kill BR: zlib-devel (freetype-devel dependency)
+
 Revision 1.7  2008/04/05 15:29:26  lisu
 - oops, stupid mistake, reversed
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fudgefont.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to