1 Summary: A CGI (Common Gateway Interface) library for C++
2 Summary(pl.UTF-8): Biblioteka CGI dla C++
8 Source0: http://dl.sourceforge.net/cgilib/%{name}-%{version}.tar.bz2
9 # Source0-md5: 961308218b6e19ed98aacfd397a0f062
10 Patch0: %{name}-misc.patch
11 Patch1: %{name}-am_ac.patch
12 Patch2: %{name}-gcc3.patch
13 URL: http://cgilib.sourceforge.net/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 cgilib is a library for programming CGIs (Common Gateway Interface,
22 most commonly used for server-side web page scripting) in C++
24 %description -l pl.UTF-8
25 cgilib jest biblioteką do programowania CGI (Common Gateway Interface,
26 najbardziej popularny sposób uruchamiania skryptów po stronie serwera
30 Summary: Header files and develpment documentation for cgilib
31 Summary(pl.UTF-8): Pliki nagłówkowe oraz dokumentacja developerska dla cgilib
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files and develpment documentation for cgilib.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe oraz dokumentacja developerska dla cgilib.
42 Summary: Static cgilib library
43 Summary(pl.UTF-8): Biblioteka statyczna cgilib
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
48 Static cgilib library.
50 %description static -l pl.UTF-8
51 Biblioteka statyczna cgilib.
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
93 %defattr(644,root,root,755)