perl-IO-stringy-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. %description
  16. This toolkit primarily provides modules for performing both traditional
  17. and object-oriented i/o) on things *other* than normal filehandles; in
  18. particular, IO::Scalar, IO::ScalarArray, and IO::Lines
  19. %prep
  20. %setup -q -n IO-stringy-%{version}
  21. %build
  22. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT%{_prefix}
  27. make DESTDIR=$RPM_BUILD_ROOT install
  28. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  29. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  30. sed "s@^$RPM_BUILD_ROOT@@g" |
  31. grep -v ^%{_mandir} |
  32. grep -v perllocal.pod |
  33. grep -v "\.packlist" > %{name}.files
  34. if [ "$(cat %{name}.files)X" = "X" ] ; then
  35. echo "ERROR: EMPTY FILE LIST"
  36. exit -1
  37. fi
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %check
  41. make test
  42. %files -f %{name}.files
  43. %defattr(-,root,root)
  44. %doc README COPYING examples contrib
  45. %dir %{perl_vendorlib}/IO
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.110-1
  49. - built with perl-5.10.0.
  50. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl2
  51. - changed Group to Development/Libraries
  52. * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.110-0vl1
  53. - updated to 2.110
  54. - build with perl-5.8.6
  55. * Wed Apr 30 2003 IWAI Masaharu <iwai@alib.jp> 2.108-0vl2
  56. - build with perl-5.8.0
  57. * Sat Nov 2 2002 IWAI Masaharu <iwai@alib.jp> 2.108-0vl1
  58. - first build for Vine Linux