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

Revision 2415, 2.2 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%define name    SDL_perl
2%define version 2.2.6
3%define release 1%{?_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-v%{version}.tar.gz
11License:        Artistic and GPL
12Group:          Development/Libraries
13URL:            http://search.cpan.org/dist/SDL_Perl/
14
15Requires:       perl
16BuildRequires:  perl, perl-Module-Build >= 0.22
17BuildRequires:  SDL-devel >= 1.2.6, smpeg-devel >= 0.4.4
18BuildRequires:  SDL_image-devel >= 1.2.2, SDL_gfx-devel >= 2.0.3
19BuildRequires:  SDL_mixer-devel >= 1.2.5, SDL_ttf-devel >= 2.0.5
20BuildRequires:  SDL_net-devel >= 1.2.4
21BuildRequires:  perl-YAML
22BuildRequires:  libGLU-devel
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25%description
26SDL_perl is a package of perl modules that provides both
27functional and object orient interfaces to the Simple DirectMedia
28Layer for Perl 5.
29
30%description -l ja
31SDL_perl は、Perl 5 に SDL (Simple DirectMedia Layer) 用の機能
32とオブジェクト指向のインターフェースを提供する、Perl モジュール
33のパッケージです。
34
35
36%prep
37
38%setup -q -n SDL_Perl-v%{version}
39# apply patch from CPAN bug report #19155
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
49find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
50
51%clean
52%{__rm} -rf ${RPM_BUILD_ROOT}
53
54%files
55%defattr(-,root,root)
56%doc BUGS CHANGELOG COPYING MANIFEST README TODO
57%{perl_vendorarch}/SDL.pm
58%{perl_vendorarch}/SDL/*
59%{perl_vendorarch}/SDL_perl.pm
60%{perl_vendorarch}/auto/SDL/*
61%{perl_vendorarch}/auto/SDL_perl/*
62%{_mandir}/man3/SDL.3pm*
63%{_mandir}/man3/SDL::*
64
65
66%changelog
67* Thu Dec 30 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-1
68- new upstream release
69- remove Patch0
70- add BuildRequires: perl-YAML, libGLU-devel
71
72* Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 2.1.2-2
73- spec in utf-8
74
75* Wed Sep 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5
76- applied new versioning policy, spec in utf-8
77
78* Mon Mar 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.1.2-0vl1
79- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.