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