perl 5.16 mass rebuild [release 1.07-4mamba;Sat Nov 10 2012]
This commit is contained in:
parent
e1bb60cf8d
commit
2e73bea30c
@ -1,2 +1,6 @@
|
|||||||
# perl-HTTP-GHTTP
|
# perl-HTTP-GHTTP
|
||||||
|
|
||||||
|
This is a fairly low level interface to the Gnome project's libghttp, which allows you to process HTTP requests to HTTP servers.
|
||||||
|
There also exists a slightly higher level interface - a simple get() function which takes a URI as a parameter.
|
||||||
|
This is not exported by default, you have to ask for it explicitly.
|
||||||
|
|
||||||
|
68
perl-HTTP-GHTTP.spec
Normal file
68
perl-HTTP-GHTTP.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-HTTP-GHTTP
|
||||||
|
Version: 1.07
|
||||||
|
Release: 4mamba
|
||||||
|
Summary: HTTP::GHTTP - Perl interface to the gnome ghttp library
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/HTTP-GHTTP-%{version}.tar.gz
|
||||||
|
License: Artistic, GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libghttp-devel
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: libghttp-devel
|
||||||
|
BuildRequires: libghttp-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libgdbm-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a fairly low level interface to the Gnome project's libghttp, which allows you to process HTTP requests to HTTP servers.
|
||||||
|
There also exists a slightly higher level interface - a simple get() function which takes a URI as a parameter.
|
||||||
|
This is not exported by default, you have to ask for it explicitly.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n HTTP-GHTTP-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
||||||
|
sort -u > .packlist && rm $packlist
|
||||||
|
|
||||||
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
|
done
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
rm -f .packlist
|
||||||
|
|
||||||
|
%files -f .packlist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-4mamba
|
||||||
|
- perl 5.16 mass rebuild
|
||||||
|
|
||||||
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-3mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-2mamba
|
||||||
|
- specfile updated
|
||||||
|
|
||||||
|
* Tue Jun 06 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.07-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user