2007-01-16 00:32:03 +01:00
|
|
|
#
|
2011-03-16 21:10:23 +01:00
|
|
|
# spec file for package perl-TimeDate
|
2007-01-16 00:32:03 +01:00
|
|
|
#
|
2015-05-02 12:05:46 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:32:03 +01:00
|
|
|
#
|
2009-06-18 17:14:22 +02:00
|
|
|
# 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/
|
2007-01-16 00:32:03 +01:00
|
|
|
#
|
|
|
|
|
2009-06-18 17:14:22 +02:00
|
|
|
|
|
|
|
Name: perl-TimeDate
|
2015-05-02 12:05:46 +02:00
|
|
|
Version: 2.30
|
|
|
|
Release: 0
|
2009-07-29 16:26:46 +02:00
|
|
|
%define cpan_name TimeDate
|
2015-05-02 12:05:46 +02:00
|
|
|
Summary: TimeDate Perl module
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2009-06-18 17:14:22 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2015-05-02 12:05:46 +02:00
|
|
|
Url: http://search.cpan.org/dist/TimeDate/
|
|
|
|
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2010-11-30 20:29:21 +01:00
|
|
|
BuildArch: noarch
|
2009-06-18 17:14:22 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-29 16:26:46 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-05-02 12:05:46 +02:00
|
|
|
%{perl_requires}
|
2007-01-16 00:32:03 +01:00
|
|
|
|
|
|
|
%description
|
2015-05-02 12:05:46 +02:00
|
|
|
TimeDate Perl module
|
2007-01-16 00:32:03 +01:00
|
|
|
|
|
|
|
%prep
|
2009-07-29 16:26:46 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2015-05-02 12:05:46 +02:00
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2010-11-30 20:29:21 +01:00
|
|
|
|
2007-01-16 00:32:03 +01:00
|
|
|
%build
|
2015-05-02 12:05:46 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-07-29 16:26:46 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2007-01-16 00:32:03 +01:00
|
|
|
|
|
|
|
%install
|
2009-07-29 16:26:46 +02:00
|
|
|
%perl_make_install
|
2015-05-02 12:05:46 +02:00
|
|
|
%perl_process_packlist
|
2009-07-29 16:26:46 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:32:03 +01:00
|
|
|
|
2009-07-29 16:26:46 +02:00
|
|
|
%files -f %{name}.files
|
2015-05-02 12:05:46 +02:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc ChangeLog README
|
2007-01-16 00:32:03 +01:00
|
|
|
|
2009-06-18 17:14:22 +02:00
|
|
|
%changelog
|