]> git.pld-linux.org Git - packages/perl-Data-Table.git/blob - perl-Data-Table.spec
- should be ready for perl-5.8.0; release++
[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:        2
13 License:        GPL/Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/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 >= 4.1-13
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         INSTALLDIRS=vendor 
55 %{__make}
56
57 %{!?_without_tests:%{__make} test}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %{perl_vendorlib}/Data/*.pm
70 # empty autosplit.ix
71 #%dir %{perl_vendorlib}/auto/Data/Table
72 #%%{perl_vendorlib}/auto/Data/Table/autosplit.ix
73 %{_mandir}/man3/*
This page took 0.06018 seconds and 3 git commands to generate.