3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: SDL Perl module
7 Summary(cs): Modul SDL pro Perl
8 Summary(da): Perlmodul SDL
9 Summary(de): SDL Perl Modul
10 Summary(es): Módulo de Perl SDL
11 Summary(fr): Module Perl SDL
12 Summary(it): Modulo di Perl SDL
13 Summary(ja): SDL Perl ¥â¥¸¥å¡¼¥ë
14 Summary(ko): SDL ÆÞ ¸ðÁÙ
15 Summary(no): Perlmodul SDL
16 Summary(pl): Modu³ Perla SDL
17 Summary(pt): Módulo de Perl SDL
18 Summary(pt_BR): Módulo Perl SDL
19 Summary(ru): íÏÄÕÌØ ÄÌÑ Perl SDL
20 Summary(sv): SDL Perlmodul
21 Summary(uk): íÏÄÕÌØ ÄÌÑ Perl SDL
22 Summary(zh_CN): SDL Perl Ä£¿é
27 Group: Development/Languages/Perl
28 Source0: http://sdlperl.org/downloads/SDL_perl-%{version}.tar.gz
29 Patch0: %{name}-detection.patch
30 Patch1: %{name}-g-owno.patch
31 URL: http://sdlperl.org/
32 BuildRequires: OpenGL-devel
33 BuildRequires: SDL-devel
34 BuildRequires: SDL_gfx-devel
35 BuildRequires: SDL_mixer-devel
36 BuildRequires: SDL_net-devel
37 BuildRequires: SDL_ttf-devel
38 BuildRequires: SDL_image-devel
39 BuildRequires: glut-devel
40 BuildRequires: libjpeg-devel
41 BuildRequires: libpng-devel
42 BuildRequires: perl-devel >= 5.6
43 BuildRequires: rpm-perlprov >= 3.0.3-16
44 BuildRequires: smpeg-devel
45 Provides: perl(SDL::OpenGL)
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 SDL_perl is a package of perl modules that provides both functional
50 and object orient interfaces to the Simple DirectMedia Layer for Perl
51 5. This package does take some liberties with the SDL API, and
52 attempts to adhere to the spirit of both the SDL and Perl.
55 SDL_perl to pakiet z modu³ami perla udostêpniaj±cy z poziomu Perla
56 interfejsy zarówno funkcjonalne, jak i zorientowane obiektowo do
57 biblioteki SDL (Simple DirectMedia Layer). Pakiet przejmuje trochê
58 swobody z API SDL i próbuje siê dopasowaæ do idei SDL oraz Perla.
61 %setup -q -n SDL_perl-%{version}
67 %{__make} OPTIMIZE="%{rpmcflags} -I/usr/X11R6/include"
69 %{!?_without_tests:%{__make} test}
72 rm -rf $RPM_BUILD_ROOT
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %doc BUGS CHANGELOG TODO README
84 %dir %{perl_sitearch}/auto/SDL_perl
85 %{perl_sitearch}/auto/SDL_perl/SDL_perl.bs
86 %{perl_sitearch}/auto/SDL/autosplit.ix
87 %attr(755,root,root) %{perl_sitearch}/auto/SDL_perl/SDL_perl.so