rpms/perl-Math-Calc-Units/F-11 import.log, NONE, 1.1 perl-Math-Calc-Units.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ruben Kerkhof ruben at fedoraproject.org
Fri Aug 7 20:46:55 UTC 2009


Author: ruben

Update of /cvs/pkgs/rpms/perl-Math-Calc-Units/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7099/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Math-Calc-Units.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
perl-Math-Calc-Units-1_06-2_fc11:F-11:perl-Math-Calc-Units-1.06-2.fc11.src.rpm:1249677404


--- NEW FILE perl-Math-Calc-Units.spec ---
%define libname Math-Calc-Units
Name:           perl-%{libname}
Version:        1.06
Release:        2%{?dist}
Summary:        Human-readable unit-aware calculator
License:        GPLv2+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/%{libname}/
Source0:        http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/%{libname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Math::Calc::Units is a simple calculator that keeps track of units. It
currently handles combinations of byte sizes and duration only, although
adding any other multiplicative types is easy. Any unknown type is treated
as a unique user type (with some effort to map English plurals to their
singular forms).

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

# filter unwanted Provides
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
sed -e '/perl(Parse::Yapp::Driver)/d'
EOF

%global __perl_provides %{_builddir}/%{libname}-%{version}/%{name}-prov
chmod +x %{__perl_provides}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
rm -vf %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y


%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Artistic.html Changes COPYING LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_bindir}/ucalc

%changelog
* Wed Jul 29 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.06-2
- Review fixes (#513874)

* Sun Jul 26 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 1.06-1
- Initial import


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Calc-Units/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	7 Aug 2009 20:03:06 -0000	1.1
+++ .cvsignore	7 Aug 2009 20:46:55 -0000	1.2
@@ -0,0 +1 @@
+Math-Calc-Units-1.06.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Calc-Units/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	7 Aug 2009 20:03:06 -0000	1.1
+++ sources	7 Aug 2009 20:46:55 -0000	1.2
@@ -0,0 +1 @@
+8ba1ff6c998de586ae4f84aa68cda0d0  Math-Calc-Units-1.06.tar.gz




More information about the fedora-extras-commits mailing list