Name: perl-Date-Calc-XS Version: 6.3 Release: 4%{?dist} Summary: XS wrapper and C library plug-in for Date::Calc License: LGPLv2+ and ( GPL+ or Artistic ) Group: Development/Libraries URL: http://search.cpan.org/dist/Date-Calc-XS/ Source0: http://www.cpan.org/modules/by-module/Date/Date-Calc-XS-%{version}.tar.gz # glibc-common contains the iconv binary BuildRequires: glibc-common BuildRequires: perl BuildRequires: perl(Bit::Vector) BuildRequires: perl(bytes) BuildRequires: perl(Config) BuildRequires: perl(Date::Calc::Object) BuildRequires: perl(Date::Calendar) BuildRequires: perl(Date::Calendar::Profiles) BuildRequires: perl(Date::Calendar::Year) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Carp::Clan) >= 6.01 BuildRequires: perl(Bit::Vector) >= 7.1 BuildRequires: perl(Date::Calc) >= 6.3 BuildRequires: perl(strict) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Date::Calc::XS is a XS wrapper and C library plug-in for Date::Calc %prep %setup -q -n Date-Calc-XS-%{version} iconv --from=ISO-8859-1 --to=UTF-8 CREDITS.txt >CREDITS.fixed mv CREDITS.fixed CREDITS.txt %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %{perl_vendorarch}/* %{_mandir}/man3/* %doc CHANGES.txt README.txt CREDITS.txt license %changelog * Sat May 17 2014 Sven Nierlein 6.3-4 - convert credits to utf8 - updated build requires * Mon Apr 21 2014 Sven Nierlein 6.3-3 - added LGPLv2+ to license - replaced multiple doc files with a single entry - updated build requires to match versions from Makefile.PL - changed source to non-author specific * Sun Apr 06 2014 Sven Nierlein 6.3-2 - added perl build requires - added Changes and README - use DESTDIR as install target folder - removed unnecessary build steps * Sun Mar 23 2014 Sven Nierlein 6.3-1 - Specfile created