]> git.pld-linux.org Git - packages/perl-Data-Table.git/blame_incremental - perl-Data-Table.spec
- converted to UTF-8
[packages/perl-Data-Table.git] / perl-Data-Table.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Data
7%define pnam Table
8Summary: Data::Table - data type related to database tables, spreadsheets, etc
9Summary(pl.UTF-8): Data::Table - typ danych dotyczący tabel bazodanowych, arkuszy kalkulacyjnych itp.
10Name: perl-Data-Table
11Version: 1.47
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 40087b9c0945df52d78da475efe8ace3
18URL: http://www.geocities.com/easydatabase/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This perl package uses perl5 objects to make it easy for manipulating
26spreadsheet data among disk files, database, and Web publishing.
27
28A table object contains a header and a two-dimensional array of
29scalars. Three class methods allow users to create a table object from
30a CSV/TSV file or a database SQL selection in a snap.
31
32Table methods provide basic access, add, delete row(s) or column(s)
33operations, as well as more advanced sub-table extraction, table
34sorting, record matching via keywords or patterns, table merging, and
35web publishing.
36
37%description -l pl.UTF-8
38Ten pakiet perlowy używa obiektów Perla 5, aby ułatwić manipulowanie
39danymi arkuszy kalkulacyjnych w plikach na dysku, bazach danych i
40publikacjach WWW.
41
42Obiekt tabeli zawiera nagłówek i dwuwymiarową tablicę skalarów. Trzy
43metody klasy pozwalają użytkownikom tworzyć obiekt tabeli z pliku
44CSV/TSV lub wyniku zapytania z bazy danych SQL.
45
46Metody tabeli umożliwiają podstawowe operacje dostępu, dodawania i
47usuwania wierszy i kolumn, nieco bardziej zaawansowane wyciąganie
48podtabel, sortowanie tabel, dopasowywanie rekordów po słowach
49kluczowych lub wzorcach, łączenie tabel oraz publikowanie na WWW.
50
51%prep
52%setup -q -n %{pdir}-%{pnam}-%{version}
53
54%build
55%{__perl} Makefile.PL \
56 INSTALLDIRS=vendor
57%{__make}
58
59%{?with_tests:%{__make} test}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67# empty autosplit.ix
68rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/auto/Data/Table/autosplit.ix
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%{perl_vendorlib}/Data/*.pm
76%{_mandir}/man3/*
This page took 0.059616 seconds and 4 git commands to generate.