forked from pool/perl-Email-Date-Format
78 lines
2.2 KiB
RPMSpec
78 lines
2.2 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Email-Date-Format (Version 1.002 )
|
||
|
#
|
||
|
# Copyright (c) 2009 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: 2
|
||
|
Requires: perl = %{perl_version}
|
||
|
AutoReqProv: on
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
Summary: Email::Date::Format - produce RFC 2822 date strings
|
||
|
Source: Email-Date-Format-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%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
|
||
|
|
||
|
%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
|
||
|
* Fri Feb 27 2009 anicka@suse.cz
|
||
|
- package created (version 1.002)
|