]> git.pld-linux.org Git - packages/perl-SDL.git/blob - perl-SDL.spec
- remove loose g
[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 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)
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 %patch1 -p1
64
65 %build
66 perl Makefile.PL
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 DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc BUGS CHANGELOG TODO README
82 %{_mandir}/man3/*
83 %{perl_sitearch}/SDL*
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
This page took 0.131177 seconds and 4 git commands to generate.