perl-File-HomeDir-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Name: perl-File-HomeDir
  2. Version: 1.004
  3. Release: 1%{?_dist_release}
  4. Summary: Find your home and other directories on any platform
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/File-HomeDir/
  8. Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(Carp)
  11. BuildRequires: perl(Cwd)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(File::Path)
  14. BuildRequires: perl(File::Spec)
  15. BuildRequires: perl(File::Temp)
  16. BuildRequires: perl(File::Which)
  17. #%if !%{defined perl_bootstrap}
  18. #BuildRequires: perl(Test::Pod)
  19. #BuildRequires: perl(Test::MinimumVersion)
  20. #BuildRequires: perl(Test::More) >= 0.47
  21. #%endif
  22. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  23. Requires: perl(Cwd)
  24. Requires: perl(File::Path)
  25. Requires: perl(File::Spec)
  26. Requires: perl(File::Temp)
  27. Requires: perl(File::Which)
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: shaolin
  31. %description
  32. File::HomeDir is a module for locating the directories that are "owned"
  33. by a user (typically your user) and to solve the various issues that
  34. arise trying to find them consistently across a wide variety of
  35. platforms.
  36. %prep
  37. %setup -q -n File-HomeDir-%{version}
  38. %if %{_dist_release} > "vl6"
  39. %{?perl_default_filter}
  40. %global __requires_exclude %{?__requires_exclude}|perl\\(Cwd\\)|perl\\(File::Path\\)|perl\\(File::Spec\\)|perl\\(File::Temp\\)|perl\\(File::Which\\)|perl\\(Mac::
  41. %else
  42. cat << \EOF > %{name}-req
  43. #!/bin/sh
  44. %{__perl_requires} $* |\
  45. sed -e '/perl(Cwd\|File::Path\|File::Spec\|File::Temp\|File::Which)/d' |\
  46. sed -e '/perl(Mac::/d'
  47. EOF
  48. %global __perl_requires %{_builddir}/File-HomeDir-%{version}/%{name}-req
  49. chmod +x %{__perl_requires}
  50. %endif
  51. %build
  52. %{__perl} Makefile.PL INSTALLDIRS=vendor
  53. make %{?_smp_mflags}
  54. %install
  55. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  56. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  57. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
  58. chmod -R u+w %{buildroot}/*
  59. %check
  60. # These tests don't do anything really useful. Also, they are broken.
  61. # AUTOMATED_TESTING=1 make test
  62. %files
  63. %license LICENSE
  64. %doc Changes README
  65. %{perl_vendorlib}/File/
  66. %{_mandir}/man3/*.3pm*
  67. %changelog
  68. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.004-1
  69. - new upstream release.
  70. - rebuilt with perl-5.26.
  71. * Thu Nov 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.00-1
  72. - updated to 1.00
  73. - comment out some BR (because "make test" is commented out)
  74. - built with perl 5.16.3
  75. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.99-2
  76. - rebuild
  77. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.99-1
  78. - initial build for Vine Linux
  79. * Tue Jan 31 2012 Tom Callaway <spot@fedoraproject.org> - 0.99-1
  80. - Update to 0.99
  81. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-3
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  83. * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.98-2
  84. - Perl mass rebuild
  85. * Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.98-1
  86. - update to 0.98
  87. * Fri Jun 24 2011 Marcela Maslanova <mmaslano@redhat.com> - 0.97-2
  88. - fix filters for future rebuild
  89. - add perl_bootstrap macro
  90. - rebuild for perl 5.14.1
  91. * Mon Feb 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.97-1
  92. - update to 0.97
  93. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  95. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.93-2
  96. - 661697 rebuild for fixing problems with vendorach/lib
  97. * Wed Sep 22 2010 Petr Pisar <ppisar@redhat.com> - 0.93-1
  98. - 0.93 bump
  99. - Consolidate dependencies
  100. - Remove unversioned Requires
  101. - Update Summary and Description
  102. - Remove unneded file permission fixes
  103. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-4
  104. - Mass rebuild with perl-5.12.0
  105. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.86-3
  106. - rebuild against perl 5.10.1
  107. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-2
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  109. * Mon Jun 1 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
  110. - update for Padre
  111. * Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.84-1
  112. - update to 0.84
  113. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
  114. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  115. * Tue Dec 16 2008 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
  116. - update to the latest version for Padre editor
  117. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-3
  118. - Rebuild for perl 5.10 (again)
  119. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-2
  120. - rebuild for new perl
  121. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-1
  122. - 0.67
  123. * Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-1
  124. - 0.66
  125. * Wed May 30 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.65-1
  126. - Update to 0.65.
  127. * Sat Feb 10 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.64-1
  128. - Update to 0.64.
  129. * Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-1
  130. - Update to 0.63.
  131. * Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
  132. - Update to 0.62.
  133. * Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
  134. - First build.