perl-Date-Manip-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Summary: A Perl module containing a wide variety of date manipulation routines.
  2. Name: perl-Date-Manip
  3. Version: 6.76
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. Source0: Date-Manip-%{version}.tar.gz
  8. URL: http://search.cpan.org/~sbeck/DateManip/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root/
  13. BuildRequires: perl >= 2:5.26.2
  14. BuildRequires: perl(Carp)
  15. BuildRequires: perl(Encode)
  16. BuildRequires: perl(Exporter)
  17. BuildRequires: perl(IO::File)
  18. BuildRequires: perl(Module::Build)
  19. BuildRequires: perl(Storable)
  20. BuildRequires: perl(Test::More)
  21. BuildRequires: perl(YAML::Syck)
  22. # Tests only
  23. BuildRequires: perl(Test::Inter)
  24. BuildRequires: perl(Test::Pod)
  25. BuildRequires: perl(Test::Pod::Coverage)
  26. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  27. # This package was formerly known as perl-DateManip
  28. Provides: perl-DateManip = %{version}-%{release}
  29. Obsoletes: perl-DateManip < 5.48
  30. %description
  31. This is a set of routines designed to make any common date/time
  32. manipulation easy to do. Operations such as comparing two times,
  33. calculating a time a given amount of time from another, or parsing
  34. international times are all easily done.
  35. %prep
  36. %setup -q -n Date-Manip-%{version}
  37. chmod -x examples/*
  38. %build
  39. %{__perl} Makefile.PL INSTALLDIRS=vendor
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf %{buildroot}
  43. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  44. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  45. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  46. chmod -R u+w %{buildroot}/*
  47. %check
  48. make test
  49. %clean
  50. rm -rf %{buildroot}
  51. %files
  52. %defattr(-,root,root,-)
  53. %license LICENSE
  54. %doc README README.first examples
  55. %{_bindir}/*
  56. %{perl_vendorlib}/Date/
  57. %{_mandir}/man1/*.1*
  58. %{_mandir}/man3/*.3*
  59. %changelog
  60. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.76-1
  61. - new upstream release.
  62. - rebuilt with perl-5.26.
  63. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.45-1
  64. - new upstream release.
  65. * Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 6.31-1
  66. - updated to 6.31
  67. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 5.54-2vl6
  68. - build with perl 5.12.3
  69. - defined __find_{provides,requires} with vl4 and vl5
  70. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.54-1
  71. - changed name to Date-Manip as now used on CPAN
  72. - new upstream release
  73. - applied new versioning policy
  74. * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.44-0vl1
  75. - new upstream release
  76. - installed files to vendor_perl
  77. - changed URL
  78. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.42a-0vl3
  79. - build on perl-5.8.6-0vl1
  80. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl2
  81. - rebuilt on perl-5.8.2
  82. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl1
  83. - new upstream version
  84. - built on perl-5.8.1
  85. * Tue Apr 29 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl2
  86. - build on perl-5.8.0
  87. * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl1
  88. - build for VineLinux
  89. * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
  90. - automated release bump and build
  91. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  92. - automated rebuild
  93. * Fri Dec 7 2001 root <root@redhat.com>
  94. - Spec file was autogenerated.