]> git.pld-linux.org Git - packages/perl-File-OldSlurp.git/blame - perl-File-OldSlurp.spec
use generic url
[packages/perl-File-OldSlurp.git] / perl-File-OldSlurp.spec
CommitLineData
e432351d
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
89997c88 4
0ff87910 5%define pdir File
6%define pnam OldSlurp
89997c88 7%include /usr/lib/rpm/macros.perl
e432351d 8Summary: File::OldSlurp - single call read & write file routines; read directories
46ff2b1f 9Summary(pl.UTF-8): File::OldSlurp - funkcje odczytu i zapisu za jednym wywołaniem
e432351d 10Name: perl-File-OldSlurp
dda196c3 11Version: 2004.0430
10599826 12Release: 2
e432351d
JB
13License: distributable (see README)
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
dda196c3 16# Source0-md5: bc221d24ff6d0d591ab046e5fe6ac771
89997c88 17URL: http://search.cpan.org/dist/File-OldSlurp/
e432351d
JB
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24These are quickie routines that are meant to save a couple of lines of
25code over and over again. They do not do anything fancy.
26
27This module used to be called File::Slurp. Uri Guttman wrote a version
28with more features and more speed, so David Muir Sharnoff (author of
29this module) gave the namespace to Uri. However, this version still
30has some merit: it is much smaller and thus if speed of complilation
31is more important that slurping speed, and you don't need the new
32features, then this version is still useful.
33
802f3fe5
JR
34%description -l pl.UTF-8
35Ten moduł zawiera szybkie funkcje, które mają służyć do zaoszczędzenia
36wpisywania tych samych linii kodu wiele razy. Nie robią niczego
e432351d
JB
37fantazyjnego.
38
89997c88
ER
39Ten moduł nazywał się kiedyś File::Slurp. Uri Guttman napisał wersję z
40większymi możliwościami i szybszą, więc David Muir Sharnoff (autor
802f3fe5
JR
41tego modułu) oddał mu przestrzeń nazw. Jednak ta wersja nadal ma pewne
42zalety: jest dużo mniejsza i jeśli szybkość kompilacji ma większe
43znaczenie od szybkości pracy, a nie są potrzebne nowe możliwości, ta
e432351d
JB
44wersja nadal ma zastosowanie.
45
46%prep
dda196c3 47%setup -q -n %{pdir}-%{pnam}-2004.043
e432351d
JB
48
49%build
50%{__perl} Makefile.PL \
51 INSTALLDIRS=vendor
52
53%{__make}
54
55%{?with_tests:%{__make} test}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc CHANGELOG README
69%{perl_vendorlib}/File/OldSlurp.pm
70%{_mandir}/man3/*
This page took 0.063113 seconds and 4 git commands to generate.