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

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

perl-5.26 and friends

Line 
1Name:           perl-Mixin-Linewise
2Version:        0.108
3Release:        1%{?_dist_release}
4Summary:        Write your linewise code for handles; this does the rest
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Mixin-Linewise/
8Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch:      noarch
12BuildRequires:  perl >= 2:5.26.0
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(IO::File)
15BuildRequires:  perl(PerlIO::utf8_strict)
16BuildRequires:  perl(Sub::Exporter)
17BuildRequires:  perl(Test::More)
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22
23%{?perl_default_filter}
24
25%description
26It's boring to deal with opening files for IO, converting strings to handle-
27like objects, and all that. With Mixin::Linewise::Readers and
28Mixin::Linewise::Writers, you can just write a method to handle handles,
29and methods for handling strings and filenames are added for you.
30
31%prep
32%setup -q -n Mixin-Linewise-%{version}
33
34%build
35%{__perl} Makefile.PL INSTALLDIRS=vendor
36make %{?_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40
41make pure_install DESTDIR=%{buildroot}
42
43find %{buildroot} -type f -name .packlist -exec rm -f {} \;
44find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
45
46%{_fixperms} %{buildroot}/*
47
48%check
49make test
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-,root,root,-)
56%license LICENSE
57%doc Changes README
58%{perl_vendorlib}/*
59%{_mandir}/man3/*
60
61%changelog
62* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.108-1
63- new upstream release.
64- rebuilt with perl-5.26.
65
66* Sun Dec  7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.106-1
67- updated to 0.106
68- added BR: perl(PerlIO::utf8_strict)
69- built with perl 5.16.3
70
71* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.003-1
72- initial build for Vine Linux
73
74* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-6
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
76
77* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-5
78- Perl mass rebuild
79
80* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82
83* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-3
84- 661697 rebuild for fixing problems with vendorach/lib
85
86* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-2
87- Mass rebuild with perl-5.12.0
88
89* Sat Mar 13 2010 Iain Arnell <iarnell@gmail.com> 0.003-1
90- update to latest upstream version
91- use perl_default_filter and DESTDIR
92
93* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.002-3
94- rebuild against perl 5.10.1
95
96* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.002-2
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
98
99* Sun Apr 19 2009 Iain Arnell 0.002-1
100- Specfile autogenerated by cpanspec 1.77.
Note: See TracBrowser for help on using the repository browser.