]> git.pld-linux.org Git - packages/perl-Text-SimpleTable.git/blame - perl-Text-SimpleTable.spec
- updated to 2.0
[packages/perl-Text-SimpleTable.git] / perl-Text-SimpleTable.spec
CommitLineData
e9f1b712 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Text
7%define pnam SimpleTable
8Summary: Text::SimpleTable - Simple Eyecandy ASCII Tables
a3a9a6c7 9Summary(pl.UTF-8): Text::SimpleTable - proste, ładne tabele ASCII
e9f1b712 10Name: perl-Text-SimpleTable
8096d92d 11Version: 2.0
12Release: 1
e9f1b712 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
0ec2e913 16Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
8096d92d 17# Source0-md5: b57b6e60b5ee3cd5209d4bad510d0d2d
270a8e2f 18URL: http://search.cpan.org/dist/Text-SimpleTable/
0ec2e913 19BuildRequires: perl-Module-Build
e9f1b712 20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Simple eyecandy ASCII tables, as seen in Catalyst.
27
0e3e76c8
JR
28%description -l pl.UTF-8
29Proste, ładne tabele ASCII, takie jakie można zobaczyć w Catalyście.
e9f1b712 30
31%prep
32%setup -q -n %{pdir}-%{pnam}-%{version}
33
34%build
8096d92d 35%{__perl} Makefile.PL \
36 INSTALLDIRS=vendor
37%{__make}
e9f1b712 38
8096d92d 39%{?with_tests:%{__make} test}
e9f1b712 40
41%install
42rm -rf $RPM_BUILD_ROOT
43
8096d92d 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
e9f1b712 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes README
56%{perl_vendorlib}/Text/*.pm
57%{_mandir}/man3/*
8096d92d 58%{_examplesdir}/%{name}-%{version}
This page took 0.112051 seconds and 4 git commands to generate.