source: projects/specs/trunk/p/perl-Guard/perl-Guard-vl.spec @ 8642

Revision 8642, 2.1 KB checked in by iwaim, 10 years ago (diff)

perl-Guard 1.021-2

Line 
1Name:           perl-Guard
2Version:        1.021
3Release:        2%{?_dist_release}
4Summary:        Safe cleanup blocks
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Guard/
8Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/Guard-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildRequires:  perl(ExtUtils::MakeMaker)
11Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
12
13%description
14This module implements so-called "guards". A guard is something
15(usually an object) that "guards" a resource, ensuring that it is
16cleaned up when expected.
17
18%prep
19%setup -q -n Guard-%{version}
20
21%build
22%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
23make %{?_smp_mflags}
24
25%install
26rm -rf %{buildroot}
27
28make pure_install PERL_INSTALL_ROOT=%{buildroot}
29
30find %{buildroot} -type f -name .packlist -exec rm -f {} \;
31find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
32find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
33
34%{_fixperms} %{buildroot}/*
35
36%check
37make test
38
39%clean
40rm -rf %{buildroot}
41
42%files
43%defattr(-,root,root,-)
44%doc Changes COPYING README
45%{perl_vendorarch}/auto/*
46%{perl_vendorarch}/Guard*
47%{_mandir}/man3/*
48
49%changelog
50* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.021-2
51- build with Perl 5.16
52
53* Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.021-1
54- initial build for Vine Linux
55
56* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.021-6
57- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
58
59* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.021-5
60- Perl mass rebuild
61
62* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-4
63- 661697 rebuild for fixing problems with vendorach/lib
64
65* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-3
66- Mass rebuild with perl-5.12.0
67
68* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.021-2
69- rebuild against perl 5.10.1
70
71* Sun Nov 08 2009 Nicolas Chuavet <kwizart@fedoraproject.org> - 1.021-1
72- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.