%define upstream_name HTML-Widgets-NavMenu %define upstream_version 1.0701 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: A nav-menu iterator License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/HTML/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Class::XSAccessor) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Scalar) BuildRequires: perl(Module::Build) >= 0.360.0 BuildRequires: perl(Test::More) BuildArch: noarch %description This module generates a navigation menu for a site. It can also generate a complete site map, a path of leading components, and also keeps track of navigation links ("Next", "Prev", "Up", etc.) You can start from the example above and see more examples in the tests, and complete working sites in the Subversion repositories at the http://opensvn.csie.org/shlomif/homepage/ manpage and the http://opensvn.csie.org/perlbegin/perl-begin/ manpage. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc COPYING Changes META.json META.yml MYMETA.yml README TODO examples %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.70.100-2.mga3 + Revision: 368235 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Dec 13 2012 shlomif <shlomif> 1.70.100-1.mga3 + Revision: 330207 - update to 1.0701 * Wed Sep 26 2012 jquelin <jquelin> 1.60.300-1.mga3 + Revision: 298005 - update to 1.0603 * Thu Sep 06 2012 kharec <kharec> 1.60.100-1.mga3 + Revision: 288918 - update to 1.0601 * Sat Dec 17 2011 shlomif <shlomif> 1.60.0-1.mga2 + Revision: 182971 - imported package perl-HTML-Widgets-NavMenu