perl-DateTime-Format-IBeat/perl-DateTime-Format-IBeat.spec

67 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: perl-DateTime-Format-IBeat
Version: 0.161
2006-08-06 16:59:46 +00:00
Release: 2%{?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
2006-08-06 16:59:46 +00:00
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 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
2006-08-06 16:59:46 +00:00
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-2
- bump for build & release
- dropped extra template bits not needed for noarch packages
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-1
- Initial spec file for F-E