auto-import perl-DateTime-Format-IBeat-0.161-1.fc5 on branch devel from
perl-DateTime-Format-IBeat-0.161-1.fc5.src.rpm
This commit is contained in:
parent
58315d1062
commit
9716f0455e
@ -0,0 +1 @@
|
||||
DateTime-Format-IBeat-0.161.tar.gz
|
63
perl-DateTime-Format-IBeat.spec
Normal file
63
perl-DateTime-Format-IBeat.spec
Normal file
@ -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 <cweyl@alumni.drew.edu> 0.161-1
|
||||
- Initial spec file for F-E
|
Loading…
Reference in New Issue
Block a user