]> git.pld-linux.org Git - packages/perl-SDL.git/blob - perl-SDL.spec
- version 1.19.1
[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.19.1
25 Release:        1
26 License:        LGPL
27 Group:          Development/Languages/Perl
28 Source0:        http://sdlperl.org/downloads/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 >= 3.0.3-16
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 %{__make} OPTIMIZE="%{rpmcflags}"
66
67 %{!?_without_tests:%{__make} test}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc BUGS CHANGELOG TODO README
80 %{_mandir}/man3/*
81 %{perl_sitearch}/SDL*
82 %dir %{perl_sitearch}/auto/SDL_perl
83 %{perl_sitearch}/auto/SDL_perl/SDL_perl.bs
84 %attr(755,root,root) %{perl_sitearch}/auto/SDL_perl/SDL_perl.so
This page took 0.027769 seconds and 4 git commands to generate.