Author: agaran Date: Fri Feb 1 21:46:41 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, builds here, rel 1
---- Files affected: SPECS: perl-Games-OpenGL-Font-2D.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Games-OpenGL-Font-2D.spec diff -u /dev/null SPECS/perl-Games-OpenGL-Font-2D.spec:1.1 --- /dev/null Fri Feb 1 22:46:41 2008 +++ SPECS/perl-Games-OpenGL-Font-2D.spec Fri Feb 1 22:46:36 2008 @@ -0,0 +1,77 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_with tests # do not perform "make test" +# test are failing, no idea why, yet +# +%include /usr/lib/rpm/macros.perl +%define pdir Games +%define pnam OpenGL-Font-2D +Summary: perl(Games::OpenGL::Font::2D) - load/render 2D colored bitmap fonts via OpenGL +Name: perl-Games-OpenGL-Font-2D +Version: 0.07 +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: ae55f071dc5bb395401b5a25780555ca +URL: http://search.cpan.org/dists/Games-OpenGl-Font-2D +BuildRequires: perl-SDL +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +#BuildRequires: perl- +#BuildRequires: perl-SDL +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package lets you load and render colored bitmap fonts via OpenGL. + +%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} +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lib/SDL/App/FPS +install examples/font.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/font.pl +install examples/lib/SDL/App/FPS/MyFont.pm $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lib/SDL/App/FPS/MyFont.pm + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README CHANGES BUGS TODO +# use macros: +%{perl_vendorlib}/Games/OpenGL/Font/2D.pm +#%%{perl_vendorarch}/... +%{_mandir}/man3/* +%{_examplesdir}/%{name}-%{version}/font.pl +%{_examplesdir}/%{name}-%{version}/lib/SDL/App/FPS/MyFont.pm + +%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 2008-02-01 21:46:36 agaran +- initial, builds here, rel 1 + +Revision 1.33 2004/12/02 06:07:36 ankry +- more BR, cut off changelog ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
