rpms/perl-Class-Date/F-7 perl-Class-Date.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brendt Wohlberg (brendt) fedora-extras-commits at redhat.com
Wed Oct 17 00:36:11 UTC 2007


Author: brendt

Update of /cvs/pkgs/rpms/perl-Class-Date/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3449/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Class-Date.spec 
Log Message:
Initial package commit.



--- NEW FILE perl-Class-Date.spec ---
Name:           perl-Class-Date
Version:        1.1.9
Release:        2%{?dist}
Summary:        Class for easy date and time manipulation

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Class-Date/
Source0:        http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Class-Date-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module is intended to provide a general-purpose date and datetime
type for perl. You have a Class::Date class for absolute date and
date-time, and have a Class::Date::Rel class for relative dates.


%prep
%setup -q -n Class-Date-%{version}
find . -type f -exec chmod a-x {} ';'
iconv -f ISO8859-1 -t UTF8 --output README.utf8 README
mv README.utf8 README
iconv -f ISO8859-1 -t UTF8 --output Date.pod.utf8 Date.pod
mv Date.pod.utf8 Date.pod


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/*
%{_mandir}/man3/*.3*


%changelog
* Mon Oct 15 2007 Brendt Wohlberg <osspkg at gmail.com> - 1.1.9-2
- Addressed issues raised in bugzilla review comments.

* Fri Oct 12 2007 Brendt Wohlberg <osspkg at gmail.com> - 1.1.9-1
- Initial spec file, based on the rpmdev-newspec template, with some content 
  copied from the spec file by Dries Verachtert <dries at ulyssis.org>.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Date/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Oct 2007 16:00:28 -0000	1.1
+++ .cvsignore	17 Oct 2007 00:35:39 -0000	1.2
@@ -0,0 +1 @@
+Class-Date-1.1.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Date/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Oct 2007 16:00:28 -0000	1.1
+++ sources	17 Oct 2007 00:35:39 -0000	1.2
@@ -0,0 +1 @@
+12f21e05e46d05fd0339f1c02b9b3318  Class-Date-1.1.9.tar.gz




More information about the fedora-extras-commits mailing list