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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 103446 - (hide annotations) (download)
Sat Jun 11 11:24:31 2011 UTC (10 years, 4 months ago) by jquelin
File size: 1277 byte(s)
perl 5.14
1 jquelin 9059 %define upstream_name Alias
2     %define upstream_version 2.32
3    
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6 jquelin 103446 Release: %mkrel 3
7 jquelin 9059
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    
14     BuildRequires: perl-devel
15    
16 jquelin 29781
17 jquelin 9059 %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    
31     %build
32     %{__perl} Makefile.PL INSTALLDIRS=vendor
33     %make
34     make test
35    
36     %install
37     rm -rf %{buildroot}
38     %makeinstall_std
39    
40     %clean
41     rm -rf %{buildroot}
42    
43     %files
44     %defattr(-,root,root)
45     %doc Changes README
46     %{perl_vendorlib}/*/Alias.pm
47     %{perl_vendorlib}/*/auto/Alias/*
48 jquelin 29781 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.28