]> git.pld-linux.org Git - packages/perl-Graphics-ColorNames-WWW.git/blob - perl-Graphics-ColorNames-WWW.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Graphics-ColorNames-WWW.git] / perl-Graphics-ColorNames-WWW.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Graphics
6 %define         pnam    ColorNames-WWW
7 Summary:        WWW color names and equivalent RGB values
8 Summary(pl.UTF-8):      Nazwy kolorów WWW i ich wartości RGB
9 Name:           perl-Graphics-ColorNames-WWW
10 Version:        1.13
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:  c518859fd8797927481e2318bff362e0
17 URL:            http://search.cpan.org/dist/Graphics-ColorNames-WWW/
18 BuildRequires:  perl-Graphics-ColorNames
19 BuildRequires:  perl-Module-Load
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 WWW color names and equivalent RGB values.
27
28 %description -l pl.UTF-8
29 Nazwy kolorów WWW i ich wartości RGB.
30
31 %prep
32 %setup -q %{version}q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} pure_install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Graphics/ColorNames/*.pm
54 %{_mandir}/man3/*
This page took 0.115529 seconds and 4 git commands to generate.