]> git.pld-linux.org Git - packages/perl-OLE-Storage_Lite.git/blame - perl-OLE-Storage_Lite.spec
use generic url
[packages/perl-OLE-Storage_Lite.git] / perl-OLE-Storage_Lite.spec
CommitLineData
df4a0303 1#
2# Conditional build:
b4d7cabd 3%bcond_without tests # do not perform "make test"
984f8615 4
52e50d37 5%define pdir OLE
6%define pnam Storage_Lite
984f8615 7%include /usr/lib/rpm/macros.perl
5790b1ce 8Summary: OLE::Storage_Lite Perl module - simple class for OLE document interface
e04b32b6 9Summary(pl.UTF-8): Moduł Perla OLE::Storage_Lite - prosta klasa obsługująca interfejs dokumentów OLE
18221728 10Name: perl-OLE-Storage_Lite
ec2e1a8a 11Version: 0.19
fffe5758 12Release: 1
f4f7c3e0 13# same as perl
14License: GPL v1+ or Artistic
df4a0303 15Group: Development/Languages/Perl
b77b79a2 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
ec2e1a8a 17# Source0-md5: 1a713f5342c7d90e54ab0d9659650296
984f8615
ER
18URL: http://search.cpan.org/dist/OLE-Storage_Lite/
19BuildRequires: perl-IO-stringy
d90ccaf5 20BuildRequires: perl-devel >= 1:5.8.0
7306de5f 21BuildRequires: rpm-perlprov >= 4.1-13
df4a0303 22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
984f8615
ER
26This module allows you to read and write an OLE-Structured file. The
27module will work on the majority of Windows, UNIX and Macintosh
bb1b4997
TP
28platforms.
29
e6da64ae 30%description -l pl.UTF-8
984f8615
ER
31Moduł ten umożliwia odczyt i zapis plików w standardzie OLE. Jest
32niezależny od platformy systemowej i powinien działać na systemach
df4a0303 33Windows, UNIX i Macintosh.
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
7306de5f 39%{__perl} Makefile.PL \
bb1b4997 40 INSTALLDIRS=vendor
df4a0303 41%{__make}
b4d7cabd 42
43%{?with_tests:%{__make} test}
df4a0303 44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48
a9f36116 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
984f8615 51cp -p sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
df4a0303 52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
7306de5f 59%{perl_vendorlib}/OLE/*.pm
df4a0303 60%{_mandir}/man3/*
61%{_examplesdir}/%{name}-%{version}
This page took 0.092333 seconds and 4 git commands to generate.