Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 1.58
Fetching contributors…

Cannot retrieve contributors at this time

70 lines (55 sloc) 1.77 kb
name: Perlbal
summary: Perlbal - High efficiency reverse proxy and web server.
version: 1.56
release: 1
vendor: Brad Fitzpatrick <brad@danga.com>
packager: Jonathan Steinert <hachi@cpan.org>
license: Artistic
group: Applications/CPAN
buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
buildarch: noarch
source: Perlbal-%{version}.tar.gz
buildrequires: perl-Danga-Socket >= 1.44, perl-Sys-Syscall, perl-BSD-Resource, perl-libwww-perl
requires: perl-Perlbal = %{version}-%{release}, perl-Danga-Socket >= 1.44, perl-Sys-Syscall, perl-BSD-Resource, perl-libwww-perl
%description
High efficiency reverse proxy and web server.
%prep
rm -rf "%{buildroot}"
%setup -n Perlbal-%{version}
%build
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix}
make all
make test
%install
make pure_install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
# remove special files
find %{buildroot} \( \
-name "perllocal.pod" \
-o -name ".packlist" \
-o -name "*.bs" \
\) -exec rm -f {} \;
# no empty directories
find %{buildroot}%{_prefix} \
-type d -depth -empty \
-exec rmdir {} \;
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_prefix}/bin/*
%{_prefix}/share/man/man1
%package doc
summary: Perlbal-doc - Documentation for Perlbal, a high efficiency reverse proxy and web server.
group: Applications/CPAN
%description doc
Documentation for Perlbal.
%files doc
%package -n perl-Perlbal
summary: perl-Perlbal - Perlbal libraries.
group: Applications/CPAN
%description -n perl-Perlbal
Perlbal libraries.
%files -n perl-Perlbal
%{_prefix}/lib/*
%{_prefix}/share/man/man3
Jump to Line
Something went wrong with that request. Please try again.