]> git.pld-linux.org Git - packages/perl-Text-ASCIITable.git/blob - perl-Text-ASCIITable.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Text-ASCIITable.git] / perl-Text-ASCIITable.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Text
6 %define pnam    ASCIITable
7 Summary:        Text::ASCIITable - Create a nice formatted table using ASCII characters
8 Summary(pl.UTF-8):      Text::ASCIITable - tworzenie ładne sformatowanych tabel przy użyciu znaków ASCII
9 Name:           perl-Text-ASCIITable
10 Version:        0.20
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/Text/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  13dce0bcfa2484501199222bab251f87
17 URL:            http://search.cpan.org/dist/Text-ASCIITable/
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::ASCIITable is a module creates a nice formatted table using
25 ASCII characters.
26
27 Pretty nifty if you want to output dynamic text to your console or
28 other fixed-size-font displays, and at the same time it will display
29 it in a nice human-readable, or "cool" way.
30
31 %description -l pl.UTF-8
32 Text::ASCIITable to moduł tworzący ładne sformatowane tabele przy
33 użyciu znaków ASCII.
34
35 Jest to przydatne kiedy chcemy stworzyć dynamiczny tekst na terminalu
36 albo innym wyjściu z fontem o stałej szerokości, jednocześnie
37 wyglądający ładnie i czytelnie dla człowieka.
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 README
61 %{perl_vendorlib}/Text/*.pm
62 %{perl_vendorlib}/Text/ASCIITable
63 %{_mandir}/man3/*
This page took 0.0744 seconds and 4 git commands to generate.