perl-IO-Tty-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. Name: perl-IO-Tty
  2. Version: 1.12
  3. Release: 1%{?_dist_release}
  4. Summary: Perl interface to pseudo tty's
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/IO-Tty/
  8. Source0: http://www.cpan.org/authors/id/T/TO/TODDR/IO-Tty-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. BuildRequires: libxcrypt-devel
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. # don't "provide" private Perl libs
  17. %global _use_internal_dependency_generator 0
  18. %global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
  19. %global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
  20. %global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
  21. %description
  22. IO::Tty and IO::Pty provide an interface to pseudo tty's.
  23. %prep
  24. %setup -q -n IO-Tty-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf %{buildroot}
  30. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  31. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  32. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  33. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  34. %{_fixperms} %{buildroot}/*
  35. %check
  36. ##make test
  37. %clean
  38. rm -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc ChangeLog README
  42. %{perl_vendorarch}/auto/IO/
  43. %{perl_vendorarch}/IO/
  44. %{_mandir}/man3/*.3pm*
  45. %changelog
  46. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12-1
  47. - new upstream release.
  48. - rebuilt with perl-5.26.
  49. - added BR:libxcrypt-devel.
  50. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.10-2
  51. - build with Perl 5.16
  52. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.10-1
  53. - initial build for Vine Linux
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-4
  57. - Perl mass rebuild
  58. * Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3
  59. - Perl 5.14 mass rebuild
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 1.10-1
  63. - Update to 1.10.
  64. - Use fixperms macro instead of our own chmod incantation.
  65. - Update Source0 URL.
  66. - BR Test::More.
  67. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.08-6
  68. - 661697 rebuild for fixing problems with vendorach/lib
  69. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.08-5
  70. - Mass rebuild with perl-5.12.0
  71. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.08-4
  72. - rebuild against perl 5.10.1
  73. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  75. * Sat May 16 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.08-2
  76. - filter out private Perl .so provides
  77. * Wed Feb 25 2009 Paul Howarth <paul@city-fan.org> - 1.08-1
  78. - Update to 1.08 (add support for posix_openpt())
  79. - Fix argument order for find with -depth
  80. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-5
  81. - Rebuild for perl 5.10 (again)
  82. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.07-4
  83. - Autorebuild for GCC 4.3
  84. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
  85. - rebuild for new perl
  86. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2.1
  87. - correct license tag
  88. - add BR: perl(ExtUtils::MakeMaker)
  89. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-2
  90. - Rebuild for FC6.
  91. * Fri Jul 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.07-1
  92. - Update to 1.07.
  93. * Tue Jul 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
  94. - Update to 1.06.
  95. * Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-1
  96. - Update to 1.05.
  97. * Wed May 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
  98. - Update to 1.04.
  99. * Tue May 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.03-1
  100. - Update to 1.03.
  101. - Taking maintainership.
  102. * Tue Feb 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.02-5
  103. - Rebuild.
  104. * Tue Jan 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.02-4
  105. - Rebuild, cosmetic cleanups.
  106. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.02-3
  107. - rebuilt
  108. * Sun Feb 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.02-0.fdr.2
  109. - Reduce directory ownership bloat.
  110. * Fri Nov 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.02-0.fdr.1
  111. - First build.