SPECS: fcgi.spec - large listen backlog - unify examples dir - rel 2

glen glen at pld-linux.org
Sat Dec 3 15:49:03 CET 2005


Author: glen                         Date: Sat Dec  3 14:49:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- large listen backlog
- unify examples dir
- rel 2

---- Files affected:
SPECS:
   fcgi.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/fcgi.spec
diff -u SPECS/fcgi.spec:1.12 SPECS/fcgi.spec:1.13
--- SPECS/fcgi.spec:1.12	Fri May  6 14:44:32 2005
+++ SPECS/fcgi.spec	Sat Dec  3 15:48:57 2005
@@ -3,12 +3,13 @@
 Summary(pl):	Zestaw dla programistów FastCGI - biblioteki współdzielone
 Name:		fcgi
 Version:	2.4.0
-Release:	1
+Release:	2
 License:	distributable
 Group:		Libraries
 Source0:	http://www.fastcgi.com/dist/%{name}-%{version}.tar.gz
 # Source0-md5:	d15060a813b91383a9f3c66faf84867e
 Patch0:		%{name}-no-libs.patch
+Patch1:		%{name}-listen-backlog.patch
 URL:		http://www.fastcgi.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -84,7 +85,8 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 # supplied libtool is broken (relink, C++)
@@ -92,6 +94,8 @@
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+
+CPPFLAGS="-DLISTEN_BACKLOG=1024"
 %configure \
 	--with-global \
 	--with-nodebug \
@@ -102,12 +106,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/fastcgi
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cp -a examples/{Makefile*,*.c} $RPM_BUILD_ROOT%{_examplesdir}/fastcgi
+cp -a examples/{Makefile*,*.c} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -127,7 +131,7 @@
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}
-%{_examplesdir}/fastcgi
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
@@ -139,6 +143,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/12/03 14:48:57  glen
+- large listen backlog
+- unify examples dir
+- rel 2
+
 Revision 1.12  2005/05/06 12:44:32  qboosh
 - no whitespace at eols
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fcgi.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list