Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > b6ee7164398354f1c8533951bd093151 > files > 2

cgicc-3.2.1-4mdk.src.rpm

%define	name	cgicc
%define	version	3.2.1
%define	release	4mdk

%define major 1
%define libname %mklibname %{name} %major
%define libnamedev %mklibname %{name} %major -d


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. 

%package -n %libname
Summary:        Cgicc is an ANSI C++ class lib that simplifies the creation of CGI apps.
Group:          Development/C

%description -n %libname
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.

%package -n %libnamedev
Summary:        Cgicc is an ANSI C++ class lib that simplifies the creation of CGI apps.
Group:          Development/C
Requires:	%libname = %version
Provides: 	libcgicc-devel

%description -n %libnamedev
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/
rm -rf $RPM_BUILD_ROOT/%_docdir/%name-%version/example/.libs

%post -n %libname -p /sbin/ldconfig

%postun -n %libname -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README example
%doc doc/html/* 
%_bindir/*

%files -n %libname
%defattr(-,root,root)
%{_libdir}/*.so.*

%files -n %libnamedev
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*.*a
%_includedir/%name

%changelog
* Fri Jun 18 2004 Lenny Cartier <lenny@mandrakesoft.com> 3.2.1-4mdk
- rebuild

* 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.