File: SDL_perl.spec

package info (click to toggle)
sdlperl 1.20.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,804 kB
  • ctags: 2,169
  • sloc: perl: 7,397; ansic: 232; makefile: 72; sh: 1
file content (54 lines) | stat: -rw-r--r-- 1,502 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Summary: SDL_perl Multimedia Perl Extension
Name: SDL_perl
Version: %%version%%
Release: 1
License: LGPL GNU Library General Public License
Vendor: sdperl.org
Packager: sdlperl.org
Group: System Environment/Base
Source: http://sdlperl.org/SDL_perl-%{version}.tar.gz
URL: http://sdlperl.org/
BuildRoot: /tmp/rpm/SDL_perl/%{name}-%{version}-buildroot

%description
SDL_perl provides multimedia programming support for perl through
use of the Simple DirectMedia Layer http://www.libsdl.org
It provides both a high level, object orient develpment framework,
and a low level C style API.  SDL_perl supports a variety of
additional SDL libraries, such as SDL_image, SDL_mixer, SDL_ttf,
and SDL_net.

%prep
%setup -q
%build
perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr/local
make 

%install
rm -rf $RPM_BUILD_ROOT
make install 
mkdir -p $RPM_BUILD_ROOT/usr/local/lib/perl5/site_perl/
mv $RPM_BUILD_ROOT/usr/local/lib/site_perl/5.6.1/i686-linux/* $RPM_BUILD_ROOT/usr/local/lib/perl5/site_perl/
rm -rf $RPM_BUILD_ROOT/lib/site_perl
rm -rf $RPM_BUILD_ROOT/lib/5.6.1

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir /usr/local/man/man3/
/usr/local/lib/perl5/site_perl/SDL
/usr/local/lib/perl5/site_perl/auto/SDL
/usr/local/lib/perl5/site_perl/auto/SDL_perl
/usr/local/lib/perl5/site_perl/SDL.pm
/usr/local/lib/perl5/site_perl/SDL_perl.pm
/usr/local/man/*/*

%changelog
* Thu Apr 5 2002 David J. Goehrig <dave@sdlperl.org>

* Thu Apr 4 2002 David J. Goehrig <dave@sdlperl.org>
- wrote spec file