SPECS: ETL.spec - 0.04.10 - fix crazy build system hacks

aredridel aredridel at pld-linux.org
Sun Oct 14 07:42:35 CEST 2007


Author: aredridel                    Date: Sun Oct 14 05:42:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.04.10
- fix crazy build system hacks

---- Files affected:
SPECS:
   ETL.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/ETL.spec
diff -u SPECS/ETL.spec:1.5 SPECS/ETL.spec:1.6
--- SPECS/ETL.spec:1.5	Mon Feb 12 22:16:17 2007
+++ SPECS/ETL.spec	Sun Oct 14 07:42:30 2007
@@ -2,12 +2,13 @@
 Summary:	Voria Extended Class and Template Library
 Summary(pl.UTF-8):	Biblioteka rozszerzeń klas i wzorców Vorii
 Name:		ETL
-Version:	0.04.08
+Version:	0.04.10
 Release:	1
 License:	GPL
 Group:		Libraries
-Source0:	http://www.bridgetone.com/voria/files/%{name}-%{version}.tar.gz
-# Source0-md5:	610f00117c2d0e088030a0956242bd1c
+Source0:	http://dl.sourceforge.net/synfig/ETL-0.04.10.tar.gz
+# Source0-md5:	2eb64b0737f62988dd89367cee8c9b55
+Patch0:	%{name}-crazy-debugging.patch
 URL:		http://www.synfig.com/download
 Requires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,8 +23,38 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+. "config/build.cfg"
+
+SED_SCRIPT="
+s/@PACKAGE@/$PACKAGE/g;
+s/@PACKAGE_NAME@/$PACKAGE_NAME/g;
+s/@PACKAGE_BUGREPORT@/$PACKAGE_BUGREPORT/g;
+s/@PACKAGE_TARNAME@/$PACKAGE_TARNAME/g;
+s/@PACKAGE_VERSION@/$PACKAGE_VERSION/g;
+s|@SVN_REPOSITORY@|$SVN_REPOSITORY|g;
+s/@VERSION@/$VERSION/g;
+s/@API_VERSION@/$API_VERSION/g;
+s/@VERSION_MAJ@/$VERSION_MAJ/g;
+s/@VERSION_MIN@/$VERSION_MIN/g;
+s/@VERSION_REV@/$VERSION_REV/g;
+s/@VERSION_REL@/$VERSION_REL/g;
+s/@CFLAGS@//g;
+"
+for FILENAME in doxygen.cfg pkgconfig.pc; do 
+	sed "$SED_SCRIPT" < "config/$FILENAME.in" > $FILENAME;
+done
+
+mv pkgconfig.pc "$PACKAGE_TARNAME.pc.in"
+
+sed "$SED_SCRIPT" < "config/configure.ac" > configure.in
+
+%{__libtoolize}
+%{__aclocal} -I config
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
@@ -48,6 +79,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/10/14 05:42:30  aredridel
+- 0.04.10
+- fix crazy build system hacks
+
 Revision 1.5  2007/02/12 21:16:17  glen
 - tabs in preamle
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ETL.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list