%define name perl-URI %define real_name URI %define version 1.12 %define release 5 Summary: URI module for perl (World_Wide_Web_HTML_HTTP_CGI/URI) Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: System Environment/Libraries Source: http://www.cpan.org/authors/id/GAAS/%{real_name}-%{version}.tar.bz2 Prefix: %{_prefix} Url: http://www.cpan.org BuildRequires: perl BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot/ Requires: perl >= 5.6.0 %description Perl module which implements the URI class. Object of this class represent Uniform Resource Identifier (URI) references as specified in RFC 2396. Needed by eGrail %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL PREFIX=%{prefix} make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} make test %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes MANIFEST README rfc2396.txt %{_libdir}/perl5/site_perl/*/URI.pm %{_libdir}/perl5/site_perl/*/URI %{_mandir}/*/* %changelog * Thu Jul 18 2001 Crutcher Dunnavant 1.12-4 - imported from mandrake. tweaked man path. * Sat Jul 07 2001 Stefan van der Eijk 1.12-3mdk - BuildRequires: perl-devel * Tue Jul 03 2001 François Pons 1.12-2mdk - fixed reference to perl version number explicitely. - added missing files in packages (?!). * Thu Jun 21 2001 Christian Belisle 1.12-1mdk - 1.12. - Clean up spec a little bit - Needed by eGrail. - Macronize a little bit more. * Sun Jun 17 2001 Geoffrey Lee 1.10-2mdk - Rebuild for the latest perl. * Tue Jan 30 2001 François Pons 1.10-1mdk - 1.10. * Tue Aug 29 2000 François Pons 1.09-1mdk - 1.09. * Thu Aug 03 2000 François Pons 1.08-1mdk - macroszifications. - update requires on perl version. - noarch as no compilation done. - added documentation. - updated description. - 1.08. * Tue Jun 27 2000 Jean-Michel Dault 1.07-1mdk - update to 1.07 * Fri Mar 31 2000 Pixel 1.05-2mdk - new group, rebuild, cleanup * Tue Feb 29 2000 Jean-Michel Dault - upgraded to 1.05 * Mon Jan 3 2000 Jean-Michel Dault - final cleanup for Mandrake 7 * Thu Dec 30 1999 Jean-Michel Dault - rebuilt for Mandrake 7 * Sun Aug 29 1999 Jean-Michel Dault - Spec file was autogenerated.