Author: hawk                         Date: Fri Oct 28 07:07:54 2005 GMT
Module: SPECS                         Tag: RA-branch
---- Log message:
- merged version 1.72 from HEAD
- adjusted for Ra, release 2

---- Files affected:
SPECS:
   perl-Time-HiRes.spec (1.32.2.5 -> 1.32.2.6) 

---- Diffs:

================================================================
Index: SPECS/perl-Time-HiRes.spec
diff -u SPECS/perl-Time-HiRes.spec:1.32.2.5 SPECS/perl-Time-HiRes.spec:1.32.2.6
--- SPECS/perl-Time-HiRes.spec:1.32.2.5 Sat Mar 20 12:17:47 2004
+++ SPECS/perl-Time-HiRes.spec  Fri Oct 28 09:07:49 2005
@@ -1,44 +1,51 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
-%define        pdir    Time
-%define        pnam    HiRes
+%define                pdir    Time
+%define                pnam    HiRes
 Summary:       Time::HiRes - high resolution alarm, sleep, gettimeofday, 
interval timers
 Summary(pl):   Time::HiRes - wysokiej rozdzielczości funkcje alarm, sleep, 
gettimeofday i liczniki
 Name:          perl-Time-HiRes
-Version:       1.45
-Release:       1
-License:       GPL/Artistic
+Version:       1.72
+Release:       2
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       
http://backpan.cpan.org/authors/id/J/JH/JHI/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: dc942ebd34e25ab744c73a94216f24e3
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 4.0.2-104
+Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 6fb0576c7a7092fdf5d464943fd3b6e6
+BuildRequires: perl-devel >= 1:5.6.1
+BuildRequires: rpm-perlprov >= 4.0.2-112.1
+# remove the line below if you *really* have newer version than one
+# available in perl-modules
+#BuildRequires:        this-must-be-newer-version-than-in-perl-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Time::HiRes - High resolution ualarm, usleep, and gettimeofday.
 
 %description -l pl
-Time::HiRes to interfejs perla dla funkcji systemowych: ualarm, usleep
+Time::HiRes to interfejs Perla dla funkcji systemowych: ualarm, usleep
 i gettimeofday.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__perl} Makefile.PL \
+       INSTALLDIRS=site
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,11 +53,11 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README TODO
-%{perl_archlib}/Time
-%dir %{perl_archlib}/auto/Time
-%dir %{perl_archlib}/auto/Time/HiRes
-%{perl_archlib}/auto/Time/HiRes/HiRes.bs
-%attr(755,root,root) %{perl_archlib}/auto/Time/HiRes/HiRes.so
+%{perl_sitearch}/%{pdir}
+%dir %{perl_sitearch}/auto/%{pdir}
+%dir %{perl_sitearch}/auto/%{pdir}/%{pnam}
+%{perl_sitearch}/auto/%{pdir}/%{pnam}/%{pnam}.bs
+%attr(755,root,root) %{perl_sitearch}/auto/%{pdir}/%{pnam}/%{pnam}.so
 %{_mandir}/man3/*
 
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -59,6 +66,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32.2.6  2005/10/28 07:07:49  hawk
+- merged version 1.72 from HEAD
+- adjusted for Ra, release 2
+
 Revision 1.32.2.5  2004/03/20 11:17:47  twittner
 - working source, md5
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SPECS/perl-Time-HiRes.spec?r1=1.32.2.5&r2=1.32.2.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to