1 Summary: FastCGI development kit - shared libraries
2 Summary(pl): Zestaw dla programistów FastCGI - biblioteki wspó³dzielone
8 Source0: http://www.fastcgi.com/dist/%{name}-%{version}.tar.gz
9 # Source0-md5: d15060a813b91383a9f3c66faf84867e
10 Patch0: %{name}-no-libs.patch
11 Patch1: %{name}-listen-backlog.patch
12 URL: http://www.fastcgi.com/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool >= 2:1.4d-3
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _includedir %{_prefix}/include/fastcgi
21 FastCGI is an open extension to CGI that provides high performance for
22 all Internet applications without the penalties of Web server APIs.
24 FastCGI is designed to be layered on top of existing Web server APIs.
25 For instance, the mod_fastcgi Apache module adds FastCGI support to
26 the Apache server. FastCGI can also be used, with reduced
27 functionality and reduced performance, on any Web server that supports
30 This FastCGI Developer's Kit is designed to make developing FastCGI
31 applications easy. The kit currently supports FastCGI applications
32 written in C/C++, Perl, Tcl, and Java.
34 This package contains only shared libraries used by programs developed
35 using FastCGI Developer's Kit and cgi-fcgi (bridge from CGI to
39 FastCGI to otwarte rozszerzenie CGI daj±ce wysok± wydajno¶æ dla
40 wszystkich aplikacjach internetowych bez obci±¿ania API serwera WWW.
42 FastCGI zosta³ zaprojektowany "na wierzchu" istniej±cych API serwerów.
43 Na przyk³ad, modu³ Apache mod_fastcgi dodaje obs³ugê FastCGI do serwera
44 Apache. FastCGI mo¿e byæ u¿ywany, ze zmniejszon± funkcjonalno¶ci±
45 i wydajno¶ci±, z dowolnym serwerem obs³uguj±cym CGI.
47 Zestaw Programisty FastCGI jest tak zaprojektowany, by uczyniæ ³atwym
48 tworzenie aplikacji FastCGI. Aktualnie wspiera tworzenie aplikacji
49 FastCGI w C/C++, Perlu, Tcl i Javie.
51 Ten pakiet zawiera tylko biblioteki wspó³dzielone u¿ywane przez programy
52 stworzone przy u¿yciu FastCGI developer's Kit oraz program cgi-fcgi
53 (bramkê pomiêdzy CGI a FastCGI).
56 Summary: FastCGI development kit
57 Summary(pl): Zestaw dla programistów FastCGI
58 Group: Development/Libraries
59 Requires: %{name} = %{version}-%{release}
60 Obsoletes: fastcgi-devkit
63 This package contains FastCGI Developer's Kit, which is designed to
64 make developing FastCGI applications easy. The kit currently supports
65 FastCGI applications written in C/C++, Perl, Tcl, and Java.
67 %description devel -l pl
68 Ten pakiet zawiera Zestaw Programisty FastCGI, który jest tak
69 zaprojektowany, by uczyniæ ³atwym tworzenie aplikacji FastCGI.
70 Aktualnie wspiera tworzenie aplikacji FastCGI w C/C++, Perlu, Tcl i
74 Summary: FastCGI static library
75 Summary(pl): Statyczna biblioteka FastCGI
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
80 FastCGI static library.
82 %description static -l pl
83 Statyczna biblioteka FastCGI.
91 # supplied libtool is broken (relink, C++)
97 CPPFLAGS="-DLISTEN_BACKLOG=1024"
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
111 DESTDIR=$RPM_BUILD_ROOT
113 cp -a examples/{Makefile*,*.c} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
116 rm -rf $RPM_BUILD_ROOT
118 %post -p /sbin/ldconfig
119 %postun -p /sbin/ldconfig
122 %defattr(644,root,root,755)
123 %doc README LICENSE.TERMS doc/*.1
124 %attr(755,root,root) %{_bindir}/*
125 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128 %defattr(644,root,root,755)
129 %doc doc/*.htm* doc/*.gif doc/fastcgi-* doc/*.3
130 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_examplesdir}/%{name}-%{version}
136 %defattr(644,root,root,755)