perl-Date-Calc-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Summary: Gregorian calendar date calculations using Perl
  2. Name: perl-Date-Calc
  3. Version: 6.3
  4. Release: 2%{?_dist_release}
  5. License: Artistic, GPLv2 and LGPLv2
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/search?dist=Date-Calc
  8. Source0: http://www.cpan.org/authors/id/STBEY/Date-Calc-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 0:5.00503
  11. BuildRequires: perl-Bit-Vector >= 6.4
  12. BuildRequires: perl-Carp-Clan >= 5.3
  13. Requires: perl-Bit-Vector >= 6.4
  14. Requires: perl-Carp-Clan >= 5.3
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. This package consists of a C library (intended to make life easier for C
  19. developers) and a Perl module to access this library from Perl.
  20. The library provides all sorts of date calculations based on the Gregorian
  21. calendar (the one used in all western countries today), thereby complying
  22. with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to
  23. some extent, ISO 8601 (where applicable).
  24. The package is designed as an efficient (and fast) toolbox, not a bulky
  25. ready-made application. It provides extensive documentation and examples
  26. of use, multi-language support and special functions for business needs.
  27. %prep
  28. %setup -q -n Date-Calc-%{version}
  29. %build
  30. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  31. make
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make DESTDIR=$RPM_BUILD_ROOT pure_install
  35. %check
  36. LANG=C make test
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root)
  41. %doc CHANGES.txt CREDITS.txt README.txt
  42. %doc license/Artistic.txt license/GNU_GPL.txt license/GNU_LGPL.txt
  43. %{perl_vendorlib}/Date
  44. %{perl_vendorarch}/auto/Date/Calc
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Wed Jul 16 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 6.3-2
  48. - rebuild with Perl 5.16
  49. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 6.3-1
  50. - new upstream release
  51. - add Vendor and Distribution tags
  52. - update install section
  53. - update files: upstream update
  54. - update License: upstream update
  55. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4-1
  56. - applied new versioning policy
  57. - rebuilt with perl-5.10.0
  58. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.4-0vl1
  59. - new upstream release
  60. - update {Build,}Requires
  61. - add Summary and description
  62. * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 5.3-0vl1
  63. - version up to 5.3
  64. - add directories in %%files section
  65. - add some documents
  66. - drop %%{perl_sitearch}/Carp ( installed from perl-Bit-Vector )
  67. * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl2
  68. - add LANG=C for 'make test'
  69. * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl1
  70. - build Rawhide-5.0-15 for Vine Linux
  71. - added perl-Bit-Vector in {Build,}Requires
  72. * Wed Jan 30 2002 cturner@redhat.com
  73. - Specfile autogenerated