3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
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
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
19 BuildRequires: rpm-perlprov >= 3.0.3-16
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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().
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().
34 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{!?_without_tests:%{__make} test}
43 rm -rf $RPM_BUILD_ROOT
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %{perl_sitelib}/Image/*