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