source: projects/specs/trunk/p/perl-Date-Manip/perl-Date-Manip-vl.spec @ 12120

Revision 12120, 3.2 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Summary: A Perl module containing a wide variety of date manipulation routines.
2Name: perl-Date-Manip
3Version: 6.76
4Release: 1%{?_dist_release}
5License: GPL+ or Artistic
6Group: Development/Libraries
7Source0: Date-Manip-%{version}.tar.gz
8URL: http://search.cpan.org/~sbeck/DateManip/
9
10Vendor:        Project Vine
11Distribution:  Vine Linux
12
13BuildArch: noarch
14BuildRoot: %{_tmppath}/%{name}-%{version}-root/
15BuildRequires:  perl >= 2:5.26.2
16BuildRequires:  perl(Carp)
17BuildRequires:  perl(Encode)
18BuildRequires:  perl(Exporter)
19BuildRequires:  perl(IO::File)
20BuildRequires:  perl(Module::Build)
21BuildRequires:  perl(Storable)
22BuildRequires:  perl(Test::More)
23BuildRequires:  perl(YAML::Syck)
24# Tests only
25BuildRequires:  perl(Test::Inter)
26BuildRequires:  perl(Test::Pod)
27BuildRequires:  perl(Test::Pod::Coverage)
28
29Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
30
31# This package was formerly known as perl-DateManip
32Provides: perl-DateManip = %{version}-%{release}
33Obsoletes: perl-DateManip < 5.48
34
35%description
36This is a set of routines designed to make any common date/time
37manipulation easy to do.  Operations such as comparing two times,
38calculating a time a given amount of time from another, or parsing
39international times are all easily done.
40
41%prep
42%setup -q -n Date-Manip-%{version}
43chmod -x examples/*
44
45%build
46%{__perl} Makefile.PL INSTALLDIRS=vendor
47make %{?_smp_mflags}
48
49%install
50rm -rf %{buildroot}
51make pure_install PERL_INSTALL_ROOT=%{buildroot}
52find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
53find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
54chmod -R u+w %{buildroot}/*
55
56%check
57make test
58
59%clean
60rm -rf %{buildroot}
61
62%files
63%defattr(-,root,root,-)
64%license LICENSE
65%doc README README.first examples
66%{_bindir}/*
67%{perl_vendorlib}/Date/
68%{_mandir}/man1/*.1*
69%{_mandir}/man3/*.3*
70
71%changelog
72* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.76-1
73- new upstream release.
74- rebuilt with perl-5.26.
75
76* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.45-1
77- new upstream release.
78
79* Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 6.31-1
80- updated to 6.31
81
82* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 5.54-2vl6
83- build with perl 5.12.3
84- defined __find_{provides,requires} with vl4 and vl5
85
86* Sat Nov  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.54-1
87- changed name to Date-Manip as now used on CPAN
88- new upstream release
89- applied new versioning policy
90
91* Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.44-0vl1
92- new upstream release
93- installed files to vendor_perl
94- changed URL
95
96* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 5.42a-0vl3
97- build on perl-5.8.6-0vl1
98
99* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl2
100- rebuilt on perl-5.8.2
101
102* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl1
103- new upstream version
104- built on perl-5.8.1
105
106* Tue Apr 29 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl2
107- build on perl-5.8.0
108
109* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl1
110- build for VineLinux
111
112* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
113- automated release bump and build
114
115* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
116- automated rebuild
117
118* Fri Dec 7 2001 root <root@redhat.com>
119- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.