Author: cweyl Update of /cvs/extras/rpms/perl-HTML-LinkList/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20878/devel Modified Files: .cvsignore sources Added Files: import.log perl-HTML-LinkList.spec Log Message: initial import --- NEW FILE import.log --- perl-HTML-LinkList-0_1503-1_fc10:HEAD:perl-HTML-LinkList-0.1503-1.fc10.src.rpm:1235873574 --- NEW FILE perl-HTML-LinkList.spec --- Name: perl-HTML-LinkList Version: 0.1503 Release: 1%{?dist} # lib/HTML/LinkList.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Create a 'smart' list of HTML links Source: http://search.cpan.org/CPAN/authors/id/R/RU/RUBYKAT/HTML-LinkList-%{version}.tar.gz Url: http://search.cpan.org/dist/HTML-LinkList 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(strict) BuildRequires: perl(Test::Distribution) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %description This module contains a number of functions for taking sets of URLs and labels and creating suitably formatted HTML. These links are "smart" because, if given the url of the current page, if any of the links in the list equal it, that item in the list will be formatted as a special label, not as a link; this is a Good Thing, since the user would be confused by clicking on a link back to the current page. While many website systems have plugins for "smart" navbars, they are specialized for that system only, and can't be reused elsewhere, forcing people to reinvent the wheel. I hereby present one wheel, free to be reused by anybody; just the simple functions, a backend, which can be plugged into whatever system you want.The default format for the HTML is to make an unordered list, but there are many options, enabling one to have a flatter layout with any separators you desire, or a more complicated list with differing formats for different levels. %prep %setup -q -n HTML-LinkList-%{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 README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Feb 27 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.1503-1 - submission * Fri Feb 27 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.1503-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-HTML-LinkList/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 1 Mar 2009 00:24:17 -0000 1.1 +++ .cvsignore 1 Mar 2009 02:13:06 -0000 1.2 @@ -0,0 +1 @@ +HTML-LinkList-0.1503.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-HTML-LinkList/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 1 Mar 2009 00:24:17 -0000 1.1 +++ sources 1 Mar 2009 02:13:06 -0000 1.2 @@ -0,0 +1 @@ +57e79ea9a15e57864042d3645651530c HTML-LinkList-0.1503.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list