]> git.pld-linux.org Git - packages/perl-File-Cat.git/blob - perl-File-Cat.spec
- rel. 10
[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):    File::Cat - implementacja cat(1) w Perlu
10 Name:           perl-File-Cat
11 Version:        1.2
12 Release:        10
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
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.063505 seconds and 3 git commands to generate.