source: projects/specs/trunk/p/perl-Time-modules/perl-Time-modules-vl.spec @ 9189

Revision 9189, 2.1 KB checked in by inagaki, 9 years ago (diff)

2014-12-24 Ryoichi INAGAKI <ryo1@…>


RevLine 
[521]1Summary: Time-modules module for Perl
2Name: perl-Time-modules
[9189]3Version: 2013.1113
4Release: 1%{?_dist_release}
[521]5License: Distributable
6Group: Development/Libraries
[9189]7URL: http://search.cpan.org/~muir/Time-ParseDate/
8
9Source0: http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Time-ParseDate-%{version}.tar.gz
10
[521]11BuildRoot: %{_tmppath}/%{name}-%{version}-root
[9189]12BuildArch: noarch
13BuildRequires: perl(ExtUtils::MakeMaker)
[521]14Requires: perl >= 5.004
15
[9189]16Provides: perl-Time-ParseDate = %{version}-%{release}
17
[521]18%description
19This package contains the following perl5 modules:
20
21        Time::CTime.pm
22                ctime, strftime, and asctime
23        Time::JulianDay.pm
24                Julian Day conversions
25        Time::ParseDate.pm
26                Reverses strftime and also understands relative times
27        Time::Timezone.pm
28        Time::DaysInMonth.pm
29
30%prep
[9189]31%setup -q -n Time-ParseDate-%{version}
[521]32
33%build
34CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
35make
36
37%install
[9189]38rm -rf $RPM_BUILD_ROOT
39make pure_install DESTDIR=$RPM_BUILD_ROOT
[521]40
[9189]41# remove unnecessary files.
42find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec %{__rm} -f {} ';'
43find $RPM_BUILD_ROOT -type f -name .packlist -exec %{__rm} -f {} ';'
44find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
[521]45
[9189]46%{_fixperms} $RPM_BUILD_ROOT
47
[521]48%check
49make test
50
51%clean
[9189]52rm -rf $RPM_BUILD_ROOT
[521]53
[9189]54%files
[521]55%defattr(-,root,root)
[9189]56%doc README Changes
57%{perl_vendorlib}/Time
[521]58%{_mandir}/*/*
59
60%changelog
[9189]61* Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2013.1113-1
62- updated to 2013.1113
63- built with perl 5.16.3
64- updated URL
65
[3739]66* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2006.0814-2
67- rebuild with perl-5.12.3
68
[521]69* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-1vl5
70- applied new versioning policy
71- rebuilt with perl-5.10.0
72
73* Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-0vl1
74- new upstream release
75- changed Group to Development/Libraries
76
77* Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2003.1126-0vl1
78- new upstream release
79- built with perl-5.8.6
80
81* Sun Jun 15 2003 IWAI Masaharu <iwai@alib.jp> 2003.0211-0vl1
82- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.