source: projects/specs/trunk/S/SDL_perl/SDL_perl-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name    SDL_perl
2%define version 2.1.2
3%define release 2%{?_dist_release}
4
5Summary:        SDL_perl - Simple Direct Media Layer for Perl
6Summary(ja):    SDL_perl - Perl 用 SDL(Simple DirectMedia Layer) モジュール
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10Source0:        http://search.cpan.org/CPAN/authors/id/D/DG/DGOEHRIG/SDL_Perl-%{version}.tar.gz
11Patch0:         sdl-2.1.3.build.patch
12License:        Artistic and GPL
13Group:          Development/Libraries
14URL:            http://search.cpan.org/dist/SDL_Perl/
15
16Requires:       perl
17BuildRequires:  perl, perl-Module-Build >= 0.22
18BuildRequires:  SDL-devel >= 1.2.6, smpeg-devel >= 0.4.4
19BuildRequires:  SDL_image-devel >= 1.2.2, SDL_gfx-devel >= 2.0.3
20BuildRequires:  SDL_mixer-devel >= 1.2.5, SDL_ttf-devel >= 2.0.5
21BuildRequires:  SDL_net-devel >= 1.2.4
22BuildRoot:      %{_tmppath}/%{name}-%{version}-root
23
24%description
25SDL_perl is a package of perl modules that provides both
26functional and object orient interfaces to the Simple DirectMedia
27Layer for Perl 5.
28
29%description -l ja
30SDL_perl は、Perl 5 に SDL (Simple DirectMedia Layer) 用の機能
31とオブジェクト指向のインターフェースを提供する、Perl モジュール
32のパッケージです。
33
34
35%prep
36
37%setup -q -n SDL_Perl-%{version}
38# apply patch from CPAN bug report #19155
39%patch0 -p1 -b .build
40
41%build
42CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL installdirs=vendor
43./Build
44
45%install
46%{__rm} -rf ${RPM_BUILD_ROOT}
47./Build install destdir=${RPM_BUILD_ROOT}
48
49%clean
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
52%files
53%defattr(-,root,root)
54%doc BUGS CHANGELOG COPYING MANIFEST README TODO
55%{perl_vendorarch}/SDL.pm
56%{perl_vendorarch}/SDL/*
57%{perl_vendorarch}/SDL_perl.pm
58%{perl_vendorarch}/auto/SDL/*
59%{perl_vendorarch}/auto/SDL_perl/*
60%{_mandir}/man3/SDL.3pm*
61%{_mandir}/man3/SDL::*
62
63
64%changelog
65* Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 2.1.2-2
66- spec in utf-8
67
68* Wed Sep 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5
69- applied new versioning policy, spec in utf-8
70
71* Mon Mar 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.1.2-0vl1
72- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.