]> git.pld-linux.org Git - packages/perl-SDL.git/commitdiff
- new spec
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 27 May 2002 07:22:31 +0000 (07:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-SDL.spec -> 1.1

perl-SDL.spec [new file with mode: 0644]

diff --git a/perl-SDL.spec b/perl-SDL.spec
new file mode 100644 (file)
index 0000000..219a348
--- /dev/null
@@ -0,0 +1,50 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       SDL perl module
+Summary(pl):   Modu³ perla SDL
+Name:          perl-SDL
+Version:       1.14
+Release:       1
+License:       LGPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/SDL/SDL_perl-%{version}.tar.gz
+Patch0:                %{name}-detection.patch
+BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_net-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: glut-devel
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+Provides:      perl(SDL::OpenGL)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SDL_perl is a package of perl modules that provides both functional
+and object orient interfaces to the Simple DirectMedia Layer for Perl
+5. This package does take some liberties with the SDL API, and
+attempts to adhere to the spirit of both the SDL and Perl.
+
+%prep
+%setup -q -n SDL_perl-%{version}
+%patch0 -p1
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BUGS CHANGELOG SFont-README TODO
+%{perl_sitearch}/SDL*
+%{perl_sitearch}/auto/SDL*
This page took 0.143687 seconds and 4 git commands to generate.