/[packages]/cauldron/perl-File-Temp/current/SPECS/perl-File-Temp.spec
ViewVC logotype

Contents of /cauldron/perl-File-Temp/current/SPECS/perl-File-Temp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 436399 - (show annotations) (download)
Mon Jun 3 11:43:45 2013 UTC (10 years, 10 months ago) by jquelin
File size: 1416 byte(s)
update to 0.2301
1 %define upstream_name File-Temp
2 %define upstream_version 0.2301
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Return name and handle of a temporary file safely
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/File/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0
15 BuildRequires: perl(Fcntl) >= 1.30.0
16 BuildRequires: perl(File::Path) >= 2.60.0
17 BuildRequires: perl(File::Spec) >= 0.800.0
18 BuildArch: noarch
19
20 %description
21 File::Temp can be used to create and open temporary files in a safe way. There
22 is both a function interface and an object-oriented interface. The File::Temp
23 constructor or the tempfile() function can be used to return the name and the
24 open filehandle of a temporary file. The tempdir() function can be used to
25 create a temporary directory.
26
27 %prep
28 %setup -q -n %{upstream_name}-%{upstream_version}
29
30 %build
31 %{__perl} Makefile.PL INSTALLDIRS=vendor
32 %make CFLAGS="%{optflags}"
33
34 %install
35 %makeinstall_std
36
37 mv %{buildroot}%{_mandir}/man3/File::Temp.3pm \
38 %{buildroot}%{_mandir}/man3/File::Temp-%{upstream_version}.3pm
39
40 %check
41 %__make test
42
43 %files
44 %doc CONTRIBUTING Changes LICENSE META.json META.yml MYMETA.yml README
45 %{perl_vendorlib}/File
46 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30