Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37043118
en ru br
ALT Linux repositórios
S:1.0-alt3_35
5.0: 0.5-alt2
4.1: 0.5-alt2
4.0: 0.5-alt2

Group :: Sistema/Bibliotecas
RPM: libcgi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define srcname cgilib

Name: libcgi
Version: 0.5
Release: alt2

Group: System/Libraries
Summary: Simple CGI library
Copyright: GPL
URL: http://www.infodrom.org/projects/cgilib/

Source: %srcname-%version.tar.gz
Patch0: %srcname-0.5-alt-makefile.patch


%description
This is quite a simple library that provides an easy interface to the common
gateway interface, known as CGI. The purpose is to provide an easy to use
interface to CGI if you need to write your program in C instead of perl.

Since version 0.5 this library also supports reading and writing cookies as
used by shopping systems and the like.

%package devel
Group: Development/C
Summary: Headers and tool for development with CGI library -- libcgi
Requires: %name = %version-%release

%description devel
Headers and tool for development with CGI library -- libcgi

%prep
%setup -q -n %srcname-%version
%patch0 -p1

%build
%make_build

%install
%make DESTDIR=%buildroot install

pushd %buildroot/%_libdir
ln -s %name.so.%version %name.so
popd


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%doc CHANGES CREDITS cookies.txt readme
%_libdir/%name.so.*
%_man5dir/cgi.5*

%files devel
%_libdir/%name.so
%_man3dir/*
%_includedir/cgilib/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009