From 2c88463735ccaebd66294fd7dcfd4a77d2a7d012 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 13:00:24 +0200 Subject: [PATCH] use generic url --- perl-Image-Xbm.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/perl-Image-Xbm.spec b/perl-Image-Xbm.spec index e1eff4b..ad4b69c 100644 --- a/perl-Image-Xbm.spec +++ b/perl-Image-Xbm.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Image %define pnam Xbm +%include /usr/lib/rpm/macros.perl Summary: Image::Xbm - load, create, manipulate and save xbm image files Summary(pl.UTF-8): Image::Xbm - wczytywanie, tworzenie, modyfikacja i zapis obrazków w formacie xbm Name: perl-Image-Xbm @@ -14,23 +14,26 @@ License: LGPL Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 3a6cde06d6de70ee98fb1849ba18b385 +URL: http://search.cpan.org/dist/Image-Xbm/ BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} BuildRequires: perl-Image-Base >= 1.06 %endif -BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This class module provides basic load, manipulate and save functionality -for the xbm file format. It inherits from Image::Base which provides -additional manipulation functionality, e.g. new_from_image(). +This class module provides basic load, manipulate and save +functionality for the xbm file format. It inherits from Image::Base +which provides additional manipulation functionality, e.g. +new_from_image(). %description -l pl.UTF-8 -Image::Xbm dostarcza prostej funkcjonalności do wczytywania, manipulacji -i zapisywania obrazów w formacie xbm. Dziedziczy po Image::Base, -dostarczającym dodatkowych funkcji manipulacyjnych; np. new_from_image(). +Image::Xbm dostarcza prostej funkcjonalności do wczytywania, +manipulacji i zapisywania obrazów w formacie xbm. Dziedziczy po +Image::Base, dostarczającym dodatkowych funkcji manipulacyjnych; np. +new_from_image(). %prep %setup -q -n %{pdir}-%{pnam}-%{version} -- 2.44.0