SPECS: perl-Math-Project3D-Plot.spec (NEW) - initial
agaran
agaran at pld-linux.org
Mon Mar 5 13:33:28 CET 2007
Author: agaran Date: Mon Mar 5 12:33:28 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
perl-Math-Project3D-Plot.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Math-Project3D-Plot.spec
diff -u /dev/null SPECS/perl-Math-Project3D-Plot.spec:1.1
--- /dev/null Mon Mar 5 13:33:28 2007
+++ SPECS/perl-Math-Project3D-Plot.spec Mon Mar 5 13:33:23 2007
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Math
+%define pnam Project3D-Plot
+Summary: Math::Project3D::Plot - Perl extension for plotting projections of 3D functions
+#Summary(pl):
+Name: perl-Math-Project3D-Plot
+Version: 1.02
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 2ac47684734a31f349ecd11d195a87c5
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Imager) >= 0.41
+BuildRequires: perl(Math::Project3D) >= 1.02
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module may be used to plot the results of a projection
+from a three dimensional vectorial function onto a plane into
+an image. What a horrible sentence.
+
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Math/Project3D/*.pm
+#%{perl_vendorlib}/Math/Project3D/Plot
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/05 12:33:23 agaran
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list