perl-IO-Tty-vl.spec 4.6 KB

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