]> git.pld-linux.org Git - packages/perl-File-Cat.git/blob - perl-File-Cat.spec
use generic url
[packages/perl-File-Cat.git] / perl-File-Cat.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    File
6 %define         pnam    Cat
7 %include        /usr/lib/rpm/macros.perl
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 URL:            http://search.cpan.org/dist/File-Cat/
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 File::Cat module - Perl implementation of cat(1).
25
26 File::Cat is a module of adventure, danger, and low cunning. With it,
27 you will explore some of the most inane programs ever seen by mortals.
28 No computer should be without one!
29
30 %description -l pl.UTF-8
31 Moduł File::Cat - implementacja cat(1) w Perlu.
32
33 File::Cat jest modułem z przygodami, niebezpiecznym i mało pomysłowym.
34 Przy jego pomocy można stworzyć kilka spośród najgłupszych programów
35 jakie widzieli śmiertelnicy. Na każdym komputerze powinien być choć
36 jeden taki!
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes
60 %{perl_vendorlib}/File/Cat.pm
61 %{_mandir}/man3/*
This page took 0.093447 seconds and 4 git commands to generate.