|
|
87b3a79 |
Name: perl-Data-ICal
|
|
|
c30829d |
Version: 0.16
|
|
|
c30829d |
Release: 1%{?dist}
|
|
|
87b3a79 |
Summary: Generates iCalendar (RFC 2445) calendar files
|
|
|
87b3a79 |
License: GPL+ or Artistic
|
|
|
87b3a79 |
Group: Development/Libraries
|
|
|
87b3a79 |
URL: http://search.cpan.org/dist/Data-ICal/
|
|
|
ff7d097 |
Source0: http://www.cpan.org/authors/id/A/AL/ALEXMV/Data-ICal-%{version}.tar.gz
|
|
|
c30829d |
|
|
|
c30829d |
# inc/Module/Install* is broken, replace it with Module-Install-0.91
|
|
|
c30829d |
Patch0: Data-ICal-%{version}.diff
|
|
|
87b3a79 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
87b3a79 |
BuildArch: noarch
|
|
|
c30829d |
|
|
|
c30829d |
BuildRequires: perl(CPAN) perl(YAML::Tiny) perl(File::Remove)
|
|
|
c30829d |
|
|
|
87b3a79 |
BuildRequires: perl(Class::Accessor)
|
|
|
87b3a79 |
BuildRequires: perl(Class::ReturnValue)
|
|
|
87b3a79 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
87b3a79 |
BuildRequires: perl(Test::LongString)
|
|
|
87b3a79 |
BuildRequires: perl(Test::More)
|
|
|
87b3a79 |
BuildRequires: perl(Test::NoWarnings)
|
|
|
87b3a79 |
BuildRequires: perl(Test::Warn)
|
|
|
87b3a79 |
BuildRequires: perl(Text::vFile::asData)
|
|
|
87b3a79 |
|
|
|
38e8e6b |
# for improved tests
|
|
|
38e8e6b |
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
38e8e6b |
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
38e8e6b |
|
|
|
87b3a79 |
# rpm doesn't catch this
|
|
|
87b3a79 |
Requires: perl(Class::Accessor)
|
|
|
87b3a79 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%description
|
|
|
87b3a79 |
A Data::ICal object represents a VCALENDAR object as defined in the
|
|
|
87b3a79 |
iCalendar protocol (RFC 2445, MIME type "text/calendar"), as implemented in
|
|
|
87b3a79 |
many popular calendaring programs such as Apple's iCal.
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%prep
|
|
|
87b3a79 |
%setup -q -n Data-ICal-%{version}
|
|
|
c30829d |
%patch0 -p1
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%build
|
|
|
c30829d |
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
|
|
|
87b3a79 |
make %{?_smp_mflags}
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%install
|
|
|
87b3a79 |
rm -rf $RPM_BUILD_ROOT
|
|
|
87b3a79 |
|
|
|
87b3a79 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
87b3a79 |
|
|
|
87b3a79 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
87b3a79 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%check
|
|
|
87b3a79 |
make test
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%clean
|
|
|
87b3a79 |
rm -rf $RPM_BUILD_ROOT
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%files
|
|
|
87b3a79 |
%defattr(-,root,root,-)
|
|
|
87b3a79 |
%doc Changes README
|
|
|
87b3a79 |
%{perl_vendorlib}/*
|
|
|
87b3a79 |
%{_mandir}/man3/*
|
|
|
87b3a79 |
|
|
|
87b3a79 |
%changelog
|
|
|
c30829d |
* Wed Jul 29 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.16-1
|
|
|
c30829d |
- Upstream update.
|
|
|
c30829d |
- Replace broken inc/Module/Install/* with a copy of Module::Install-0.91.
|
|
|
c30829d |
|
|
|
4991561 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
|
|
|
4991561 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4991561 |
|
|
|
ff7d097 |
* Tue Mar 03 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.15-1
|
|
|
ff7d097 |
- Upstream update.
|
|
|
ff7d097 |
- Reflect upstream maintainer having changed.
|
|
|
ff7d097 |
|
|
|
3fd545d |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-5
|
|
|
3fd545d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3fd545d |
|
|
|
38e8e6b |
* Tue Dec 30 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.13-4
|
|
|
38e8e6b |
- BR: perl(Test::Pod::Coverage), perl(Test::Pod).
|
|
|
38e8e6b |
|
|
|
87a1a9b |
* Fri Sep 12 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.13-3
|
|
|
87a1a9b |
- Fix minor typo in spec.
|
|
|
87a1a9b |
|
|
|
87b3a79 |
* Tue Aug 26 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.13-2
|
|
|
87a1a9b |
- Clean up spec.
|
|
|
87b3a79 |
- Fedora submission.
|
|
|
87b3a79 |
|
|
|
87b3a79 |
* Mon Aug 11 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.13-1
|
|
|
87b3a79 |
- Specfile autogenerated by cpanspec 1.77.
|