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

Revision 9512, 2.2 KB checked in by inagaki, 9 years ago (diff)

2015-04-16 Ryoichi INAGAKI <ryo1@…>

  • perl-{Cairo, Clone, Curses, Event, Guard, IO-AIO,

IO-Socket-SSL, IPC-Run, Tk, URI}: updated


Line 
1Name:           perl-Guard
2Version:        1.023
3Release:        1%{?_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
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* Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.023-1
51- new upstream release
52
53* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.021-2
54- build with Perl 5.16
55
56* Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.021-1
57- initial build for Vine Linux
58
59* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.021-6
60- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
61
62* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.021-5
63- Perl mass rebuild
64
65* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-4
66- 661697 rebuild for fixing problems with vendorach/lib
67
68* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-3
69- Mass rebuild with perl-5.12.0
70
71* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.021-2
72- rebuild against perl 5.10.1
73
74* Sun Nov 08 2009 Nicolas Chuavet <kwizart@fedoraproject.org> - 1.021-1
75- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.