/[smeserver]/rpms/perl-HTML-Tabulate/sme10/perl-HTML-Tabulate.spec
ViewVC logotype

Annotation of /rpms/perl-HTML-Tabulate/sme10/perl-HTML-Tabulate.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Mar 17 20:38:50 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-HTML-Tabulate-0_45-1_el7_sme, HEAD
Import perl-HTML-Tabulate in CVS

1 vip-ire 1.1 Name: perl-HTML-Tabulate
2     Version: 0.45
3     Release: 1%{?dist}
4     Summary: HTML table rendering class
5     License: GPL+ or Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/HTML-Tabulate/
8     Source0: http://www.cpan.org/authors/id/G/GA/GAVINC/HTML-Tabulate-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl >= 0:5.005
12     BuildRequires: perl(Carp)
13     BuildRequires: perl(ExtUtils::MakeMaker)
14     BuildRequires: perl(Scalar::Util)
15     BuildRequires: perl(Test::More)
16     BuildRequires: perl(URI::Escape)
17     BuildRequires: perl(HTML::Entities)
18     Requires: perl(Carp)
19     Requires: perl(Scalar::Util)
20     Requires: perl(URI::Escape)
21     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
22    
23     %description
24     HTML::Tabulate is used to render/display a given set of data in an HTML
25     table. It takes a data set and a presentation definition and applies the
26     presentation to the data set to produce the HTML table output. The
27     presentation definition accepts arguments corresponding to HTML table tags
28     ('table', 'tr', 'th', 'td' etc.), to define attributes for those tags, plus
29     additional arguments for other aspects of the presentation. HTML::Tabulate
30     supports advanced features like automatic striping, arbitrary cell
31     formatting, link creation, etc.
32    
33     %prep
34     %setup -q -n HTML-Tabulate-%{version}
35    
36     %build
37     %{__perl} Makefile.PL INSTALLDIRS=vendor
38     make %{?_smp_mflags}
39    
40     %install
41     rm -rf $RPM_BUILD_ROOT
42    
43     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44    
45     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
46     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
47    
48     %{_fixperms} $RPM_BUILD_ROOT/*
49    
50     %check
51     make test
52    
53     %clean
54     rm -rf $RPM_BUILD_ROOT
55    
56     %files
57     %defattr(-,root,root,-)
58     %doc Changes README TODO
59     %{perl_vendorlib}/*
60     %{_mandir}/man3/*
61    
62     %changelog
63     * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 0.45-1
64     - First build using cpanspec [SME: 9326]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed