8
0
Files
perl-Email-Date-Format/perl-Email-Date-Format.spec

77 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Email-Date-Format (Version 1.002 )
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://cpan.org/modules/by-module/Email/
Name: perl-Email-Date-Format
Version: 1.002
Release: 3
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Summary: Email::Date::Format - produce RFC 2822 date strings
Source: Email-Date-Format-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%description
This module provides a simple means for generating an RFC 2822
compliant datetime string. (In case you care, they're not RFC 822
dates, because they use a four digit year, which is not allowed in RFC
822.)
Authors:
--------
Ricardo SIGNES, <rjbs@cpan.org>
%prep
%setup -q -n Email-Date-Format-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Changes LICENSE Makefile.PL MANIFEST META.yml README
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/Email/Date/Format/
%dir %{perl_vendorarch}/auto/Email/Date/
%dir %{perl_vendorarch}/auto/Email/
%{perl_vendorarch}/auto/Email/Date/Format/
%dir %{perl_vendorlib}/Email/
%dir %{perl_vendorlib}/Email/Date/
%{perl_vendorlib}/Email/Date/Format.pm
/var/adm/perl-modules/perl-Email-Date-Format
%changelog