1 | Name: perl-Class-Gomor |
---|
2 | Summary: Perl module that implements another class and object builder |
---|
3 | Version: 1.03 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: Artistic or GPL+ |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Class-Gomor/ |
---|
8 | |
---|
9 | Source: http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl |
---|
14 | BuildRequires: perl(Data::Dumper) |
---|
15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | Class-Gomor is a Perl module that implements another class and object builder. |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q -n Class-Gomor-%{version} |
---|
26 | |
---|
27 | %build |
---|
28 | %{__perl} Makefile.PL INSTALLDIRS="vendor" |
---|
29 | %{__make} %{?_smp_mflags} |
---|
30 | |
---|
31 | %install |
---|
32 | %{__rm} -rf %{buildroot} |
---|
33 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
34 | |
---|
35 | ### Clean up buildroot |
---|
36 | find %{buildroot} -name .packlist -exec %{__rm} {} \; |
---|
37 | |
---|
38 | ### Clean up docs |
---|
39 | find examples/ -type f -exec %{__chmod} a-x {} \; |
---|
40 | |
---|
41 | %clean |
---|
42 | %{__rm} -rf %{buildroot} |
---|
43 | |
---|
44 | %files |
---|
45 | %defattr(-, root, root, 0755) |
---|
46 | %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/ |
---|
47 | %doc %{_mandir}/man3/*.3pm* |
---|
48 | %dir %{perl_vendorlib}/Class/ |
---|
49 | %{perl_vendorlib}/Class/Gomor/ |
---|
50 | %{perl_vendorlib}/Class/Gomor.pm |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1 |
---|
54 | - updated to 1.03 |
---|
55 | - built with perl 5.16.3 |
---|
56 | |
---|
57 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.02-1 |
---|
58 | - initial build for Vine Linux |
---|