]> git.pld-linux.org Git - packages/perl-Math-Bezier.git/blob - perl-Math-Bezier.spec
- new
[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:        1
12 License:        Artistic or GPL
13 Group:          Development/Languages/Perl
14 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl >= 5.6
16 BuildRequires:  rpm-perlprov >= 3.0.3-16
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This module implements the algorithm for the solution of Bezier curves
22 as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
23 Bezier Curve Drawing".
24
25 %description -l pl
26 Ten modu³ jest implementacj± algorytmu obliczania krzywych Beziera
27 pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
28 Simple Bezier Curve Drawing".
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 perl Makefile.PL
35 %{__make}
36
37 %{!?_without_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README
51 %{perl_sitelib}/Math/Bezier.pm
52 %{_mandir}/man3/*
This page took 0.065319 seconds and 4 git commands to generate.