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

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

perl-5.26 and friends

Line 
1Summary:        I/O on in-core objects like strings and arrays with Perl
2Name:           perl-IO-stringy
3Version:        2.111
4Release:        1%{_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/IO-stringy-%{version}.tar.gz
8URL:            http://search.cpan.org/author/ERYQ/IO-stringy/
9BuildArch:      noarch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12#BuildRequires:  perl(Carp)
13#BuildRequires:  perl(Exporter)
14#BuildRequires:  perl(ExtUtils::MakeMaker)
15#BuildRequires:  perl(FileHandle)
16#BuildRequires:  perl(IO::File)
17#BuildRequires:  perl(IO::Handle)
18#BuildRequires:  perl(IO::Scalar)
19#BuildRequires:  perl(IO::ScalarArray)
20#BuildRequires:  perl(IO::WrapTie)
21#BuildRequires:  perl(Symbol)
22Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
24Vendor:         Project Vine
25Distribution:   Vine Linux
26
27
28%description
29his toolkit primarily provides modules for performing both traditional
30and object-oriented I/O) on things *other* than normal filehandles; in
31particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
32
33In the more-traditional IO::Handle front, we have IO::AtomicFile, which
34may be used to painlessly create files that are updated atomically.
35
36And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
37exported wraphandle() function will clothe anything that's not a blessed
38object in an IO::Handle-like wrapper... so you can just use OO syntax
39and stop worrying about whether your function's caller handed you a
40string, a globref, or a FileHandle.
41
42
43%prep
44%setup -q -n IO-stringy-%{version}
45
46%build
47CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
48make %{?_smp_mflags}
49
50%install
51rm -rf %{buildroot}
52make pure_install DESTDIR=%{buildroot}
53find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
54find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
55%{_fixperms} %{buildroot}
56
57%clean
58rm -rf %{buildroot}
59
60%check
61make test
62
63%files
64%defattr(-,root,root,-)
65%license COPYING
66%doc README examples contrib
67%{perl_vendorlib}/IO/
68%{_mandir}/man3/IO::AtomicFile.3pm*
69%{_mandir}/man3/IO::InnerFile.3pm*
70%{_mandir}/man3/IO::Lines.3pm*
71%{_mandir}/man3/IO::Scalar.3pm*
72%{_mandir}/man3/IO::ScalarArray.3pm*
73%{_mandir}/man3/IO::Stringy.3pm*
74%{_mandir}/man3/IO::Wrap.3pm*
75%{_mandir}/man3/IO::WrapTie.3pm*
76
77%changelog
78* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.111-1
79- new upstream release.
80- rebuilt with perl-5.26.
81
82* Tue Jul  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.110-3
83- rebuilt with perl-5.16.3.
84
85* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.110-2
86- rebuilt with perl-5.12.3
87- spec revamp
88
89* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.110-1
90- built with perl-5.10.0.
91
92* Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl2
93- changed Group to Development/Libraries
94
95* Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl1
96- updated to 2.110
97- build with perl-5.8.6
98
99* Wed Apr 30 2003 IWAI Masaharu <iwai@alib.jp> 2.108-0vl2
100- build with perl-5.8.0
101
102* Sat Nov  2 2002 IWAI Masaharu <iwai@alib.jp> 2.108-0vl1
103- first build for Vine Linux
104
Note: See TracBrowser for help on using the repository browser.