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