perl-IO-stringy-vl.spec 3.2 KB

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