]> git.pld-linux.org Git - packages/perl-File-Cat.git/blame - perl-File-Cat.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-Cat.git] / perl-File-Cat.spec
CommitLineData
b3c2f460 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
ce76d9be 4
86c4f1cc 5%define pdir File
6%define pnam Cat
b0d64c74 7Summary: File::Cat - Perl implementation of cat(1)
1fc0308d 8Summary(pl.UTF-8): File::Cat - implementacja cat(1) w Perlu
1e09df57 9Name: perl-File-Cat
10Version: 1.2
a93f050a 11Release: 11
b0d64c74 12License: unknown
1e09df57 13Group: Development/Languages/Perl
60ea3915 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e9f7cf1a 15# Source0-md5: 300600b3786cec4360e88947f775f4fb
ce76d9be 16URL: http://search.cpan.org/dist/File-Cat/
16d7bbf7 17BuildRequires: perl-devel >= 1:5.8.0
ce76d9be 18BuildRequires: rpm-perlprov >= 4.1-13
eea35eb3 19BuildArch: noarch
f129c8e4 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1e09df57 21
22%description
b0d64c74 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!
1e09df57 28
57c981e2
JR
29%description -l pl.UTF-8
30Moduł File::Cat - implementacja cat(1) w Perlu.
b0d64c74 31
57c981e2
JR
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ć
b0d64c74 35jeden taki!
1e09df57 36
37%prep
8ffea63a 38%setup -q -n %{pdir}-%{pnam}-%{version}
1e09df57 39
40%build
e28b387f 41%{__perl} Makefile.PL \
837fc299 42 INSTALLDIRS=vendor
e369c4d7 43%{__make}
1e09df57 44
b3c2f460 45%{?with_tests:%{__make} test}
46
1e09df57 47%install
48rm -rf $RPM_BUILD_ROOT
1e09df57 49
b3c2f460 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
1e09df57 52
1e09df57 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
136eb23a 58%doc Changes
e28b387f 59%{perl_vendorlib}/File/Cat.pm
1e09df57 60%{_mandir}/man3/*
This page took 0.161679 seconds and 4 git commands to generate.