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

Revision 12120, 2.4 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Guard
2Version:        1.023
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
10BuildRequires:  perl(ExtUtils::MakeMaker)
11BuildRequires:  libxcrypt-devel
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14Vendor:         Project Vine
15Distribution:   Vine Linux
16
17%description
18This module implements so-called "guards". A guard is something
19(usually an object) that "guards" a resource, ensuring that it is
20cleaned up when expected.
21
22%prep
23%setup -q -n Guard-%{version}
24
25%build
26%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
27make %{?_smp_mflags}
28
29%install
30rm -rf %{buildroot}
31
32make pure_install PERL_INSTALL_ROOT=%{buildroot}
33
34find %{buildroot} -type f -name .packlist -exec rm -f {} \;
35find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
36find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
37
38%{_fixperms} %{buildroot}/*
39
40%check
41make test
42
43%clean
44rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root,-)
48%license COPYING
49%doc Changes README
50%{perl_vendorarch}/auto/*
51%{perl_vendorarch}/Guard*
52%{_mandir}/man3/*
53
54%changelog
55* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.023-2
56- rebuilt with perl-5.26.
57- added BR:libxcrypt-devel.
58
59* Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.023-1
60- new upstream release
61
62* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.021-2
63- build with Perl 5.16
64
65* Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.021-1
66- initial build for Vine Linux
67
68* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.021-6
69- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
70
71* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.021-5
72- Perl mass rebuild
73
74* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-4
75- 661697 rebuild for fixing problems with vendorach/lib
76
77* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.021-3
78- Mass rebuild with perl-5.12.0
79
80* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.021-2
81- rebuild against perl 5.10.1
82
83* Sun Nov 08 2009 Nicolas Chuavet <kwizart@fedoraproject.org> - 1.021-1
84- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.