%define name cgicc %define version 3.2.1 %define release 3mdk Summary: Cgicc is an ANSI C++ class lib that simplifies the creation of CGI apps. Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/C URL: http://www.gnu.org/software/cgicc Source: ftp://ftp.gnu.org/gnu/cgicc/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version} %description GNU Cgicc is an ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. Cgicc performs the following functions: - Parses both GET and POST form data transparently. - Provides string, integer, floating-point and single- and multiple-choice retrieval methods for form data. - Provides methods for saving and restoring CGI environments to aid in application debugging. - Provides full on-the-fly HTML generation capabilities, with support for cookies and file inclusion. - Supports HTTP file upload. %prep rm -rf $RPM_BUILD_ROOT %setup -q %configure %build %install %makeinstall rm -rf $RPM_BUILD_ROOT/%_prefix/doc/ %post /sbin/ldconfig %postun /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README example %doc doc/html/* %_bindir/* %{_includedir}/cgicc #%{_infodir}/cgicc.* %{_libdir}/libcgicc.* %changelog * Mon Feb 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 3.2.1-3mdk - rebuild * Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.2.1-2mdk - rebuild * Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 3.2.1-1mdk - 3.2.1 * Thu Jun 28 2001 Lenny Cartier <lenny@mandrakesoft.com> 3.1.5-1mdk - update to 3.1.5 * Mon Jan 08 2001 Lenny Cartier <lenny@mandrakesoft.com> 3.1.4-1mdk - updated to 3.1.4 - use install-info * Wed Aug 02 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.1.3-2mdk - more macros - bm * Thu Jul 06 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 3.0-1mdk - mandrake-ize package - update version - macro-ize package - don't use RPM_OPT_FLAGS as we need -fexceptions and not -fno-exeptions * Wed May 26 1999 Ryan Weaver <ryanw@infohwy.com> [cgicc-3.0-1] - Initial RPM build. - Reworked to use the C++ standard template library. In most places, the STL class string is used where bare char* was used before. The obsolete classes implementing linked lists are gone, replaced by the STL classes vector and iterator. - Include files are now installed in the package include directory cgicc/ under the include/ directory, instead of in the include/ directory itself. - Documentation changed to info format, and expanded. - The test/ directory was renamed to demo/. - The demo programs are no longer installed. - The demo programs now contain internal stylesheet information, instead of linking to an external stylesheet. - Released as part of the GNU project under the GPL.