rpms/asterisk/devel 0014-latex2html-local_icons.patch, NONE, 1.1 asterisk.spec, 1.82, 1.83

Jeffrey C. Ollie jcollie at fedoraproject.org
Wed Jul 14 21:04:07 UTC 2010


Author: jcollie

Update of /cvs/pkgs/rpms/asterisk/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8970

Modified Files:
	asterisk.spec 
Added Files:
	0014-latex2html-local_icons.patch 
Log Message:
* Tue Jun 01 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.6.2.8-0.2.rc1
- Mass rebuild with perl-5.12.0


0014-latex2html-local_icons.patch:
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE 0014-latex2html-local_icons.patch ---
--- asterisk-1.6.2.8-rc1/doc/tex/Makefile.org	2010-07-14 17:55:01.000000000 +0200
+++ asterisk-1.6.2.8-rc1/doc/tex/Makefile	2010-07-14 17:55:51.000000000 +0200
@@ -41,7 +41,7 @@
 	@cp asterisk.tex asterisk.tex.orig
 	@sed -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' asterisk.tex > asterisk_local.tex
 	@mv asterisk_local.tex asterisk.tex
-	@latex2html asterisk.tex
+	@latex2html -local_icons asterisk.tex
 	@mv asterisk.tex.orig asterisk.tex
 
 txt: asterisk.txt


Index: asterisk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/asterisk/devel/asterisk.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -p -r1.82 -r1.83
--- asterisk.spec	1 Jun 2010 12:46:19 -0000	1.82
+++ asterisk.spec	14 Jul 2010 21:04:06 -0000	1.83
@@ -25,6 +25,8 @@ Patch8:  0008-change-configure.ac-to-loo
 Patch11: 0011-Fix-up-some-paths.patch
 Patch12: 0012-Add-LDAP-schema-that-is-compatible-with-Fedora-Direc.patch
 
+Patch14: 0014-latex2html-local_icons.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 
 BuildRequires: autoconf
@@ -53,6 +55,7 @@ BuildRequires: doxygen
 BuildRequires: graphviz
 BuildRequires: graphviz-gd
 BuildRequires: libxml2-devel
+BuildRequires: latex2html
 
 # for codec_speex
 BuildRequires: speex-devel >= 1.2
@@ -73,9 +76,6 @@ Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
 
-# needed for icons used from %{_datadir}/asterisk/static-http/*
-Requires: latex2html
-
 # asterisk-conference package removed since patch no longer compiles
 Obsoletes: asterisk-conference <= 1.6.0-0.14.beta9
 Obsoletes: asterisk-mobile <= 1.6.1-0.23.rc1
@@ -398,6 +398,7 @@ local filesystem.
 %patch8 -p0
 %patch11 -p0
 %patch12 -p1
+%patch14 -p1
 
 cp %{SOURCE2} menuselect.makedeps
 cp %{SOURCE3} menuselect.makeopts
@@ -476,6 +477,8 @@ ASTCFLAGS="%{optflags}" make progdocs DE
 # fix dates so that we don't get multilib conflicts
 find doc/api/html -type f -print0 | xargs --null touch -r ChangeLog
 
+cd doc/tex && ASTCFLAGS="%{optflags}" make html
+
 %install
 rm -rf %{buildroot}
 



More information about the scm-commits mailing list