]> git.pld-linux.org Git - packages/perl-File-Cat.git/blame_incremental - perl-File-Cat.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-Cat.git] / perl-File-Cat.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define pdir File
6%define pnam Cat
7Summary: File::Cat - Perl implementation of cat(1)
8Summary(pl.UTF-8): File::Cat - implementacja cat(1) w Perlu
9Name: perl-File-Cat
10Version: 1.2
11Release: 11
12License: unknown
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: 300600b3786cec4360e88947f775f4fb
16URL: http://search.cpan.org/dist/File-Cat/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23File::Cat module - Perl implementation of cat(1).
24
25File::Cat is a module of adventure, danger, and low cunning. With it,
26you will explore some of the most inane programs ever seen by mortals.
27No computer should be without one!
28
29%description -l pl.UTF-8
30Moduł File::Cat - implementacja cat(1) w Perlu.
31
32File::Cat jest modułem z przygodami, niebezpiecznym i mało pomysłowym.
33Przy jego pomocy można stworzyć kilka spośród najgłupszych programów
34jakie widzieli śmiertelnicy. Na każdym komputerze powinien być choć
35jeden 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
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -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.107193 seconds and 4 git commands to generate.