]> git.pld-linux.org Git - packages/perl-OLE-Storage_Lite.git/blob - perl-OLE-Storage_Lite.spec
- massive attack: source-md5
[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:        1.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 # Source0-md5:  78edc8f66074787b98af92df9bc5cc79
16 BuildRequires:  perl-devel >= 5.6.1
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-IO-stringy
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module allows you to read and write an OLE-Structured file.
24 The module will work on the majority of Windows, UNIX and Macintosh
25 platforms. 
26                                          
27 %description -l pl
28 Modu³ ten umo¿liwia odczyt i zapis plików w standardziee OLE.
29 Jest niezale¿ny od platformy systemowej i powinien dzia³aæ na systemach
30 Windows, UNIX i Macintosh.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor 
38 %{__make}
39 %{!?_without_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46 install sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %{perl_vendorlib}/OLE/*.pm
55 %{_mandir}/man3/*
56 %{_examplesdir}/%{name}-%{version}
This page took 0.112153 seconds and 4 git commands to generate.