SPECS: perl-Lingua-Preferred.spec (NEW) - new
glen
glen at pld-linux.org
Mon Sep 5 14:53:57 CEST 2005
Author: glen Date: Mon Sep 5 12:53:57 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Lingua-Preferred.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Lingua-Preferred.spec
diff -u /dev/null SPECS/perl-Lingua-Preferred.spec:1.1
--- /dev/null Mon Sep 5 14:53:57 2005
+++ SPECS/perl-Lingua-Preferred.spec Mon Sep 5 14:53:52 2005
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Lingua
+%define pnam Preferred
+Summary: Lingua::Preferred - Perl extension to choose a language
+Name: perl-Lingua-Preferred
+Version: 0.2
+Release: 1
+# assuming same as perl, as not specified in sources
+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: a67d47ac660cb7eb58417f0dd3436c4c
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-Log-TraceMessages >= 1.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Often human-readable information is available in more than one
+language. Which should you use? This module provides a way for the
+user to specify possible languages in order of preference, and then to
+pick the best language of those available. Different 'dialects' given
+by the 'territory' part of the language specifier (such as en, en_GB,
+and en_US) are also supported.
+
+%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 Changes README
+%{perl_vendorlib}/Lingua/*.pm
+%dir %{perl_vendorlib}/auto/Lingua
+%dir %{perl_vendorlib}/auto/Lingua/Preferred
+%{perl_vendorlib}/auto/Lingua/Preferred/autosplit.ix
+%{_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:53:52 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list