X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-File-Cat.spec;h=1bcfcdd370acca1ce6e243100cc538c1ca3c2fb5;hb=refs%2Fheads%2FAC-branch;hp=c783f2459653f560d3b27c88157cc0e608b28893;hpb=7204b8337721f87e67098e683a8af8ed28975596;p=packages%2Fperl-File-Cat.git diff --git a/perl-File-Cat.spec b/perl-File-Cat.spec index c783f24..1bcfcdd 100644 --- a/perl-File-Cat.spec +++ b/perl-File-Cat.spec @@ -1,53 +1,60 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl %define pdir File %define pnam Cat -%include /usr/lib/rpm/macros.perl -Summary: File-Cat perl module -Summary(pl): Modu³ perla File-Cat +Summary: File::Cat - Perl implementation of cat(1) +Summary(pl): File::Cat - implementacja cat(1) w Perlu Name: perl-File-Cat Version: 1.2 -Release: 7 - -License: GPL +Release: 10 +License: unknown Group: Development/Languages/Perl -Group(cs): Vývojové prostøedky/Programovací jazyky/Perl -Group(de): Entwicklung/Sprachen/Perl -Group(es): Desarrollo/Lenguajes/Perl -Group(fr): Development/Langues/Perl -Group(ja): ³«È¯/¸À¸ì/Perl -Group(pl): Programowanie/Jêzyki/Perl -Group(pt): Desenvolvimento/Linguagens/Perl -Group(ru): òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/Perl -Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz -BuildRequires: rpm-perlprov >= 3.0.3-16 -BuildRequires: perl >= 5.6 +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 300600b3786cec4360e88947f775f4fb +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: perl-devel >= 1:5.8.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -File-Cat perl module - Perl implementation of cat(1). +File::Cat module - Perl implementation of cat(1). + +File::Cat is a module of adventure, danger, and low cunning. With it, +you will explore some of the most inane programs ever seen by mortals. +No computer should be without one! %description -l pl -Modu³ perla File-Cat - cat(1) dla perla. +Modu³ File::Cat - implementacja cat(1) w Perlu. + +File::Cat jest modu³em z przygodami, niebezpiecznym i ma³o pomys³owym. +Przy jego pomocy mo¿na stworzyæ kilka spo¶ród najg³upszych programów +jakie widzieli ¶miertelnicy. Na ka¿dym komputerze powinien byæ choæ +jeden taki! %prep -%setup -q -n File-Cat-%{version} +%setup -q -n %{pdir}-%{pnam}-%{version} %build -perl Makefile.PL +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor %{__make} +%{?with_tests:%{__make} test} + %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT - -gzip -9nf Changes +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz -%{perl_sitelib}/File/Cat.pm +%doc Changes +%{perl_vendorlib}/File/Cat.pm %{_mandir}/man3/*