Comment out BuildRequires: perl(Module::Build::Compat)
[ZOOM-Perl-moved-to-github.git] / modules / orig / perl-HTML-TagCloud.spec
1 Name:       perl-HTML-TagCloud 
2 Version:    0.34 
3 Release:    4%{?dist}
4 # lib/HTML/TagCloud.pm -> GPL+ or Artistic
5 License:    GPL+ or Artistic 
6 Group:      Development/Libraries
7 Summary:    Generate An HTML Tag Cloud 
8 Source:     HTML-TagCloud-%{version}.tar.gz
9 Url:        http://search.cpan.org/dist/HTML-TagCloud
10 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
11 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
12 BuildArch:  noarch
13
14 BuildRequires: perl(ExtUtils::MakeMaker)
15 #BuildRequires: perl(Module::Build::Compat)
16 BuildRequires: perl(Test::More)
17 # optional tests
18 BuildRequires: perl(Test::Pod)
19 BuildRequires: perl(Test::Pod::Coverage)
20
21 %description
22 The HTML::TagCloud module enables you to generate "tag clouds" in HTML. Tag
23 clouds serve as a textual way to visualize terms and topics that are used
24 most frequently. The tags are sorted alphabetically and a larger font is
25 used to indicate more frequent term usage.
26
27 This module provides a simple interface to generating a CSS-based HTML tag
28 cloud. You simply pass in a set of tags, their URL and their count.  This
29 module outputs stylesheet-based HTML.  You may use the included CSS or use
30 your own.
31
32 %prep
33 %setup -q -n HTML-TagCloud-%{version}
34
35 %build
36 %{__perl} Makefile.PL INSTALLDIRS=vendor
37 make %{?_smp_mflags}
38
39 %install
40 rm -rf %{buildroot}
41
42 make pure_install PERL_INSTALL_ROOT=%{buildroot}
43 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
44 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
45
46 %{_fixperms} %{buildroot}/*
47
48 %check
49 make test
50
51 %clean
52 rm -rf %{buildroot} 
53
54 %files
55 %defattr(-,root,root,-)
56 %doc CHANGES README 
57 %{perl_vendorlib}/*
58 %{_mandir}/man3/*.3*
59
60 %changelog
61 * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.34-4
62 - Mass rebuild with perl-5.12.0
63
64 * Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.34-3
65 - rebuild against perl 5.10.1
66
67 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
68 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
69
70 * Tue Mar 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.34-1
71 - submission
72
73 * Tue Mar 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.34-0
74 - initial RPM packaging
75 - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
76