Files
perl-Text-vFile-asData/perl-Text-vFile-asData.spec

65 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Text-vFile-asData
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name: perl-Text-vFile-asData
%define real_name Text-vFile-asData
Summary: Parse vFile formatted files into data structures
Url: http://search.cpan.org/perldoc?Text::vFile::asData
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.05
Release: 0
Source: %{real_name}-%{version}.tar.bz2
BuildRequires: perl-Class-Accessor-Chained-Fast
BuildRequires: perl-Test-Pod
Requires: perl = %{perl_version}
Requires: perl-Class-Accessor-Chained-Fast
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Text::vFile::asData reads vFile format files, such as vCard (RFC 2426) and
vCalendar (RFC 2445).
Author:
-------
Richard Clamp
Nik Clayton
%prep
%setup -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Text
%dir %{perl_vendorlib}/Text/vFile
%dir %{perl_vendorarch}/auto/Text
%dir %{perl_vendorarch}/auto/Text/vFile
%dir %{perl_vendorarch}/auto/Text/vFile/asData
%{perl_vendorlib}/Text/vFile/asData.pm
%{perl_vendorarch}/auto/Text/vFile/asData/.packlist
/var/adm/perl-modules/%{name}
%changelog