SPECS: perl-Math-Project3D.spec (NEW) - initial
agaran
agaran at pld-linux.org
Mon Mar 5 13:14:07 CET 2007
Author: agaran Date: Mon Mar 5 12:14:07 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
perl-Math-Project3D.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Math-Project3D.spec
diff -u /dev/null SPECS/perl-Math-Project3D.spec:1.1
--- /dev/null Mon Mar 5 13:14:07 2007
+++ SPECS/perl-Math-Project3D.spec Mon Mar 5 13:14:02 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Math
+%define pnam Project3D
+Summary: Math::Project3D - Project functions of multiple parameters from R^3 onto an arbitrary plane
+#Summary(pl):
+Name: perl-Math-Project3D
+Version: 1.01
+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: 1c88adc0a4dba19ee834313900dab166
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+
+# %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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Math/*.pm
+%{perl_vendorlib}/Math/Project3D
+%{_mandir}/man3/*
+
+%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:14:02 agaran
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list