perl-File-BaseDir-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: perl-File-BaseDir
  2. Version: 0.03
  3. Release: 13%{?_dist_release}
  4. Summary: Use the freedesktop basedir spec
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/File-BaseDir/
  8. Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-BaseDir-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. #BuildRequires: perl(File::DesktopEntry)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. BuildRequires: perl(Module::Build)
  15. BuildRequires: perl(Test::Pod) perl(Test::Pod::Coverage)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: shaolin
  20. %description
  21. This module can be used to find directories and files as specified by the
  22. XDG Base Directory Specification. It takes care of defaults and uses
  23. File::Spec to make the output platform specific.
  24. %prep
  25. %setup -q -n File-BaseDir-%{version}
  26. %build
  27. %{__perl} Makefile.PL INSTALLDIRS=vendor
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf %{buildroot}
  31. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  32. find %{buildroot} -type f -name .packlist -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 Changes README
  42. %{perl_vendorlib}/*
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Thu Nov 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.03-13
  46. - rebuilt with perl 5.16.3
  47. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-12
  48. - rebuild
  49. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  50. - initial build for Vine Linux
  51. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-11
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-10
  54. - Perl mass rebuild
  55. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  57. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-8
  58. - 661697 rebuild for fixing problems with vendorach/lib
  59. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-7
  60. - Mass rebuild with perl-5.12.0
  61. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-6
  62. - Mass rebuild with perl-5.12.0
  63. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-5
  64. - rebuild against perl 5.10.1
  65. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  69. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-2
  70. - rebuild for new perl
  71. * Thu Nov 22 2007 Patrice Dumas <pertusus@free.fr> 0.03-1
  72. - update to 0.03 (#396071)
  73. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.2
  74. - add BR: perl(Test::More)
  75. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.1
  76. - correct license tag
  77. - add BR: perl(ExtUtils::MakeMaker)
  78. * Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
  79. - Specfile autogenerated by cpanspec 1.69.