]> git.pld-linux.org Git - packages/perl-Graphics-ColorObject.git/blob - perl-Graphics-ColorObject.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Graphics-ColorObject.git] / perl-Graphics-ColorObject.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Graphics
6 %define         pnam    ColorObject
7 Summary:        Convert between color spaces
8 Summary(pl.UTF-8):      Przekształcenia między przestrzeniami kolorów
9 Name:           perl-Graphics-ColorObject
10 Version:        0.5.0
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic     
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Graphics/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  3b806cf21c97d9804bf2c0a300f48a0d
17 URL:            http://search.cpan.org/dist/Graphics-ColorObject/
18 BuildRequires:  perl-Graphics-ColorNames
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Convert between color spaces.
26
27 %description -l pl.UTF-8
28 Przekształcenia między przestrzeniami kolorów.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorlib}/Graphics/ColorObject.pm
54 %{_mandir}/man3/*
This page took 0.105411 seconds and 4 git commands to generate.