Author: zbyniu                       Date: Mon Jan 23 22:17:45 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.113

---- Files affected:
packages/perl-CGI-Simple:
   perl-CGI-Simple.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/perl-CGI-Simple/perl-CGI-Simple.spec
diff -u packages/perl-CGI-Simple/perl-CGI-Simple.spec:1.5 
packages/perl-CGI-Simple/perl-CGI-Simple.spec:1.6
--- packages/perl-CGI-Simple/perl-CGI-Simple.spec:1.5   Mon Jul 28 00:28:25 2008
+++ packages/perl-CGI-Simple/perl-CGI-Simple.spec       Mon Jan 23 23:17:40 2012
@@ -9,16 +9,20 @@
 Summary:       CGI::Simple - a Simple totally OO CGI interface that is CGI.pm 
compliant
 Summary(pl.UTF-8):     CGI::Simple - prosty, zorientowany obiektowo interfejs 
CGI zgodny z CGI.pm
 Name:          perl-CGI-Simple
-Version:       0.077
-Release:       2
+Version:       1.113
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       
http://www.cpan.org/modules/by-authors/id/J/JF/JFREEMAN/Cgi-Simple-%{version}.tar.gz
-# Source0-md5: 5b947fe84b30a2c8ed050550f73b39a9
+Source0:       
http://www.cpan.org/modules/by-module/CGI/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 50c50dbec87b822e3f2285e41cb23519
 URL:           http://search.cpan.org/dist/Cgi-Simple/
+BuildRequires: perl-Module-Build
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-IO-stringy
+%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,20 +42,21 @@
 CGI::Simple::Standard.
 
 %prep
-%setup -q -n Cgi-%{pnam}-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
+#setup -q -n Cgi-%{pnam}-%{version}
 
 %build
-%{__perl} Makefile.PL \
-       INSTALLDIRS=vendor
-%{__make}
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
 
-%{?with_tests:%{__make} test}
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+./Build install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -69,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2012/01/23 22:17:40  zbyniu
+- up to 1.113
+
 Revision 1.5  2008/07/27 22:28:25  arekm
 - release 2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-CGI-Simple/perl-CGI-Simple.spec?r1=1.5&r2=1.6&f=u

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

Reply via email to