]> git.pld-linux.org Git - packages/perl-Devel-LexAlias.git/blob - perl-Devel-LexAlias.spec
- release 5 (by relup.sh)
[packages/perl-Devel-LexAlias.git] / perl-Devel-LexAlias.spec
1 %define         pdir    Devel
2 %define         pnam    LexAlias
3 %include        /usr/lib/rpm/macros.perl
4 Summary:        Devel::LexAlias - alias lexical variables
5 #Summary(pl.UTF-8):     
6 Name:           perl-Devel-LexAlias
7 Version:        0.05
8 Release:        5
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  1a4f70dff1a47b3eb96bdeac50db2ec5
13 URL:            http://search.cpan.org/dist/Devel-LexAlias/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Devel::LexAlias provides the ability to alias a lexical variable in a
20 subroutines scope to one of your choosing.
21
22 %prep
23 %setup -q -n %{pdir}-%{pnam}-%{version}
24
25 %build
26 %{__perl} Makefile.PL \
27         INSTALLDIRS=vendor
28 %{__make} \
29         CC="%{__cc}" \
30         OPTIMIZE="%{rpmcflags}"
31
32 %{?with_tests:%{__make} test}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} pure_install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc Changes
46 %{perl_vendorarch}/Devel/*.pm
47 %dir %{perl_vendorarch}/auto/Devel/LexAlias
48 %attr(755,root,root) %{perl_vendorarch}/auto/Devel/LexAlias/*.so
49 %{_mandir}/man3/*
This page took 0.10476 seconds and 3 git commands to generate.