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