SPECS: prozilla.spec - added opt patch

qboosh qboosh at pld-linux.org
Fri Jan 27 22:09:25 CET 2006


Author: qboosh                       Date: Fri Jan 27 21:09:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added opt patch

---- Files affected:
SPECS:
   prozilla.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/prozilla.spec
diff -u SPECS/prozilla.spec:1.40 SPECS/prozilla.spec:1.41
--- SPECS/prozilla.spec:1.40	Tue Jan 24 17:35:42 2006
+++ SPECS/prozilla.spec	Fri Jan 27 22:09:20 2006
@@ -13,9 +13,11 @@
 Patch1:		%{name}-Oopt.patch
 Patch2:		%{name}-man.patch
 Patch3:		%{name}-gcc4.patch
+Patch4:		%{name}-opt.patch
 URL:		http://prozilla.genesys.ro/
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1.4
+BuildRequires:	libtool
 BuildRequires:	ncurses-devel >= 5.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,14 +46,27 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
+# kill AC_PROG_LIBTOOL
+head -n 667 libprozilla/acinclude.m4 > tmp
+mv tmp libprozilla/acinclude.m4
 
 %build
-rm -f missing
-CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+cd libprozilla
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure
+%configure \
+	CPPFLAGS="-I/usr/include/ncurses"
 %{__make}
 
 %install
@@ -63,7 +78,6 @@
 #install prozrc.sample	$RPM_BUILD_ROOT%{_sysconfdir}/prozilla.conf
 install man/proz.1	$RPM_BUILD_ROOT%{_mandir}/man1
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -80,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2006/01/27 21:09:20  qboosh
+- added opt patch
+
 Revision 1.40  2006/01/24 16:35:42  maciek2w
 - gcc4 fix; STBR for Th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/prozilla.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list