From 984f86159afea716e6ab7f7c24843e0b2f8877a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 22:00:44 +0200 Subject: [PATCH] use generic url --- perl-OLE-Storage_Lite.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/perl-OLE-Storage_Lite.spec b/perl-OLE-Storage_Lite.spec index 210346b..166f22c 100644 --- a/perl-OLE-Storage_Lite.spec +++ b/perl-OLE-Storage_Lite.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir OLE %define pnam Storage_Lite +%include /usr/lib/rpm/macros.perl Summary: OLE::Storage_Lite Perl module - simple class for OLE document interface Summary(pl.UTF-8): Moduł Perla OLE::Storage_Lite - prosta klasa obsługująca interfejs dokumentów OLE Name: perl-OLE-Storage_Lite @@ -15,20 +15,21 @@ 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: 1a713f5342c7d90e54ab0d9659650296 +URL: http://search.cpan.org/dist/OLE-Storage_Lite/ +BuildRequires: perl-IO-stringy BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 -BuildRequires: perl-IO-stringy BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This module allows you to read and write an OLE-Structured file. -The module will work on the majority of Windows, UNIX and Macintosh +This module allows you to read and write an OLE-Structured file. The +module will work on the majority of Windows, UNIX and Macintosh platforms. %description -l pl.UTF-8 -Moduł ten umożliwia odczyt i zapis plików w standardzie OLE. -Jest niezależny od platformy systemowej i powinien działać na systemach +Moduł ten umożliwia odczyt i zapis plików w standardzie OLE. Jest +niezależny od platformy systemowej i powinien działać na systemach Windows, UNIX i Macintosh. %prep @@ -47,7 +48,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -p sample/{README,*.pl,*xls} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0