Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37869936
en ru br
ALT Linux repositórios
S:1.0.9-alt6.qa1
5.0: 1.0.9-alt5
4.1: 1.0.9-alt5
4.0: 1.0.9-alt5
3.0: 1.0.9-alt4

Group :: Sistema/Bibliotecas
RPM: libghttp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libghttp
Version: 1.0.9
Release: alt4

Summary: GNOME HTTP client library
License: GPL/LGPL
Group: System/Libraries

URL: http://www.gnome.org/
# ftp://ftp.gnome.org/pub/gnome/sources/libghttp/1.0/
Source: %name-%version.tar.bz2

# autotools

Patch0: %name-1.0.9-alt-ac25.patch

# debian

Patch10: %name-1.0.9-deb-http_proxy.patch
Patch11: %name-1.0.9-deb-sprintf-locale.patch
Patch12: %name-1.0.9-deb-malloc.patch
Patch13: %name-1.0.9-deb-flush_chunked.patch

Requires: common-licenses

%package devel
Summary: GNOME HTTP client development
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%package devel-static
Summary: GNOME HTTP client static library
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description
gHTTP is a GNOME library for making HTTP 1.1 requests.

This library has been replaced in the GNOME project by gnome-vfs,
and is orphaned upstream.  New projects will probably want to use
gnome-vfs or libcurl instead of libghttp.

%description devel
gHTTP is a GNOME library for making HTTP 1.1 requests.
This package contains include files for libghttp development.

This library has been replaced in the GNOME project by gnome-vfs,
and is orphaned upstream.  New projects will probably want to use
gnome-vfs or libcurl instead of libghttp.

This library is fully compliant with HTTP 1.1 as defined in the
draft 5 update of RFC 2068.

%description devel-static
gHTTP is a GNOME library for making HTTP 1.1 requests.
This package contains the static version of the library.

This library has been replaced in the GNOME project by gnome-vfs,
and is orphaned upstream.  New projects will probably want to use
gnome-vfs or libcurl instead of libghttp.

This library is fully compliant with HTTP 1.1 as defined in the
draft 5 update of RFC 2068.

%prep
%setup -q
%patch0 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1

%build
autoreconf -fisv
%def_disable static
%configure %{subst_enable static}
%make_build

%install
%makeinstall

# split docs

%define pkgdocdir %_docdir/%name-%version
%__install -d %buildroot%pkgdocdir
%__cp -a AUTHORS ChangeLog doc/ghttp.html %buildroot%pkgdocdir
%__ln_s %_datadir/license/GPL %buildroot%pkgdocdir/COPYING
%__ln_s %_datadir/license/LGPL %buildroot%pkgdocdir/COPYING.LIB

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING*

%files devel
%_includedir/*.h
%_libdir/*.so
%_libdir/*.sh
#_libdir/*.a
%dir %pkgdocdir
%pkgdocdir/ChangeLog
%pkgdocdir/ghttp.html

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%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