]> git.pld-linux.org Git - packages/perl-SDL.git/blob - perl-SDL.spec
- pl description
[packages/perl-SDL.git] / perl-SDL.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        SDL perl module
3 Summary(pl):    Modu³ perla SDL
4 Name:           perl-SDL
5 Version:        1.18
6 Release:        1
7 License:        LGPL
8 Group:          Development/Languages/Perl
9 Source0:        http://sdlperl.org/downloads/SDL_perl-%{version}.tar.gz
10 Patch0:         %{name}-detection.patch
11 URL:            http://sdlperl.org/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_gfx-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  SDL_net-devel
17 BuildRequires:  SDL_ttf-devel
18 BuildRequires:  glut-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  perl >= 5.6
22 BuildRequires:  rpm-perlprov >= 3.0.3-16
23 BuildRequires:  smpeg-devel
24 Provides:       perl(SDL::OpenGL)
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 SDL_perl is a package of perl modules that provides both functional
29 and object orient interfaces to the Simple DirectMedia Layer for Perl
30 5. This package does take some liberties with the SDL API, and
31 attempts to adhere to the spirit of both the SDL and Perl.
32
33 %description -l pl
34 SDL_perl to pakiet z modu³ami perla udostêpniaj±cy z poziomu Perla
35 interfejsy zarówno funkcjonalne, jak i zorientowane obiektowo do
36 biblioteki SDL (Simple DirectMedia Layer). Pakiet przejmuje trochê
37 swobody z API SDL i próbuje siê dopasowaæ do idei SDL oraz Perla.
38
39 %prep
40 %setup -q -n SDL_perl-%{version}
41 %patch0 -p1
42
43 %build
44 perl Makefile.PL
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc BUGS CHANGELOG SFont-README TODO
58 %{perl_sitearch}/SDL*
59 %{perl_sitearch}/auto/SDL*
This page took 0.034515 seconds and 4 git commands to generate.