Author: cweyl

Update of /cvs/extras/rpms/perl-URI-FromHash/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13604

Modified Files:
        .cvsignore sources 
Added Files:
        import.log perl-URI-FromHash.spec 
Log Message:
pseudo-branch of perl-URI-FromHash to F-10


--- NEW FILE import.log ---
perl-URI-FromHash-0_03-2_fc9:HEAD:perl-URI-FromHash-0.03-2.fc9.src.rpm:1226687640


--- NEW FILE perl-URI-FromHash.spec ---

Name:       perl-URI-FromHash 
Version:    0.03 
Release:        3%{?dist}
# see lib/URI/FromHash.pm
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Build a URI from a set of named parameters 
Source:     
http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/URI-FromHash-%{version}.tar.gz
 
Url:        http://search.cpan.org/dist/URI-FromHash
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(Module::Build::Compat)
BuildRequires: perl(Params::Validate)
BuildRequires: perl(Test::More)
BuildRequires: perl(URI) >= 1.22


%description
This module provides a simple one-subroutine "named parameters" style
interface for creating URIs. Underneath the hood it uses 'URI.pm', though
because of the simplified interface it may not support all possible options
for all types of URIs.

It was created for the common case where you simply want to have a simple
interface for creating syntactically correct URIs from known components
(like a path and query string). Doing this using the native 'URI.pm'
interface is rather tedious, requiring a number of method calls, which is
particularly ugly when done inside a templating system such as Mason or
TT2.



%prep
%setup -q -n URI-FromHash-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes README LICENSE t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Fri Nov 14 2008 Chris Weyl <[EMAIL PROTECTED]> 0.03-3
- bump

* Wed Nov 05 2008 Chris Weyl <[EMAIL PROTECTED]> 0.03-2
- update for submission

* Tue Oct 07 2008 Chris Weyl <[EMAIL PROTECTED]> 0.03-1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.1)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-URI-FromHash/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore  14 Nov 2008 05:45:53 -0000      1.1
+++ .cvsignore  14 Nov 2008 20:44:37 -0000      1.2
@@ -0,0 +1 @@
+URI-FromHash-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-URI-FromHash/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources     14 Nov 2008 05:45:53 -0000      1.1
+++ sources     14 Nov 2008 20:44:37 -0000      1.2
@@ -0,0 +1 @@
+a670c6ffb385ad2c9241ca139d416549  URI-FromHash-0.03.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to