rpms/perl-URI-FromHash/devel import.log, NONE, 1.1 perl-URI-FromHash.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Fri Nov 14 18:34:51 UTC 2008


Author: cweyl

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

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-URI-FromHash.spec 
Log Message:
initial commit



--- 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:    2%{?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
* Wed Nov 05 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.03-2
- update for submission

* Tue Oct 07 2008 Chris Weyl <cweyl at alumni.drew.edu> 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/devel/.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 18:34:21 -0000	1.2
@@ -0,0 +1 @@
+URI-FromHash-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-URI-FromHash/devel/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 18:34:21 -0000	1.2
@@ -0,0 +1 @@
+a670c6ffb385ad2c9241ca139d416549  URI-FromHash-0.03.tar.gz




More information about the Fedora-perl-devel-list mailing list