]> git.pld-linux.org Git - packages/perl-Math-Bezier.git/blob - perl-Math-Bezier.spec
- massive attack: source-md5
[packages/perl-Math-Bezier.git] / perl-Math-Bezier.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define         pdir    Math
6 %define         pnam    Bezier
7 Summary:        Math::Bezier Perl module - solution of Bezier curves
8 Summary(pl):    Modu³ Perla Math::Bezier - obliczaj±cy krzywe Beziera
9 Name:           perl-Math-Bezier
10 Version:        0.01
11 Release:        2
12 License:        Artistic or GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  ba6874d8754e2d64ab9c7d15e0eb56c2
16 BuildRequires:  perl-devel >= 5.6
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This module implements the algorithm for the solution of Bezier curves
23 as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
24 Bezier Curve Drawing".
25
26 %description -l pl
27 Ten modu³ jest implementacj± algorytmu obliczania krzywych Beziera
28 pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
29 Simple Bezier Curve Drawing".
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor 
37 %{__make}
38
39 %{!?_without_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} 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}/Math/Bezier.pm
54 %{_mandir}/man3/*
This page took 0.0884160000000001 seconds and 3 git commands to generate.