]> git.pld-linux.org Git - packages/perl-HTML-Table.git/blob - perl-HTML-Table.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-Table.git] / perl-HTML-Table.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    HTML
6 %define         pnam    Table
7 Summary:        HTML::Table perl module - producing HTML tables
8 Summary(pl.UTF-8):      Moduł perla HTML::Table - tworzenie tabelek w HTML-u
9 Name:           perl-HTML-Table
10 Version:        2.08a
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  ae24eb86442e34d9ef6c8f3e4deac968
17 URL:            http://search.cpan.org/dist/HTML-Table/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 HTML::Table is used to generate HTML tables for CGI scripts. By using
25 the methods provided fairly complex tables can be created,
26 manipulated, then printed from Perl scripts. The module also greatly
27 simplifies creating tables within tables from Perl. It is possible to
28 create an entire table using the methods provided and never use an
29 HTML tag.
30
31 %description -l pl.UTF-8
32 HTML::Table służy do generowania tabelek w HTML-u z poziomu skryptów
33 CGI. Przy użyciu dostarczonych metod można tworzyć, obrabiać i
34 drukować dosyć skomplikowane tabele z poziomu skryptów perlowych.
35 Moduł także znakomicie upraszcza tworzenie tabelek w tabelkach. Można
36 stworzyć całą tabelę przy użyciu tych metod be użycia ani jednego
37 znacznika HTML.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes
61 %{perl_vendorlib}/HTML/Table.pm
62 %{_mandir}/man3/*
This page took 0.090153 seconds and 4 git commands to generate.