[521] | 1 | Summary: I/O on in-core objects like strings and arrays with Perl |
---|
| 2 | Name: perl-IO-stringy |
---|
| 3 | Version: 2.110 |
---|
| 4 | Release: 1%{_dist_release} |
---|
| 5 | License: Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source0: http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/IO-stringy-%{version}.tar.gz |
---|
| 8 | Url: http://search.cpan.org/author/ERYQ/IO-stringy/ |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildRequires: perl >= 5.004 |
---|
| 11 | Requires: perl >= 5.004 |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | BuildArch: noarch |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | This toolkit primarily provides modules for performing both traditional |
---|
| 18 | and object-oriented i/o) on things *other* than normal filehandles; in |
---|
| 19 | particular, IO::Scalar, IO::ScalarArray, and IO::Lines |
---|
| 20 | |
---|
| 21 | %prep |
---|
| 22 | %setup -q -n IO-stringy-%{version} |
---|
| 23 | |
---|
| 24 | %build |
---|
| 25 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 26 | make |
---|
| 27 | |
---|
| 28 | %install |
---|
| 29 | rm -rf $RPM_BUILD_ROOT |
---|
| 30 | mkdir -p $RPM_BUILD_ROOT%{_prefix} |
---|
| 31 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 32 | |
---|
| 33 | find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; |
---|
| 34 | |
---|
| 35 | find $RPM_BUILD_ROOT%{_prefix} -type f -print | |
---|
| 36 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
| 37 | grep -v ^%{_mandir} | |
---|
| 38 | grep -v perllocal.pod | |
---|
| 39 | grep -v "\.packlist" > %{name}.files |
---|
| 40 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
| 41 | echo "ERROR: EMPTY FILE LIST" |
---|
| 42 | exit -1 |
---|
| 43 | fi |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | %check |
---|
| 49 | make test |
---|
| 50 | |
---|
| 51 | %files -f %{name}.files |
---|
| 52 | %defattr(-,root,root) |
---|
| 53 | %doc README COPYING examples contrib |
---|
| 54 | %dir %{perl_vendorlib}/IO |
---|
| 55 | %{_mandir}/man3/* |
---|
| 56 | |
---|
| 57 | %changelog |
---|
| 58 | * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.110-1 |
---|
| 59 | - built with perl-5.10.0. |
---|
| 60 | |
---|
| 61 | * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl2 |
---|
| 62 | - changed Group to Development/Libraries |
---|
| 63 | |
---|
| 64 | * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl1 |
---|
| 65 | - updated to 2.110 |
---|
| 66 | - build with perl-5.8.6 |
---|
| 67 | |
---|
| 68 | * Wed Apr 30 2003 IWAI Masaharu <iwai@alib.jp> 2.108-0vl2 |
---|
| 69 | - build with perl-5.8.0 |
---|
| 70 | |
---|
| 71 | * Sat Nov 2 2002 IWAI Masaharu <iwai@alib.jp> 2.108-0vl1 |
---|
| 72 | - first build for Vine Linux |
---|
| 73 | |
---|