]> git.pld-linux.org Git - packages/perl-SDL.git/blob - perl-SDL.spec
- rel. 3 to rebuild with SDL_gfx-2.0.8
[packages/perl-SDL.git] / perl-SDL.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
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 Ä£¿é
23 Name:           perl-SDL
24 Version:        1.20.0
25 Release:        3
26 License:        LGPL
27 Group:          Development/Languages/Perl
28 Source0:        ftp://sdlperl.org/SDL_perl/SDL_perl-%{version}.tar.gz
29 # Source0-md5:  041617aec124677083ecef04aa48f927
30 Patch0:         %{name}-detection.patch
31 URL:            http://sdlperl.org/
32 BuildRequires:  OpenGL-devel
33 BuildRequires:  SDL-devel
34 BuildRequires:  SDL_gfx-devel
35 BuildRequires:  SDL_image-devel
36 BuildRequires:  SDL_mixer-devel
37 BuildRequires:  SDL_net-devel
38 BuildRequires:  SDL_ttf-devel
39 BuildRequires:  glut-devel
40 BuildRequires:  libjpeg-devel
41 BuildRequires:  libpng-devel
42 BuildRequires:  perl-devel >= 5.6
43 BuildRequires:  rpm-perlprov >= 4.1-13
44 BuildRequires:  smpeg-devel
45 Provides:       perl(SDL::OpenGL)
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
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.
53
54 %description -l pl
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.
59
60 %prep
61 %setup -q -n SDL_perl-%{version}
62 %patch0 -p1
63
64 %build
65 %{__perl} Makefile.PL \
66         INSTALLDIRS=vendor 
67 %{__make} OPTIMIZE="%{rpmcflags} -I/usr/X11R6/include"
68
69 %{!?_without_tests:%{__make} test}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc BUGS CHANGELOG TODO README
83 %{_mandir}/man3/*
84 %{perl_vendorarch}/SDL*
85 %dir %{perl_vendorarch}/auto/SDL_perl
86 %{perl_vendorarch}/auto/SDL_perl/SDL_perl.bs
87 %{perl_vendorarch}/auto/SDL/autosplit.ix
88 %attr(755,root,root) %{perl_vendorarch}/auto/SDL_perl/SDL_perl.so
This page took 0.0312 seconds and 4 git commands to generate.