]> git.pld-linux.org Git - packages/perl-SDL.git/blob - perl-SDL.spec
- should be ready for perl-5.8.0; release++
[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:        2
26 License:        LGPL
27 Group:          Development/Languages/Perl
28 Source0:        ftp://sdlperl.org/SDL_perl/SDL_perl-%{version}.tar.gz
29 Patch0:         %{name}-detection.patch
30 URL:            http://sdlperl.org/
31 BuildRequires:  OpenGL-devel
32 BuildRequires:  SDL-devel
33 BuildRequires:  SDL_gfx-devel
34 BuildRequires:  SDL_mixer-devel
35 BuildRequires:  SDL_net-devel
36 BuildRequires:  SDL_ttf-devel
37 BuildRequires:  SDL_image-devel
38 BuildRequires:  glut-devel
39 BuildRequires:  libjpeg-devel
40 BuildRequires:  libpng-devel
41 BuildRequires:  perl-devel >= 5.6
42 BuildRequires:  rpm-perlprov >= 4.1-13
43 BuildRequires:  smpeg-devel
44 Provides:       perl(SDL::OpenGL)
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 SDL_perl is a package of perl modules that provides both functional
49 and object orient interfaces to the Simple DirectMedia Layer for Perl
50 5. This package does take some liberties with the SDL API, and
51 attempts to adhere to the spirit of both the SDL and Perl.
52
53 %description -l pl
54 SDL_perl to pakiet z modu³ami perla udostêpniaj±cy z poziomu Perla
55 interfejsy zarówno funkcjonalne, jak i zorientowane obiektowo do
56 biblioteki SDL (Simple DirectMedia Layer). Pakiet przejmuje trochê
57 swobody z API SDL i próbuje siê dopasowaæ do idei SDL oraz Perla.
58
59 %prep
60 %setup -q -n SDL_perl-%{version}
61 %patch0 -p1
62
63 %build
64 %{__perl} Makefile.PL \
65         INSTALLDIRS=vendor 
66 %{__make} OPTIMIZE="%{rpmcflags} -I/usr/X11R6/include"
67
68 %{!?_without_tests:%{__make} test}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc BUGS CHANGELOG TODO README
81 %{_mandir}/man3/*
82 %{perl_vendorarch}/SDL*
83 %dir %{perl_vendorarch}/auto/SDL_perl
84 %{perl_vendorarch}/auto/SDL_perl/SDL_perl.bs
85 %{perl_vendorarch}/auto/SDL/autosplit.ix
86 %attr(755,root,root) %{perl_vendorarch}/auto/SDL_perl/SDL_perl.so
This page took 0.034369 seconds and 4 git commands to generate.