perl-Date-Calc-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Summary: Gregorian calendar date calculations using Perl
  2. Name: perl-Date-Calc
  3. Version: 6.3
  4. Release: 1%{?_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. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 6.3-1
  48. - new upstream release
  49. - add Vendor and Distribution tags
  50. - update install section
  51. - update files: upstream update
  52. - update License: upstream update
  53. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4-1
  54. - applied new versioning policy
  55. - rebuilt with perl-5.10.0
  56. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.4-0vl1
  57. - new upstream release
  58. - update {Build,}Requires
  59. - add Summary and description
  60. * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 5.3-0vl1
  61. - version up to 5.3
  62. - add directories in %%files section
  63. - add some documents
  64. - drop %%{perl_sitearch}/Carp ( installed from perl-Bit-Vector )
  65. * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl2
  66. - add LANG=C for 'make test'
  67. * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl1
  68. - build Rawhide-5.0-15 for Vine Linux
  69. - added perl-Bit-Vector in {Build,}Requires
  70. * Wed Jan 30 2002 cturner@redhat.com
  71. - Specfile autogenerated