]> git.pld-linux.org Git - packages/perl-Text-TabularDisplay.git/blob - perl-Text-TabularDisplay.spec
use generic url
[packages/perl-Text-TabularDisplay.git] / perl-Text-TabularDisplay.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define pdir    Text
6 %define pnam    TabularDisplay
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Text::TabularDisplay - display text in formatted table output
9 Summary(pl.UTF-8):      Text::TabularDisplay - wypisywanie tekstu w postaci tabelki
10 Name:           perl-Text-TabularDisplay
11 Version:        1.28
12 Release:        1
13 License:        GPL v2
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  abb13449751ae40c01747a443f0420b4
17 URL:            http://search.cpan.org/dist/Text-TabularDisplay/
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 Text::TabularDisplay simplifies displaying textual data in a table.
25 The output is identical to the columnar display of query results in
26 the mysql text monitor.
27
28 %description -l pl.UTF-8
29 Text::TabularDisplay upraszcza wyświetlanie danych tekstowych w
30 tabeli. Wyjście jest identyczne do kolumnowego wyświetlania wyników
31 zapytania w tekstowym monitorze mysql.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/Text/*.pm
59 %{_mandir}/man3/*
60 %{_examplesdir}/%{name}-%{version}
This page took 0.057942 seconds and 4 git commands to generate.