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

Contents of /cauldron/perl-Alias/current/SPECS/perl-Alias.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 104630 - (show annotations) (download)
Sun Jun 12 08:48:42 2011 UTC (12 years, 9 months ago) by jquelin
File size: 1345 byte(s)
make it build with perl 5.14
1 %define upstream_name Alias
2 %define upstream_version 2.32
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 3
7
8 Summary: CPAN %{upstream_name} module for aliasing services
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 URL: http://search.cpan.org/dist/%{upstream_name}/
12 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Alias/%{upstream_name}-%{upstream_version}.tar.bz2
13 Patch0: Alias-2.32-build_with_514.patch
14
15 BuildRequires: perl-devel
16
17 %description
18 This Perl module performs aliasing services. You may find this
19 module useful if you:
20 * are tired of dereferencing hash-based object attributes
21 * wish perl could make-do with fewer $, -> and {} things
22 * are a little scared of using typeglobs
23 * want the freedom to put what you want, when you want in
24 the symbol table without having to deal with weird syntax
25 * need to use scalar constants in your program since you don't
26 trust yourself from changing $PI
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30 %patch0 -p1 -b .perl514
31
32 %build
33 %{__perl} Makefile.PL INSTALLDIRS=vendor
34 %make
35 make test
36
37 %install
38 rm -rf %{buildroot}
39 %makeinstall_std
40
41 %clean
42 rm -rf %{buildroot}
43
44 %files
45 %defattr(-,root,root)
46 %doc Changes README
47 %{perl_vendorlib}/*/Alias.pm
48 %{perl_vendorlib}/*/auto/Alias/*
49 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30