/[packages]/cauldron/perl-Alias/releases/2.320.0/2.mga1/SPECS/perl-Alias.spec
ViewVC logotype

Contents of /cauldron/perl-Alias/releases/2.320.0/2.mga1/SPECS/perl-Alias.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29781 - (show annotations) (download)
Fri Jan 21 17:40:47 2011 UTC (13 years, 2 months ago) by jquelin
Original Path: cauldron/perl-Alias/current/SPECS/perl-Alias.spec
File size: 1277 byte(s)
mageia rebuild
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 2
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
14 BuildRequires: perl-devel
15
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
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 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30