]> git.pld-linux.org Git - packages/perl-Image-Xbm.git/blob - perl-Image-Xbm.spec
ad4b69cd4182a5170755e33ddf602fd6a2a5c269
[packages/perl-Image-Xbm.git] / perl-Image-Xbm.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Image
6 %define         pnam    Xbm
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Image::Xbm - load, create, manipulate and save xbm image files
9 Summary(pl.UTF-8):      Image::Xbm - wczytywanie, tworzenie, modyfikacja i zapis obrazków w formacie xbm
10 Name:           perl-Image-Xbm
11 Version:        1.08
12 Release:        6
13 License:        LGPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  3a6cde06d6de70ee98fb1849ba18b385
17 URL:            http://search.cpan.org/dist/Image-Xbm/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Image-Base >= 1.06
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This class module provides basic load, manipulate and save
28 functionality for the xbm file format. It inherits from Image::Base
29 which provides additional manipulation functionality, e.g.
30 new_from_image().
31
32 %description -l pl.UTF-8
33 Image::Xbm dostarcza prostej funkcjonalności do wczytywania,
34 manipulacji i zapisywania obrazów w formacie xbm. Dziedziczy po
35 Image::Base, dostarczającym dodatkowych funkcji manipulacyjnych; np.
36 new_from_image().
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Image/*
60 %{_mandir}/man3/*
This page took 0.085959 seconds and 2 git commands to generate.