]> git.pld-linux.org Git - packages/perl-OLE-Storage_Lite.git/blobdiff - perl-OLE-Storage_Lite.spec
- massive: unfold macros in name/summary & other unifications
[packages/perl-OLE-Storage_Lite.git] / perl-OLE-Storage_Lite.spec
index 159033e1f0fe179204a37cb6786d317f5c361b77..456cc0149d93257153b9626955edb75501e71bdf 100644 (file)
@@ -1,19 +1,21 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    OLE
 %define        pnam    Storage_Lite
-Summary:       OLE::Storage_Lite perl module
-Summary(pl):   Modu³ OLE::Storage_Lite
-Name:          perl-%{pdir}-%{pnam}
-Version:       0.11
-Release:       1.1
-License:       GPL
+Summary:       OLE::Storage_Lite Perl module - simple class for OLE document interface
+Summary(pl):   Modu³ Perla OLE::Storage_Lite - prosta klasa obs³uguj±ca interfejs dokumentów OLE
+Name:          perl-OLE-Storage_Lite
+Version:       0.12
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 78edc8f66074787b98af92df9bc5cc79
-BuildRequires: perl-devel >= 5.6.1
+# Source0-md5: 4f28338c6c360ed1c5bb37e55eea23da
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: perl-IO-stringy
 BuildArch:     noarch
@@ -36,13 +38,15 @@ Windows, UNIX i Macintosh.
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 install sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
This page took 0.138777 seconds and 4 git commands to generate.