Author: hawk                         Date: Tue Nov 13 09:30:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec for PLD

---- Files affected:
SPECS:
   perl-Algorithm-Dependency.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Algorithm-Dependency.spec
diff -u /dev/null SPECS/perl-Algorithm-Dependency.spec:1.1
--- /dev/null   Tue Nov 13 10:30:11 2007
+++ SPECS/perl-Algorithm-Dependency.spec        Tue Nov 13 10:30:06 2007
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests   # don't perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Algorithm
+%define                pnam    Dependency
+Summary:       Algorithm::Dependency - Base class for implementing various 
dependency trees
+Summary(pl.UTF-8):     Algorithm::Dependency - Podstawowa klasa do tworzenia 
różnych drzewek zależności
+Name:          perl-Algorithm-Dependency
+Version:       1.103
+Release:       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: 91db8930ec8861b56a9c61db2ce209f0
+%if %{with tests}
+BuildRequires: perl-Config-Tiny
+BuildRequires: perl-Params-Util
+%endif
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Base class for implementing various dependency trees
+
+%description -l pl.UTF-8
+Podstawowa klasa do tworzenia różnych drzewek zależności
+
+%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)
+%{perl_vendorlib}/Algorithm/*.pm
+%{perl_vendorlib}/Algorithm/Dependency/*.pm
+%{perl_vendorlib}/Algorithm/Dependency/Source/*.pm
+%{_mandir}/man3/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-11-13 09:30:06  hawk
+- initial spec for PLD
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to