]> git.pld-linux.org Git - packages/perl-Spreadsheet-WriteExcel.git/blob - perl-Spreadsheet-WriteExcel.spec
- pl Summary/description fixes
[packages/perl-Spreadsheet-WriteExcel.git] / perl-Spreadsheet-WriteExcel.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Spreadsheet
7 %define         pnam    WriteExcel
8 Summary:        Spreadsheet::WriteExcel perl module
9 Summary(cs):    Modul Spreadsheet::WriteExcel pro Perl
10 Summary(da):    Perlmodul Spreadsheet::WriteExcel
11 Summary(de):    Spreadsheet::WriteExcel Perl Modul
12 Summary(es):    Módulo de Perl Spreadsheet::WriteExcel
13 Summary(fr):    Module Perl Spreadsheet::WriteExcel
14 Summary(it):    Modulo di Perl Spreadsheet::WriteExcel
15 Summary(ja):    Spreadsheet::WriteExcel Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko):    Spreadsheet::WriteExcel ÆÞ ¸ðÁÙ
17 Summary(no):    Perlmodul Spreadsheet::WriteExcel
18 Summary(pl):    Modu³ Perla Spreadsheet::WriteExcel
19 Summary(pt):    Módulo de Perl Spreadsheet::WriteExcel
20 Summary(pt_BR): Módulo Perl Spreadsheet::WriteExcel
21 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl Spreadsheet::WriteExcel
22 Summary(sv):    Spreadsheet::WriteExcel Perlmodul
23 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl Spreadsheet::WriteExcel
24 Summary(zh_CN): Spreadsheet::WriteExcel Perl Ä£¿é
25 Name:           perl-Spreadsheet-WriteExcel
26 Version:        0.39
27 Release:        0.1
28 License:        GPL
29 Group:          Development/Languages/Perl
30 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 BuildRequires:  rpm-perlprov >= 4.0.2-56
32 BuildRequires:  perl >= 5.6.1
33 BuildRequires:  perl-modules >= 5.6.1
34 BuildRequires:  perl-Parse-RecDescent
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 The Spreadsheet::WriteExcel module can be used to create a cross-
40 platform Excel binary file. Multiple worksheets can be added to a
41 workbook and formatting can be applied to cells. Text, numbers,
42 formulas, hyperlinks and images can be written to the cells.
43
44 The Excel file produced by this module is compatible with Excel 5, 95,
45 97, 2000 and 2002.
46
47 %description -l pl
48 Modu³ Spreadsheet::WriteExcel mo¿e byæ u¿ywany do tworzenia
49 miêdzyplatformowych plików binarnych Excela. Wiele arkuszy mo¿e byæ
50 dodanych do jednej ksiêgi, a w komórkach mo¿na u¿ywaæ formatowania.
51 Tekst, liczby, formu³y, odno¶niki i obrazki mog± byæ wpisywane do
52 komórek.
53
54 Pliki Excela produkowane przez ten modu³ s± kompatybilne z Excelem 5,
55 95, 97, 2000 i 2002.
56
57 %prep
58 %setup -q -n %{pdir}-%{pnam}-%{version}
59 mv WriteExcel/examples .
60 mv WriteExcel/doc html
61
62 %build
63 perl Makefile.PL
64 %{__make}
65 %{!?_without_tests:%{__make} test}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72 install examples/{README,*.pl,*.bmp} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
73 gzip -9 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/README
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc CHANGES README html
81 %{perl_sitelib}/Spreadsheet/WriteExcel.pm
82 %dir %{perl_sitelib}/Spreadsheet/WriteExcel
83 %{perl_sitelib}/Spreadsheet/WriteExcel/*.pm
84 %{_mandir}/man3/*
85 %dir %{_examplesdir}/%{name}-%{version}
86 %{_examplesdir}/%{name}-%{version}/README*
87 %{_examplesdir}/%{name}-%{version}/*.bmp
88 %{_examplesdir}/%{name}-%{version}/mo*.pl
89 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/m[^o]*.pl
90 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/[^m]*.pl
This page took 0.037618 seconds and 4 git commands to generate.