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 |
%define real_version 1.041 |
10 |
|
11 |
Summary: Provides complex parameter list parsing |
12 |
Name: perl-Class-ParamParser |
13 |
Version: 1.0401 |
14 |
Release: 3%{?dist} |
15 |
License: Artistic/GPL |
16 |
Group: Applications/CPAN |
17 |
URL: http://search.cpan.org/dist/Class-ParamParser/ |
18 |
|
19 |
Packager: Dag Wieers <dag@wieers.com> |
20 |
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
21 |
|
22 |
Source: http://www.cpan.org/modules/by-module/Class/Class-ParamParser-%{real_version}.tar.gz |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
24 |
|
25 |
BuildArch: noarch |
26 |
BuildRequires: perl |
27 |
|
28 |
%description |
29 |
Provides complex parameter list parsing. |
30 |
|
31 |
%prep |
32 |
%setup -n %{real_name}-%{real_version} |
33 |
|
34 |
%build |
35 |
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
36 |
%{__make} %{?_smp_mflags} |
37 |
|
38 |
%install |
39 |
%{__rm} -rf %{buildroot} |
40 |
%{__make} pure_install |
41 |
|
42 |
### Clean up buildroot |
43 |
find %{buildroot} -name .packlist -exec %{__rm} {} \; |
44 |
|
45 |
%clean |
46 |
%{__rm} -rf %{buildroot} |
47 |
|
48 |
%files |
49 |
%defattr(-, root, root, 0755) |
50 |
%doc ChangeLog MANIFEST ReadMe |
51 |
%doc %{_mandir}/man3/Class::ParamParser.3pm* |
52 |
%dir %{perl_vendorlib}/Class/ |
53 |
#%{perl_vendorlib}/Class/ParamParser/ |
54 |
%{perl_vendorlib}/Class/ParamParser.pm |
55 |
|
56 |
%changelog |
57 |
* Tue Jan 24 2012 Jonathan Martens <smeserver-bugzilla@snetram.nl> 1.0401-3 |
58 |
- Bump version once more to force into upgrade [SME: 6259] |
59 |
|
60 |
* Sun Jan 22 2012 Jonathan Martens <smeserver-bugzilla@snetram.nl> 1.041-3 |
61 |
- Bump version to force into upgrade [SME: 6259] |
62 |
|
63 |
* Fri Nov 23 2007 Dag Wieers <dag@wieers.com> - 1.041-1 - 7981/dag |
64 |
- Initial package. (using DAR) |