diff --git a/README.md b/README.md index e9d5f34..48fd07f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-DateTime-Format-IBeat +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 + diff --git a/perl-DateTime-Format-IBeat.spec b/perl-DateTime-Format-IBeat.spec new file mode 100644 index 0000000..80e665c --- /dev/null +++ b/perl-DateTime-Format-IBeat.spec @@ -0,0 +1,59 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-DateTime-Format-IBeat +Version: 0.161 +Release: 2mamba +Summary: DateTime::Format::IBeat - Format times in .beat notation +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(Class::ISA) +BuildRequires: perl(DateTime) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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} + +mv LICENCE LICENSE + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/DateTime +%{_mandir}/man3/*.3pm.gz +%doc Artistic Changes COPYING LICENSE README + +%changelog +* Thu Aug 16 2012 Silvan Calarco 0.161-2mamba +- imported in devel + +* Mon Mar 07 2011 gil 0.161-1mamba +- package created by autospec