]> git.pld-linux.org Git - packages/perl-Math-Fractal-Mandelbrot.git/blame - perl-Math-Fractal-Mandelbrot.spec
rebuild with perl 5.32
[packages/perl-Math-Fractal-Mandelbrot.git] / perl-Math-Fractal-Mandelbrot.spec
CommitLineData
1433d09d
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
9881de6e 5%define pdir Math
6%define pnam Fractal-Mandelbrot
1433d09d 7Summary: Math::Fractal::Mandelbrot - calculate points in the Mandelbrot fractal
7d09922a 8Summary(pl.UTF-8): Math::Fractal::Mandelbrot - obliczanie punktów we fraktalu Mandelbrota
1433d09d 9Name: perl-Math-Fractal-Mandelbrot
e0f97bec 10Version: 0.04
a4fdee83 11Release: 14
1433d09d 12# same as perl
7bec9244 13License: GPL v1+ or Artistic
1433d09d 14Group: Development/Languages/Perl
d8326c93 15Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
e0f97bec 16# Source0-md5: b3658ce83d925e109b678dfcfa21dabf
d8326c93 17URL: http://search.cpan.org/dist/Math-Fractal-Mandelbrot/
e0f97bec 18BuildRequires: perl-YAML
1b72fffa 19BuildRequires: perl-devel >= 1:5.8.0
1433d09d
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module calculates points, horizontal/vertical stripes or
25rectangular areas of the famous Mandelbrot fractal.
26
cbf9091b
JR
27%description -l pl.UTF-8
28Ten moduł oblicza punkty, poziome lub pionowe pasy lub prostokątne
29obszary słynnego fraktala Mandelbrota.
1433d09d
JB
30
31%prep
32%setup -q -n %{pdir}-%{pnam}-%{version}
33
34%build
35%{__perl} Makefile.PL \
36 INSTALLDIRS=vendor
37
38%{__make} \
fa0a0035 39 CC="%{__cc}" \
1433d09d
JB
40 OPTIMIZE="%{rpmcflags}"
41
42%{?with_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc BUGS CHANGES CREDITS README TODO
56%dir %{perl_vendorarch}/Math/Fractal
57%{perl_vendorarch}/Math/Fractal/Mandelbrot.pm
58%dir %{perl_vendorarch}/auto/Math/Fractal
59%dir %{perl_vendorarch}/auto/Math/Fractal/Mandelbrot
1433d09d
JB
60%attr(755,root,root) %{perl_vendorarch}/auto/Math/Fractal/Mandelbrot/Mandelbrot.so
61%{_mandir}/man3/*
This page took 0.221415 seconds and 4 git commands to generate.