Group :: Development/Perl
RPM: perl-Date-Calc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist Date-Calc
Name: perl-%dist
Version: 5.4
Release: alt2
Summary: %dist module for perl
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar
Patch: %name-%version-%release.patch
# for CCFLAGS=-fvisibility=hidden
BuildPreReq: perl-devel >= 1:5.8.8-alt14
# Automatically added by buildreq on Mon Apr 13 2009
BuildRequires: perl-Bit-Vector perl-devel
%description
This package consists of a C library (intended to make life easier for C
developers) and a Perl module to access this library from Perl.
The library provides all sorts of date calculations based on the Gregorian
calendar (the one used in all western countries today), thereby complying
with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to
some extent, ISO 8601 (where applicable).
The package is designed as an efficient (and fast) toolbox, not a bulky
ready-made application. It provides extensive documentation and examples
of use, multi-language support and special functions for business needs.
%prep
%setup -q -n %dist-%version
%patch -p1
%build
%perl_vendor_build CCFLAGS=-fvisibility=hidden
%install
%perl_vendor_install
%files
%doc CHANGES.txt CREDITS.txt EXAMPLES.txt README.txt examples/
%dir %perl_vendor_archlib/Date
%perl_vendor_archlib/Date/Calc.pm
%doc %perl_vendor_archlib/Date/Calc.pod
%dir %perl_vendor_archlib/Date/Calc
%perl_vendor_archlib/Date/Calc/*.pm
%doc %perl_vendor_archlib/Date/Calc/*.pod
%perl_vendor_archlib/Date/Calendar.pm
%doc %perl_vendor_archlib/Date/Calendar.pod
%dir %perl_vendor_archlib/Date/Calendar
%perl_vendor_archlib/Date/Calendar/*.pm
%doc %perl_vendor_archlib/Date/Calendar/*.pod
%dir %perl_vendor_autolib/Date
%dir %perl_vendor_autolib/Date/Calc
%perl_vendor_autolib/Date/Calc/Calc.so
%changelog
…
Full changelog you can see here
Name: perl-%dist
Version: 5.4
Release: alt2
Summary: %dist module for perl
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar
Patch: %name-%version-%release.patch
# for CCFLAGS=-fvisibility=hidden
BuildPreReq: perl-devel >= 1:5.8.8-alt14
# Automatically added by buildreq on Mon Apr 13 2009
BuildRequires: perl-Bit-Vector perl-devel
%description
This package consists of a C library (intended to make life easier for C
developers) and a Perl module to access this library from Perl.
The library provides all sorts of date calculations based on the Gregorian
calendar (the one used in all western countries today), thereby complying
with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to
some extent, ISO 8601 (where applicable).
The package is designed as an efficient (and fast) toolbox, not a bulky
ready-made application. It provides extensive documentation and examples
of use, multi-language support and special functions for business needs.
%prep
%setup -q -n %dist-%version
%patch -p1
%build
%perl_vendor_build CCFLAGS=-fvisibility=hidden
%install
%perl_vendor_install
%files
%doc CHANGES.txt CREDITS.txt EXAMPLES.txt README.txt examples/
%dir %perl_vendor_archlib/Date
%perl_vendor_archlib/Date/Calc.pm
%doc %perl_vendor_archlib/Date/Calc.pod
%dir %perl_vendor_archlib/Date/Calc
%perl_vendor_archlib/Date/Calc/*.pm
%doc %perl_vendor_archlib/Date/Calc/*.pod
%perl_vendor_archlib/Date/Calendar.pm
%doc %perl_vendor_archlib/Date/Calendar.pod
%dir %perl_vendor_archlib/Date/Calendar
%perl_vendor_archlib/Date/Calendar/*.pm
%doc %perl_vendor_archlib/Date/Calendar/*.pod
%dir %perl_vendor_autolib/Date
%dir %perl_vendor_autolib/Date/Calc
%perl_vendor_autolib/Date/Calc/Calc.so
%changelog
…
Full changelog you can see here