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