]> git.pld-linux.org Git - packages/perl-File-Slurper.git/blob - perl-File-Slurper.spec
new, version 0.008
[packages/perl-File-Slurper.git] / perl-File-Slurper.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    File
6 %define         pnam    Slurper
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        File::Slurper - A simple, sane and efficient module to slurp a file
9 Name:           perl-File-Slurper
10 Version:        0.008
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  6e4f8ab76e38dc3f3fec6a0f575bf132
17 URL:            http://search.cpan.org/dist/File-Slurper/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This module provides functions for fast and correct slurping and
25 spewing. All functions are optionally exported.
26
27 %prep
28 %setup -q -n %{pdir}-%{pnam}-%{version}
29
30 %build
31 %{__perl} Makefile.PL \
32         INSTALLDIRS=vendor
33 %{__make}
34
35 %{?with_tests:%{__make} test}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %{__make} pure_install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Changes INSTALL README
48 %{perl_vendorlib}/File/Slurper.pm
49 %{_mandir}/man3/File::Slurper.3pm*
This page took 0.062922 seconds and 4 git commands to generate.