]> git.pld-linux.org Git - packages/perl-Devel-LexAlias.git/blame - perl-Devel-LexAlias.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Devel-LexAlias.git] / perl-Devel-LexAlias.spec
CommitLineData
2ad1a853
JR
1%define pdir Devel
2%define pnam LexAlias
2ad1a853
JR
3Summary: Devel::LexAlias - alias lexical variables
4#Summary(pl.UTF-8):
5Name: perl-Devel-LexAlias
57c1d3c9 6Version: 0.05
57342e67 7Release: 10
2ad1a853
JR
8License: GPL v1+ or Artistic
9Group: Development/Languages/Perl
10Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
57c1d3c9 11# Source0-md5: 1a4f70dff1a47b3eb96bdeac50db2ec5
2ad1a853
JR
12URL: http://search.cpan.org/dist/Devel-LexAlias/
13BuildRequires: perl-devel >= 1:5.8.0
14BuildRequires: rpm-perlprov >= 4.1-13
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Devel::LexAlias provides the ability to alias a lexical variable in a
19subroutines 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
34rm -rf $RPM_BUILD_ROOT
35
36%{__make} pure_install \
37 DESTDIR=$RPM_BUILD_ROOT
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
57c1d3c9 44%doc Changes
2ad1a853
JR
45%{perl_vendorarch}/Devel/*.pm
46%dir %{perl_vendorarch}/auto/Devel/LexAlias
2ad1a853
JR
47%attr(755,root,root) %{perl_vendorarch}/auto/Devel/LexAlias/*.so
48%{_mandir}/man3/*
This page took 0.122215 seconds and 4 git commands to generate.