%define _use_internal_dependency_generator 0 Summary: A Perl module containing a wide variety of date manipulation routines. Name: perl-Date-Manip Version: 5.54 Release: 1%{?_dist_release} License: GPL+ or Artistic Group: Development/Libraries Source0: Date-Manip-%{version}.tar.gz URL: http://search.cpan.org/~sbeck/DateManip/ BuildRoot: %{_tmppath}/%{name}-%{version}-root/ BuildRequires: perl >= 5.8.2 Requires: perl >= 5.8.2 BuildArch: noarch # This package was formerly known as perl-DateManip Provides: perl-DateManip = %{version}-%{release} Obsoletes: perl-DateManip < 5.48 %description This is a set of routines designed to make any common date/time manipulation easy to do. Operations such as comparing two times, calculating a time a given amount of time from another, or parsing international times are all easily done. # Provide perl-specific find-{provides,requires}. %define __find_provides /usr/lib/rpm/find-provides.perl %define __find_requires /usr/lib/rpm/find-requires.perl %prep %setup -q -n Date-Manip-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_prefix} make DESTDIR=$RPM_BUILD_ROOT install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod | grep -v "\.packlist" > Date-Manip-%{version}-filelist if [ "$(cat Date-Manip-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f Date-Manip-%{version}-filelist %defattr(-,root,root) %changelog * Sat Nov 8 2008 Ryoichi INAGAKI 5.54-1 - changed name to Date-Manip as now used on CPAN - new upstream release - applied new versioning policy * Sun Sep 10 2006 Ryoichi INAGAKI 5.44-0vl1 - new upstream release - installed files to vendor_perl - changed URL * Sun Jan 2 2005 IWAI, Masaharu 5.42a-0vl3 - build on perl-5.8.6-0vl1 * Sat Dec 13 2003 Satoshi MACHINO 5.42a-0vl2 - rebuilt on perl-5.8.2 * Thu Nov 06 2003 Satoshi MACHINO 5.42a-0vl1 - new upstream version - built on perl-5.8.1 * Sun Apr 29 2003 Satoshi MACHINO 5.40-30vl2 - build on perl-5.8.0 * Sun Mar 02 2003 Satoshi MACHINO 5.40-30vl1 - build for VineLinux * Tue Aug 6 2002 Chip Turner - automated release bump and build * Wed Jan 09 2002 Tim Powers - automated rebuild * Fri Dec 7 2001 root - Spec file was autogenerated.