From: Elan Ruusamäe Date: Tue, 25 Nov 2014 11:00:28 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=8a8cc772bd3c44323cf83e5344046afe70aab78a;p=packages%2Fperl-Image-Xpm.git use generic url --- diff --git a/perl-Image-Xpm.spec b/perl-Image-Xpm.spec index 08c3dfb..294d73a 100644 --- a/perl-Image-Xpm.spec +++ b/perl-Image-Xpm.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 Xpm +%include /usr/lib/rpm/macros.perl Summary: Image::Xpm - load, create, manipulate and save xpm image files Summary(pl.UTF-8): Image::Xpm - wczytaj, twórz, modyfikuj i zapisuj obrazy w formacie xpm Name: perl-Image-Xpm @@ -14,24 +14,26 @@ License: GPL Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: e8dce284cd4c97b151bfbd1f0bbd1cb1 +URL: http://search.cpan.org/dist/Image-Xpm/ 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 xpm file format. It inherits from Image::Base +functionality for the xpm file format. It inherits from Image::Base which provides additional manipulation functionality, e.g. new_from_image(). %description -l pl.UTF-8 -Image::Xpm dostarcza prostej funkconalności do wczytywania, manipulacji -i zapisywania obrazów w formacie xpm. Dziedziczy po Image::Base, -dostarczającym dodatkowych funkcji manipulacyjnych; np. new_from_image(). +Image::Xpm dostarcza prostej funkconalności do wczytywania, +manipulacji i zapisywania obrazów w formacie xpm. Dziedziczy po +Image::Base, dostarczającym dodatkowych funkcji manipulacyjnych; np. +new_from_image(). %prep %setup -q -n %{pdir}-%{pnam}-%{version}