source: projects/specs/branches/6/S/SDL_perl/SDL_perl-vl.spec @ 4168

Revision 4168, 2.2 KB checked in by kazutaka, 13 years ago (diff)

Vine Linux 6 向けに更新

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