1 |
# $Id: perl-Class-ParamParser.spec 7981 2009-11-03 03:05:34Z dag $ |
2 |
# Authority: dag |
3 |
# Upstream: Darren Duncan <perl$DarrenDuncan,net> |
4 |
|
5 |
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) |
6 |
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) |
7 |
|
8 |
%define real_name Class-ParamParser |
9 |
|
10 |
Summary: Provides complex parameter list parsing |
11 |
Name: perl-Class-ParamParser |
12 |
Version: 1.041 |
13 |
Release: 1%{?dist} |
14 |
License: Artistic/GPL |
15 |
Group: Applications/CPAN |
16 |
URL: http://search.cpan.org/dist/Class-ParamParser/ |
17 |
|
18 |
Packager: Dag Wieers <dag@wieers.com> |
19 |
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
20 |
|
21 |
Source: http://www.cpan.org/modules/by-module/Class/Class-ParamParser-%{version}.tar.gz |
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
23 |
|
24 |
BuildArch: noarch |
25 |
BuildRequires: perl |
26 |
|
27 |
%description |
28 |
Provides complex parameter list parsing. |
29 |
|
30 |
%prep |
31 |
%setup -n %{real_name}-%{version} |
32 |
|
33 |
%build |
34 |
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
35 |
%{__make} %{?_smp_mflags} |
36 |
|
37 |
%install |
38 |
%{__rm} -rf %{buildroot} |
39 |
%{__make} pure_install |
40 |
|
41 |
### Clean up buildroot |
42 |
find %{buildroot} -name .packlist -exec %{__rm} {} \; |
43 |
|
44 |
%clean |
45 |
%{__rm} -rf %{buildroot} |
46 |
|
47 |
%files |
48 |
%defattr(-, root, root, 0755) |
49 |
%doc ChangeLog MANIFEST ReadMe |
50 |
%doc %{_mandir}/man3/Class::ParamParser.3pm* |
51 |
%dir %{perl_vendorlib}/Class/ |
52 |
#%{perl_vendorlib}/Class/ParamParser/ |
53 |
%{perl_vendorlib}/Class/ParamParser.pm |
54 |
|
55 |
%changelog |
56 |
* Fri Nov 23 2007 Dag Wieers <dag@wieers.com> - 1.041-1 - 7981/dag |
57 |
- Initial package. (using DAR) |