source: projects/specs/trunk/p/perl-Class-Gomor/perl-Class-Gomor-vl.spec @ 5836

Revision 5836, 1.4 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Class-Gomor
2Summary:        Perl module that implements another class and object builder
3Version:        1.02
4Release:        1%{?_dist_release}
5License:        Artistic or GPL+
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Class-Gomor/
8
9Source:         http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11
12BuildArch:      noarch
13BuildRequires:  perl
14BuildRequires:  perl(Data::Dumper)
15BuildRequires:  perl(ExtUtils::MakeMaker)
16
17%description
18Class-Gomor is a Perl module that implements another class and object builder.
19
20%prep
21%setup -n Class-Gomor-%{version}
22
23%build
24%{__perl} Makefile.PL INSTALLDIRS="vendor"
25%{__make} %{?_smp_mflags}
26
27%install
28%{__rm} -rf %{buildroot}
29%{__make} pure_install DESTDIR=%{buildroot}
30
31### Clean up buildroot
32find %{buildroot} -name .packlist -exec %{__rm} {} \;
33
34### Clean up docs
35find examples/ -type f -exec %{__chmod} a-x {} \;
36
37%clean
38%{__rm} -rf %{buildroot}
39
40%files
41%defattr(-, root, root, 0755)
42%doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/
43%doc %{_mandir}/man3/*.3pm*
44%dir %{perl_vendorlib}/Class/
45%{perl_vendorlib}/Class/Gomor/
46%{perl_vendorlib}/Class/Gomor.pm
47
48%changelog
49* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.02-1
50- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.