]> git.pld-linux.org Git - packages/perl-File-Cat.git/blob - perl-File-Cat.spec
- release 11
[packages/perl-File-Cat.git] / perl-File-Cat.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    File
7 %define         pnam    Cat
8 Summary:        File::Cat - Perl implementation of cat(1)
9 Summary(pl.UTF-8):      File::Cat - implementacja cat(1) w Perlu
10 Name:           perl-File-Cat
11 Version:        1.2
12 Release:        11
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  300600b3786cec4360e88947f775f4fb
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 File::Cat module - Perl implementation of cat(1).
24
25 File::Cat is a module of adventure, danger, and low cunning. With it,
26 you will explore some of the most inane programs ever seen by mortals.
27 No computer should be without one!
28
29 %description -l pl.UTF-8
30 Moduł File::Cat - implementacja cat(1) w Perlu.
31
32 File::Cat jest modułem z przygodami, niebezpiecznym i mało pomysłowym.
33 Przy jego pomocy można stworzyć kilka spośród najgłupszych programów
34 jakie widzieli śmiertelnicy. Na każdym komputerze powinien być choć
35 jeden taki!
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes
59 %{perl_vendorlib}/File/Cat.pm
60 %{_mandir}/man3/*
This page took 0.043948 seconds and 3 git commands to generate.