3 %bcond_without tests # do not perform "make test"
6 %define pnam TabularDisplay
7 Summary: Text::TabularDisplay - display text in formatted table output
8 Summary(pl.UTF-8): Text::TabularDisplay - wypisywanie tekstu w postaci tabelki
9 Name: perl-Text-TabularDisplay
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: abb13449751ae40c01747a443f0420b4
16 URL: http://search.cpan.org/dist/Text-TabularDisplay/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Text::TabularDisplay simplifies displaying textual data in a table.
24 The output is identical to the columnar display of query results in
25 the mysql text monitor.
27 %description -l pl.UTF-8
28 Text::TabularDisplay upraszcza wyświetlanie danych tekstowych w
29 tabeli. Wyjście jest identyczne do kolumnowego wyświetlania wyników
30 zapytania w tekstowym monitorze mysql.
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
40 %{?with_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorlib}/Text/*.pm
59 %{_examplesdir}/%{name}-%{version}