Name: rudecgi Version: 5.1.0 Release: 4%{?dist} Summary: Library (C++ API) for reading CGI form data Group: System Environment/Libraries License: GPLv2+ URL: http://www.rudeserver.com/ Source0: http://www.rudeserver.com/download/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description %{name} is a library that allows CGI applications to access form data. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %{name} is a library that allows CGI applications to access form data submitted to a webserver using GET and POST methods. It also extracts path info and cookie data from the environment and supports file uploads. The %{name}-devel package contains libraries, header files, and documentation needed to develop C++ applications using %{name}. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS ChangeLog %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc %dir %{_includedir}/rude %{_includedir}/rude/cgi.h %{_libdir}/*.so %{_mandir}/man3/* %changelog * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.1.0-2 - Autorebuild for GCC 4.3 * Fri Jan 11 2008 Matt Flood <matt@rudeserver.com> - 5.1.0-1 - added missing include directives to allow compile with g++ 4.3.0 as per patch kindly provided by Michael Schwendt - addressed rpm lint issues: mixed spaces and tabs in sourcecode - Corrected license from GPL to GPLv2+ in spec file, * Wed May 23 2007 Matt Flood <matt@rudeserver.com> - 5.0.0-1 - Interface Changes renamed main object from "CGIParser" to "CGI" - Build Scripts Updated build scripts to create rpms properly * Thu Jan 11 2007 Matt Flood <matt@rudeserver.com> - 4.1.1-1 - Bug Fixes Since apache presents multiple cookies as a semi-colon delimited list, the comma was removed from the cookie tokenizing function in CookieParser.cpp: char *key=strtok(buffer, "; \t\f\r\n,"); Increased const correctness throughout library Improved the File Parsing Algorithm in NewMultipartParser where chomping newlines is concerned - Created MAN page * Thu Apr 10 2006 Matt Flood <matt@rudeserver.com> - 4.0.1-1 - First RPM Release