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