perl-File-BaseDir-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: perl-File-BaseDir
  2. Version: 0.03
  3. Release: 12%{?_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-%(%{__id_u} -n)
  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. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-12
  46. - rebuild
  47. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  48. - initial build for Vine Linux
  49. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-11
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  51. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-10
  52. - Perl mass rebuild
  53. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-8
  56. - 661697 rebuild for fixing problems with vendorach/lib
  57. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-7
  58. - Mass rebuild with perl-5.12.0
  59. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-6
  60. - Mass rebuild with perl-5.12.0
  61. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-5
  62. - rebuild against perl 5.10.1
  63. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-3
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-2
  68. - rebuild for new perl
  69. * Thu Nov 22 2007 Patrice Dumas <pertusus@free.fr> 0.03-1
  70. - update to 0.03 (#396071)
  71. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.2
  72. - add BR: perl(Test::More)
  73. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.1
  74. - correct license tag
  75. - add BR: perl(ExtUtils::MakeMaker)
  76. * Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
  77. - Specfile autogenerated by cpanspec 1.69.