|
|
773f1a8 |
Name: perl-Date-Leapyear
|
|
|
05ebdd1 |
Version: 1.72
|
|
|
003069b |
Release: 6%{?dist}
|
|
|
773f1a8 |
Summary: Is a particular year a leap year?
|
|
|
773f1a8 |
License: GPL+ or Artistic
|
|
|
773f1a8 |
Group: Development/Libraries
|
|
|
773f1a8 |
URL: http://search.cpan.org/dist/Date-Leapyear/
|
|
|
773f1a8 |
Source0: http://www.cpan.org/modules/by-module/Date/Date-Leapyear-%{version}.tar.gz
|
|
|
773f1a8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
773f1a8 |
BuildArch: noarch
|
|
|
773f1a8 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
773f1a8 |
BuildRequires: perl(Test::More)
|
|
|
773f1a8 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%description
|
|
|
773f1a8 |
Date::Leapyear exports one function - isleap - which returns 1 or 0 if a
|
|
|
773f1a8 |
year is leap, or not, respectively.
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%prep
|
|
|
773f1a8 |
%setup -q -n Date-Leapyear-%{version}
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%build
|
|
|
773f1a8 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
773f1a8 |
make %{?_smp_mflags}
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%install
|
|
|
773f1a8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
773f1a8 |
|
|
|
773f1a8 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
773f1a8 |
|
|
|
773f1a8 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
773f1a8 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%check
|
|
|
773f1a8 |
#make test
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%clean
|
|
|
773f1a8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%files
|
|
|
773f1a8 |
%defattr(-,root,root,-)
|
|
|
05ebdd1 |
%doc LICENSE README
|
|
|
773f1a8 |
%{perl_vendorlib}/*
|
|
|
773f1a8 |
%{_mandir}/man3/*
|
|
|
773f1a8 |
|
|
|
773f1a8 |
%changelog
|
|
|
003069b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-6
|
|
|
003069b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
003069b |
|
|
|
64c9593 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.72-5
|
|
|
64c9593 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
64c9593 |
|
|
|
ebf2a44 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.72-4
|
|
|
ebf2a44 |
- Mass rebuild with perl-5.12.0
|
|
|
ebf2a44 |
|
|
|
6bfc51f |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.72-3
|
|
|
6bfc51f |
- rebuild against perl 5.10.1
|
|
|
6bfc51f |
|
|
|
d2d1edd |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-2
|
|
|
d2d1edd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
d2d1edd |
|
|
|
05ebdd1 |
* Thu Apr 02 2009 Xavier Bachelot <xavier@bachelot.org> 1.72-1
|
|
|
05ebdd1 |
- New upstream release, under new license terms.
|
|
|
05ebdd1 |
|
|
|
773f1a8 |
* Wed Mar 18 2009 Xavier Bachelot <xavier@bachelot.org> 1.71-2
|
|
|
773f1a8 |
- Change License: to GPL+ or Artistic, as agreed by upstream.
|
|
|
773f1a8 |
|
|
|
773f1a8 |
* Fri Jan 09 2009 Xavier Bachelot <xavier@bachelot.org> 1.71-1
|
|
|
773f1a8 |
- Specfile autogenerated by cpanspec 1.77.
|
|
|
773f1a8 |
- Fix License:.
|