SPECS: perl-Text-SimpleTable.spec (NEW) - initial revision

migo migo at pld-linux.org
Fri Nov 11 11:53:39 CET 2005


Author: migo                         Date: Fri Nov 11 10:53:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   perl-Text-SimpleTable.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Text-SimpleTable.spec
diff -u /dev/null SPECS/perl-Text-SimpleTable.spec:1.1
--- /dev/null	Fri Nov 11 11:53:39 2005
+++ SPECS/perl-Text-SimpleTable.spec	Fri Nov 11 11:53:33 2005
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Text
+%define	pnam	SimpleTable
+Summary:	Text::SimpleTable - Simple Eyecandy ASCII Tables
+#Summary(pl):	
+Name:		perl-Text-SimpleTable
+Version:	0.02
+Release:	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:	03604215eb4f2a279bf2f39d13f874f6
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Simple eyecandy ASCII tables, as seen in Catalyst.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Text/*.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/11/11 10:53:33  migo
+- initial revision
+
================================================================



More information about the pld-cvs-commit mailing list