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