]> git.pld-linux.org Git - packages/perl-HTTP-GHTTP.git/blame - perl-HTTP-GHTTP.spec
rebuild with perl 5.32
[packages/perl-HTTP-GHTTP.git] / perl-HTTP-GHTTP.spec
CommitLineData
a4386125 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
dea601d7 5%define pdir HTTP
6%define pnam GHTTP
3f62a1f5 7Summary: HTTP::GHTTP - Perl interface to the GNOME ghttp library
24919aca 8Summary(pl.UTF-8): HTTP::GHTTP - moduł Perla z interfejsem do biblioteki GNOME ghttp
68069a76 9Name: perl-HTTP-GHTTP
38474779 10Version: 1.07
a663dfc3 11Release: 18
7fb19f19 12# same as perl
13License: GPL v1+ or Artistic
68069a76 14Group: Development/Languages/Perl
3e6ae42c 15Source0: http://www.cpan.org/modules/by-module/HTTP/%{pdir}-%{pnam}-%{version}.tar.gz
340b6d7b 16# Source0-md5: af6090669fde7709c765c2caf03aa42b
3e6ae42c 17URL: http://search.cpan.org/dist/HTTP-GHTTP/
68069a76 18BuildRequires: libghttp-devel
d7dd2976 19BuildRequires: perl-devel >= 1:5.8.0
e1255426 20BuildRequires: rpm-perlprov >= 4.1-13
68069a76 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
3f62a1f5 24The HTTP::GHTTP module is a simple Perl interface to the GNOME ghttp
25library. It allows you to make very simple HTTP requests, without the
26weight of something like LWP. This makes it very useful in situations
27where memory and speed are at a premium, such as mod_perl.
68069a76 28
16c8aee4
JR
29%description -l pl.UTF-8
30Moduł Perla HTTP::GHTTP stanowi prosty interfejs do biblioteki GNOME
31ghttp. Umożliwia on tworzenie bardzo prostych zapytań HTTP bez narzutu
32czegoś takiego, jak LWP. Czyni to go bardzo przydatnym, gdy pamięć i
33prędkość są bardzo istotne, np. w mod_perl.
68069a76 34
35%prep
7dff68ab 36%setup -q -n %{pdir}-%{pnam}-%{version}
68069a76 37
38%build
e1255426 39%{__perl} Makefile.PL \
8d803cfb 40 INSTALLDIRS=vendor
a4386125 41%{__make} \
6f64d8b1 42 CC="%{__cc}" \
a4386125 43 OPTIMIZE="%{rpmcflags}"
44
45%{?with_tests:%{__make} test}
68069a76 46
47%install
48rm -rf $RPM_BUILD_ROOT
49
a4386125 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
68069a76 52
68069a76 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
ea12007b 58%doc Changes README
68069a76 59%attr(755,root,root) %{_bindir}/g-request
e1255426 60%dir %{perl_vendorarch}/HTTP
61%{perl_vendorarch}/HTTP/GHTTP.pm
62%dir %{perl_vendorarch}/auto/HTTP
51a1049f 63%dir %{perl_vendorarch}/auto/HTTP/GHTTP
51a1049f
JB
64%attr(755,root,root) %{perl_vendorarch}/auto/HTTP/GHTTP/GHTTP.so
65%{_mandir}/man3/HTTP::GHTTP*.3pm*
This page took 0.06981 seconds and 4 git commands to generate.