Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > 1fb46a60122ac2a152497e843abe5dc5 > files > 2

perl-Time-Format-1.02-1ark.src.rpm

%define module Time-Format

Name: perl-%{module}
Version: 1.02
Release: 1ark
Summary: Perl module for parsing time formats
URL: http://search.cpan.org/dist/%module
Source: %{module}-%version.tar.bz2
License: Perl (Artistic or GPL)
Group: Development/Languages
BuildRoot: %{_tmppath}/%{name}-root
BuildArch: noarch
Requires: perl-DateManip
BuildRequires: perl-DateManip

%description
Perl module for parsing time formats

%prep
%setup -q -n %{module}-%version

%build
perl Makefile.PL INSTALLDIRS=vendor
make %?_smp_mflags
make %?_smp_mflags test

%install
rm -rf $RPM_BUILD_ROOT
make %?_smp_mflags install INSTALLDIRS=vendor DESTDIR="$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
# Please replace this with an actual file list.
%doc Changes MANIFEST README
%_prefix/lib/perl5/vendor_perl/*/Time

%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}

%changelog
* Sun Jun 10 2007 root <root@localdomain>
- initial RPM