diff --git a/.cvsignore b/.cvsignore index e69de29..f52d9cd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DateTime-Format-IBeat-0.161.tar.gz diff --git a/perl-DateTime-Format-IBeat.spec b/perl-DateTime-Format-IBeat.spec new file mode 100644 index 0000000..d650a21 --- /dev/null +++ b/perl-DateTime-Format-IBeat.spec @@ -0,0 +1,63 @@ +Name: perl-DateTime-Format-IBeat +Version: 0.161 +Release: 1%{?dist} +Summary: Format times in .beat notation + +Group: Development/Libraries +License: Artistic or GPL +URL: http://search.cpan.org/dist/DateTime-Format-IBeat +Source0: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(DateTime) >= 0.18, perl(Test::More) >= 0.47 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +No Time Zones, No Geographical Borders + +How long is a Swatch .beat? In short, we have divided up the virtual and real +day into 1000 beats. One Swatch beat is the equivalent of 1 minute 26.4 +seconds. That means that 12 noon in the old time system is the equivalent of +500 Swatch .beats. + + +%prep +%setup -q -n DateTime-Format-IBeat-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +# American English... +mv LICENCE LICENSE + +%install +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + + +%check +make test + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc Artistic COPYING LICENSE Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Fri Aug 04 2006 Chris Weyl 0.161-1 +- Initial spec file for F-E diff --git a/sources b/sources index e69de29..8256c8a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +53e1b71382b074c85e12c6b0bf855444 DateTime-Format-IBeat-0.161.tar.gz