source: projects/specs/branches/6/p/perl-Time-modules/perl-Time-modules-vl.spec @ 3739

Revision 3739, 1.9 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1Summary: Time-modules module for Perl
2Name: perl-Time-modules
3Version: 2006.0814
4Release: 2%{?_dist_release}
5License: Distributable
6Group: Development/Libraries
7Source0: Time-modules-%{version}.tar.gz
8Url: http://www.cpan.org/dist/Time-modules/
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10BuildRequires: perl >= 5.004
11Requires: perl >= 5.004
12BuildArch: noarch
13
14%description
15This package contains the following perl5 modules:
16
17        Time::CTime.pm
18                ctime, strftime, and asctime
19        Time::JulianDay.pm
20                Julian Day conversions
21        Time::ParseDate.pm
22                Reverses strftime and also understands relative times
23        Time::Timezone.pm
24        Time::DaysInMonth.pm
25
26%prep
27%setup -q -n Time-modules-%{version}
28
29%build
30CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
31make
32
33%install
34rm -rf %{buildroot}
35mkdir -p %{buildroot}%{_prefix}
36make DESTDIR=$RPM_BUILD_ROOT install
37
38find %{buildroot}%{_prefix} -type f -print |
39        sed "s@^%{buildroot}@@g" |
40        grep -v ^%{_mandir} |
41        grep -v perllocal.pod |
42        grep -v "\.packlist" > %{name}.files
43if [ "$(cat %{name}.files)X" = "X" ] ; then
44    echo "ERROR: EMPTY FILE LIST"
45    exit -1
46fi
47
48%check
49make test
50
51%clean
52rm -rf %{buildroot}
53
54%files -f %{name}.files
55%defattr(-,root,root)
56%doc README CHANGELOG
57%{_mandir}/*/*
58%dir %{perl_vendorlib}/Time
59
60%changelog
61* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2006.0814-2
62- rebuild with perl-5.12.3
63
64* Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-1vl5
65- applied new versioning policy
66- rebuilt with perl-5.10.0
67
68* Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-0vl1
69- new upstream release
70- changed Group to Development/Libraries
71
72* Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2003.1126-0vl1
73- new upstream release
74- built with perl-5.8.6
75
76* Sun Jun 15 2003 IWAI Masaharu <iwai@alib.jp> 2003.0211-0vl1
77- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.