+#
+# Do not Edit! Generated by:
+# spectacle version 0.18
+#
+# >> macros
+# << macros
+
Name: perl-URI
Summary: A Perl module implementing URI parsing and manipulation
Version: 1.54
License: GPL+ or Artistic
BuildArch: noarch
URL: http://search.cpan.org/dist/URI/
-Source0: %{name}-%{version}.tar.bz2
+Source0: http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
+Source100: perl-URI.yaml
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(ExtUtils::MakeMaker)
updated by RFC 2732).
+
+
%prep
-%setup
+%setup -q -n URI-%{version}
+# >> setup
chmod 644 uri-test
+# << setup
%build
+# >> build pre
+# << build pre
if test -f Makefile.PL; then
%{__perl} Makefile.PL INSTALLDIRS=vendor
./Build
fi
+# >> build post
+# << build post
%install
rm -rf %{buildroot}
+# >> install pre
+# << install pre
if test -f Makefile.PL; then
make pure_install PERL_INSTALL_ROOT=%{buildroot}
else
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
+# >> install post
chmod -R u+w $RPM_BUILD_ROOT/*
for file in Changes; do
done
+# << install post
%check
+# >> check
make test
+# << check
+
+
+
+
+
%files
%defattr(-,root,root,-)
+# >> files
%doc Changes README uri-test
%{perl_vendorlib}/URI*
-#%doc %{_mandir}/man3/*.3*
+%doc %{_mandir}/man3/*.3*
+# << files
+
+
--- /dev/null
+Name: perl-URI
+Summary: A Perl module implementing URI parsing and manipulation
+Version: 1.54
+Release: 1
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/URI/
+Sources:
+ - http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
+Description: |
+ This module implements the URI class. Objects of this class represent
+ "Uniform Resource Identifier references" as specified in RFC 2396 (and
+ updated by RFC 2732).
+
+PkgBR:
+ - perl(MIME::Base64)
+ - perl(ExtUtils::MakeMaker)
+ - perl(Test::More)
+Configure: none
+Builder: perl
+BuildArch: noarch
+Check: yes