Author: glen Date: Wed Feb 15 21:44:51 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 2.08, builds with current mod_perl
---- Files affected: SPECS: perl-Apache-Scoreboard.spec (1.23 -> 1.24) ---- Diffs: ================================================================ Index: SPECS/perl-Apache-Scoreboard.spec diff -u SPECS/perl-Apache-Scoreboard.spec:1.23 SPECS/perl-Apache-Scoreboard.spec:1.24 --- SPECS/perl-Apache-Scoreboard.spec:1.23 Sun Jan 9 15:09:59 2005 +++ SPECS/perl-Apache-Scoreboard.spec Wed Feb 15 22:44:46 2006 @@ -1,8 +1,7 @@ # $Revision$, $Date$ -# +# # Conditional build: -# Can't get tests to work. Apache::Test doesn't find mod_status. -%bcond_with tests # don't perform "make test" +%bcond_without tests # don't perform "make test" # %include /usr/lib/rpm/macros.perl %define pdir Apache @@ -10,13 +9,13 @@ Summary: Apache::Scoreboard - Perl interface to the Apache scoreboard structure Summary(pl): Apache::Scoreboard - perlowy interfejs do struktury scoreboard Apache'a Name: perl-Apache-Scoreboard -Version: 2.03 +Version: 2.08 Release: 1 License: unknown Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: ad4accfef4a33b127e71a4f0a9954d91 -BuildRequires: apache-mod_perl +# Source0-md5: f66b6e222cfc4b41c9b327af2478b44b +BuildRequires: apache-mod_perl-devel BuildRequires: apr-devel >= 1:1.0 BuildRequires: apr-util-devel >= 1:1.0 BuildRequires: perl-devel >= 1:5.8.0 @@ -34,8 +33,8 @@ current server statistics in a human readable form. %description -l pl -Apache śledzi aktywność serwera w strukturze znanej jako scoreboard. -W scoreboard znajduje się slot dla każdego serwera potomnego, +Apache śledzi aktywność serwera w strukturze znanej jako scoreboard. W +scoreboard znajduje się slot dla każdego serwera potomnego, zawierający informacje takie jak stan, liczba klientów, wysłanych bajtów i zajęty czas procesora. Te same informacje są używane przez mod_status do udostępniania aktualnych statystyk w postaci czytelnej @@ -45,11 +44,18 @@ %setup -q -n %{pdir}-%{pnam}-%{version} %build +INC="-I/usr/include/apache $(apr-1-config --includes) $(apu-1-config --includes)" +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor \ + INC="$INC" +cd Dummy %{__perl} Makefile.PL \ INSTALLDIRS=vendor \ - INC="-I/usr/include/apache $(apr-1-config --includes) $(apu-1-config --includes)" + INC="$INC" +cd .. %{__make} \ OPTIMIZE="%{rpmcflags}" +%{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT @@ -59,6 +65,8 @@ install -d $RPM_BUILD_ROOT%{_examplesdir} cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod +rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Apache/Scoreboard/.packlist %clean rm -rf $RPM_BUILD_ROOT @@ -70,10 +78,6 @@ %dir %{perl_vendorarch}/auto/Apache/Scoreboard %attr(755,root,root) %{perl_vendorarch}/auto/Apache/Scoreboard/*.so %{perl_vendorarch}/auto/Apache/Scoreboard/*.bs -# Isn't built. What's this anyway? -#%dir %{perl_vendorarch}/auto/Apache/DummyScoreboard -#%attr(755,root,root) %{perl_vendorarch}/auto/Apache/DummyScoreboard/*.so -#%{perl_vendorarch}/auto/Apache/DummyScoreboard/*.bs %attr(755,root,root) %{_examplesdir}/%{name}-%{version} %{_mandir}/man3/* @@ -83,6 +87,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.24 2006/02/15 21:44:46 glen +- updated to 2.08, builds with current mod_perl + Revision 1.23 2005/01/09 14:09:59 adamg - updated to 2.03 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/perl-Apache-Scoreboard.spec?r1=1.23&r2=1.24&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
