]> git.pld-linux.org Git - packages/fcgi.git/commitdiff
- large listen backlog AC-branch AC-STABLE auto/ac/fcgi-2_4_0-2 auto/th/fcgi-2_4_0-2
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 3 Dec 2005 14:48:57 +0000 (14:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- unify examples dir
- rel 2

Changed files:
    fcgi.spec -> 1.13

fcgi.spec

index eea4bab5b506065ea13f19e9ab9e72c22cca5231..a4e28107e2669f1379c32afc3715f60975bc4bc9 100644 (file)
--- a/fcgi.spec
+++ b/fcgi.spec
@@ -2,12 +2,13 @@ Summary:      FastCGI development kit - shared libraries
 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
@@ -83,7 +84,8 @@ Statyczna biblioteka FastCGI.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 # supplied libtool is broken (relink, C++)
@@ -91,6 +93,8 @@ Statyczna biblioteka FastCGI.
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+
+CPPFLAGS="-DLISTEN_BACKLOG=1024"
 %configure \
        --with-global \
        --with-nodebug \
@@ -101,12 +105,12 @@ Statyczna biblioteka FastCGI.
 
 %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
@@ -126,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}
-%{_examplesdir}/fastcgi
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
This page took 0.062342 seconds and 4 git commands to generate.