]> git.pld-linux.org Git - packages/perl-Image-Xbm.git/blob - perl-Image-Xbm.spec
d7e666174bae05e71ba9dfe5f1fc8a5ce6b2932c
[packages/perl-Image-Xbm.git] / perl-Image-Xbm.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define pdir    Image
6 %define pnam    Xbm
7 Summary:        Image::Xbm - Load, create, manipulate and save xbm image files
8 Summary(pl):    Image::Xbm - wczytaj, twórz, modyfikuj i zapisuj obrazy w formacie xbm
9 Name:           perl-Image-Xbm
10 Version:        1.08
11 Release:        3
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl >= 5.6
16 %if %{?_without_tests:0}%{!?_without_tests:1}
17 BuildRequires:  perl-Image-Base >= 1.06
18 %endif
19 BuildRequires:  rpm-perlprov >= 3.0.3-16
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This class module provides basic load, manipulate and save functionality
25 for the xbm file format.  It inherits from Image::Base which provides
26 additional manipulation functionality, e.g. new_from_image().
27
28 %description -l pl
29 Image::Xbm dostarcza prostej funkconalno¶ci do wczytywania, manipulacji
30 i zapisywania obrazów w formacie xbm.  Dziedziczy po Image::Base,
31 dostarczaj±cym dodatkowych funkcji manipulacyjnych; np. new_from_image().
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 perl Makefile.PL
38 %{__make}
39
40 %{!?_without_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %{perl_sitelib}/Image/*
53 %{_mandir}/man3/*
This page took 0.082484 seconds and 2 git commands to generate.