SPECS: perl-Games-Console.spec (NEW) - initial, NFY, fails in test...

agaran agaran at pld-linux.org
Wed Oct 25 00:53:19 CEST 2006


Author: agaran                       Date: Tue Oct 24 22:53:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, NFY, fails in test, enoidea why

---- Files affected:
SPECS:
   perl-Games-Console.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Games-Console.spec
diff -u /dev/null SPECS/perl-Games-Console.spec:1.1
--- /dev/null	Wed Oct 25 00:53:19 2006
+++ SPECS/perl-Games-Console.spec	Wed Oct 25 00:53:14 2006
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Games
+%define		pnam	Console
+Summary:	perl(Games::Console)
+Name:		perl-Games-Console
+Version:	0.04
+Release:	0.1
+License:	same as perl
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c494d242db47dca607d676173c7cd4ba
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	perl-SDL
+%if %{with tests}
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+add me
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+# if module isn't noarch, use:
+# %{__make} \
+#	OPTIMIZE="%{rpmcflags}"
+
+%{?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 BUGS TODO 
+# use macros:
+#%%{perl_vendorlib}/...
+#%%{perl_vendorarch}/...
+%{_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  2006/10/24 22:53:14  agaran
+- initial, NFY, fails in test, enoidea why
+
================================================================


More information about the pld-cvs-commit mailing list