]> git.pld-linux.org Git - packages/perl-OLE-Storage_Lite.git/blob - perl-OLE-Storage_Lite.spec
- massive attack: change CPAN URLs
[packages/perl-OLE-Storage_Lite.git] / perl-OLE-Storage_Lite.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define pdir    OLE
6 %define pnam    Storage_Lite
7 Summary:        OLE::Storage_Lite perl module
8 Summary(pl):    Modu³ OLE::Storage_Lite
9 Name:           perl-%{pdir}-%{pnam}
10 Version:        0.11
11 Release:        0.1
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl >= 5.6.1
16 BuildRequires:  rpm-perlprov >= 4.0.2-56
17 BuildRequires:  perl-IO-stringy
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This module allows you to read and write an OLE-Structured file.
23 The module will work on the majority of Windows, UNIX and Macintosh
24 platforms. 
25                                          
26 %description -l pl
27 Modu³ ten umo¿liwia odczyt i zapis plików w standardziee OLE.
28 Jest niezale¿ny od platformy systemowej i powinien dzia³aæ na systemach
29 Windows, UNIX i Macintosh.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 perl Makefile.PL
36 %{__make}
37 %{!?_without_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT
44 install sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc Changes README
52 %{perl_sitelib}/OLE/*.pm
53 %{_mandir}/man3/*
54 %{_examplesdir}/%{name}-%{version}
This page took 0.193696 seconds and 4 git commands to generate.