]> git.pld-linux.org Git - packages/perl-Data-Table.git/commitdiff
- new, STBR
authorradek <radek@pld-linux.org>
Sun, 8 Sep 2002 09:06:42 +0000 (09:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Data-Table.spec -> 1.1

perl-Data-Table.spec [new file with mode: 0644]

diff --git a/perl-Data-Table.spec b/perl-Data-Table.spec
new file mode 100644 (file)
index 0000000..dbec9c3
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Data
+%define        pnam    Table
+Summary:       Data::Table - Data type related to database tables, spreadsheets, etc.
+Summary(pl):   Data::Table - Typ danych dotycz±cy tabel bazodanowych, arkuszy kalkulacyjnych itp.
+Name:          perl-Data-Table
+Version:       1.34
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+URL:           http://www.geocities.com/easydatabase/
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This perl package uses perl5 objects to make it easy for manipulating
+spreadsheet data among disk files, database, and Web publishing.
+
+A table object contains a header and a two-dimensional array of
+scalars. Three class methods allow users to create a table object from
+a CSV/TSV file or a database SQL selection in a snap.
+
+Table methods provide basic access, add, delete row(s) or column(s)
+operations, as well as more advanced sub-table extraction, table
+sorting, record matching via keywords or patterns, table merging, and
+web publishing.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.079511 seconds and 4 git commands to generate.