]> git.pld-linux.org Git - packages/perl-Spreadsheet-WriteExcel.git/blob - perl-Spreadsheet-WriteExcel.spec
- BR: perl-devel; do not BR: perl
[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.40
27 Release:        1.1
28 License:        GPL
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 BuildRequires:  rpm-perlprov >= 4.1-13
32 BuildRequires:  perl-devel >= 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         INSTALLDIRS=vendor 
65 %{__make}
66 %{!?_without_tests:%{__make} test}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
71
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73 install examples/{README,*.pl,*.bmp} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
74 gzip -9 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/README
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc CHANGES README html
82 %{perl_vendorlib}/Spreadsheet/WriteExcel.pm
83 %dir %{perl_vendorlib}/Spreadsheet/WriteExcel
84 %{perl_vendorlib}/Spreadsheet/WriteExcel/*.pm
85 %{_mandir}/man3/*
86 %dir %{_examplesdir}/%{name}-%{version}
87 %{_examplesdir}/%{name}-%{version}/README*
88 %{_examplesdir}/%{name}-%{version}/*.bmp
89 %{_examplesdir}/%{name}-%{version}/mo*.pl
90 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/m[^o]*.pl
91 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/[^m]*.pl
This page took 0.080199 seconds and 4 git commands to generate.