]> git.pld-linux.org Git - packages/perl-Spreadsheet-WriteExcel.git/blob - perl-Spreadsheet-WriteExcel.spec
- s/no/nb/ in Summary langs
[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(nb):    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.42
27 Release:        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 # Source0-md5:  164e6d454132c86c33168b45456c3e0b
32 BuildRequires:  rpm-perlprov >= 4.1-13
33 BuildRequires:  perl-devel >= 5.6.1
34 BuildRequires:  perl-modules >= 5.6.1
35 BuildRequires:  perl-Parse-RecDescent
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 The Spreadsheet::WriteExcel module can be used to create a cross-
41 platform Excel binary file. Multiple worksheets can be added to a
42 workbook and formatting can be applied to cells. Text, numbers,
43 formulas, hyperlinks and images can be written to the cells.
44
45 The Excel file produced by this module is compatible with Excel 5, 95,
46 97, 2000 and 2002.
47
48 %description -l pl
49 Modu³ Spreadsheet::WriteExcel mo¿e byæ u¿ywany do tworzenia
50 miêdzyplatformowych plików binarnych Excela. Wiele arkuszy mo¿e byæ
51 dodanych do jednej ksiêgi, a w komórkach mo¿na u¿ywaæ formatowania.
52 Tekst, liczby, formu³y, odno¶niki i obrazki mog± byæ wpisywane do
53 komórek.
54
55 Pliki Excela produkowane przez ten modu³ s± kompatybilne z Excelem 5,
56 95, 97, 2000 i 2002.
57
58 %prep
59 %setup -q -n %{pdir}-%{pnam}-%{version}
60 mv WriteExcel/examples .
61 mv WriteExcel/doc html
62
63 %build
64 %{__perl} Makefile.PL \
65         INSTALLDIRS=vendor
66 %{__make}
67 %{!?_without_tests:%{__make} test}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74 install examples/{README,*.pl,*.bmp} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75 gzip -9 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/README
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc CHANGES README html
83 %{perl_vendorlib}/Spreadsheet/WriteExcel.pm
84 %dir %{perl_vendorlib}/Spreadsheet/WriteExcel
85 %{perl_vendorlib}/Spreadsheet/WriteExcel/*.pm
86 %{_mandir}/man3/*
87 %dir %{_examplesdir}/%{name}-%{version}
88 %{_examplesdir}/%{name}-%{version}/README*
89 %{_examplesdir}/%{name}-%{version}/*.bmp
90 %{_examplesdir}/%{name}-%{version}/mo*.pl
91 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/m[^o]*.pl
92 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/[^m]*.pl
This page took 0.066213 seconds and 4 git commands to generate.