SPECS: perl-Lingua-EN-Numbers-Ordinate.spec (NEW) - new
glen
glen at pld-linux.org
Mon Sep 5 14:58:01 CEST 2005
Author: glen Date: Mon Sep 5 12:58:01 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Lingua-EN-Numbers-Ordinate.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Lingua-EN-Numbers-Ordinate.spec
diff -u /dev/null SPECS/perl-Lingua-EN-Numbers-Ordinate.spec:1.1
--- /dev/null Mon Sep 5 14:58:01 2005
+++ SPECS/perl-Lingua-EN-Numbers-Ordinate.spec Mon Sep 5 14:57:56 2005
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Lingua
+%define pnam EN-Numbers-Ordinate
+Summary: Lingua::EN::Numbers::Ordinate -- go from cardinal number (3) to ordinal ("3rd")
+Name: perl-Lingua-EN-Numbers-Ordinate
+Version: 1.02
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e92078fafd9108a137972c4e9bae9e99
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+There are two kinds of numbers in English -- cardinals (1, 2, 3...),
+and ordinals (1st, 2nd, 3rd...). This library provides functions for
+giving the ordinal form of a number, given its cardinal value.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%dir %{perl_vendorlib}/Lingua/EN/Numbers
+%{perl_vendorlib}/Lingua/EN/Numbers/Ordinate.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/09/05 12:57:56 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list