1 %include /usr/lib/rpm/macros.perl
2 Summary: SDL perl module
3 Summary(pl): Modu³ perla SDL
8 Group: Development/Languages/Perl
9 Source0: http://sdlperl.org/downloads/SDL_perl-%{version}.tar.gz
10 Patch0: %{name}-detection.patch
11 URL: http://sdlperl.org/
12 BuildRequires: OpenGL-devel
13 BuildRequires: SDL-devel
14 BuildRequires: SDL_gfx-devel
15 BuildRequires: SDL_mixer-devel
16 BuildRequires: SDL_net-devel
17 BuildRequires: SDL_ttf-devel
18 BuildRequires: glut-devel
19 BuildRequires: libjpeg-devel
20 BuildRequires: libpng-devel
21 BuildRequires: perl >= 5.6
22 BuildRequires: rpm-perlprov >= 3.0.3-16
23 BuildRequires: smpeg-devel
24 Provides: perl(SDL::OpenGL)
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 SDL_perl is a package of perl modules that provides both functional
29 and object orient interfaces to the Simple DirectMedia Layer for Perl
30 5. This package does take some liberties with the SDL API, and
31 attempts to adhere to the spirit of both the SDL and Perl.
34 SDL_perl to pakiet z modu³ami perla udostêpniaj±cy z poziomu Perla
35 interfejsy zarówno funkcjonalne, jak i zorientowane obiektowo do
36 biblioteki SDL (Simple DirectMedia Layer). Pakiet przejmuje trochê
37 swobody z API SDL i próbuje siê dopasowaæ do idei SDL oraz Perla.
40 %setup -q -n SDL_perl-%{version}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc BUGS CHANGELOG SFont-README TODO
59 %{perl_sitearch}/auto/SDL*