]> git.pld-linux.org Git - packages/perl-Math-Bezier.git/commitdiff
- new RA-1_0 STABLE perl-Math-Bezier-0_01-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 16 Aug 2002 16:31:14 +0000 (16:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-Bezier.spec -> 1.1

perl-Math-Bezier.spec [new file with mode: 0644]

diff --git a/perl-Math-Bezier.spec b/perl-Math-Bezier.spec
new file mode 100644 (file)
index 0000000..62c1821
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Math
+%define                pnam    Bezier
+Summary:       Math::Bezier Perl module - solution of Bezier curves
+Summary(pl):   Modu³ Perla Math::Bezier - obliczaj±cy krzywe Beziera
+Name:          perl-Math-Bezier
+Version:       0.01
+Release:       1
+License:       Artistic or GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements the algorithm for the solution of Bezier curves
+as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple
+Bezier Curve Drawing".
+
+%description -l pl
+Ten modu³ jest implementacj± algorytmu obliczania krzywych Beziera
+pokazanego przez Roberta D. Millera w Graphics Gems V "Quick and
+Simple Bezier Curve Drawing".
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_sitelib}/Math/Bezier.pm
+%{_mandir}/man3/*
This page took 0.055475 seconds and 4 git commands to generate.