Cross Reference: libsdl.spec
xref
: /
solaris-desktop
/
base-specs
/
libsdl.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
10430
N/A
#
10430
N/A
# spec file for package libsdl
10430
N/A
#
12220
N/A
# Copyright 2008 Sun Microsystems, Inc.
10430
N/A
# This file and all modifications and additions to the pristine
10430
N/A
# package are under the same license as the package itself.
10430
N/A
#
17185
N/A
%
define
owner
davelam
10430
N/A
#
13576
N/A
# bugdb:
bugzilla.libsdl.org
12261
N/A
#
17182
N/A
17182
N/A
%
define
OSR
6884
:
1.2
.
12
17182
N/A
10430
N/A
Name
:
libsdl
19064
N/A
License
:
LGPL
v2
.
1
10430
N/A
Group
:
System
/
Libraries
19064
N/A
Version
:
1.2
.
14
10430
N/A
Release
:
1
10430
N/A
Distribution
:
Java
Desktop
System
18616
N/A
Vendor
:
Other
10430
N/A
Summary
:
libsdl
-
Simple
DirectMedia
Layer
10430
N/A
Source
:
http
://
www.libsdl.org
/
release
/
SDL
-%{
version
}
.tar.gz
10430
N/A
URL
:
http
://
www.libsdl.org
/
10430
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10430
N/A
Docdir
: %{
_defaultdocdir
}/%{
name
}
10430
N/A
Autoreqprov
:
on
10430
N/A
10430
N/A
%
description
10430
N/A
Simple
DirectMedia
Layer
is
a
cross
-
platform
multimedia
library
designed
to
10430
N/A
provide
low
level
access
to
audio
,
keyboard
,
mouse
,
joystick
,
3
D
hardware
via
10430
N/A
OpenGL
,
and
2
D
video
framebuffer
.
It
is
used
by
MPEG
playback
software
,
10430
N/A
emulators
,
and
many
popular
games
.
10430
N/A
10430
N/A
%
package
devel
10430
N/A
Summary
:
Headers
for
developing
programs
that
will
use
libsdl
10430
N/A
Group
:
Development
/
Libraries
10430
N/A
Requires
: %{
name
}
10430
N/A
10430
N/A
%
description
devel
10430
N/A
This
package
contains
the
headers
that
programmers
will
need
to
develop
10430
N/A
applications
which
will
use
libsdl
.
10430
N/A
10430
N/A
%
prep
10430
N/A
%
setup
-q -n
SDL
-%{
version
}
10430
N/A
10430
N/A
%
build
10430
N/A
%
ifos
linux
10430
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
10430
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10430
N/A
fi
10430
N/A
%
else
10430
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10430
N/A
%
endif
10430
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10430
N/A
CPUS
=
1
10430
N/A
fi
10430
N/A
19073
N/A
export
CFLAGS
=
"%optflags"
10430
N/A
./
configure
\
10430
N/A
--
prefix
=%{
_prefix
} \
10430
N/A
--
libdir
=%{
_libdir
} \
10430
N/A
--
bindir
=%{
_bindir
} \
10430
N/A
--
sysconfdir
=%{
_sysconfdir
} \
10430
N/A
--
with
-
esd
-
prefix
=%{
_prefix
} \
10430
N/A
--
mandir
=%{
_mandir
}
10430
N/A
make
-j
$CPUS
10430
N/A
10430
N/A
%
install
10430
N/A
make
install
DESTDIR
=
$RPM_BUILD_ROOT
10430
N/A
10430
N/A
# delete libtool .la files and static libs
10430
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/*.a
10430
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/*
la
10430
N/A
10430
N/A
%
clean
10430
N/A
rm
-
rf
$RPM_BUILD_ROOT
10430
N/A
10430
N/A
%
post
-p /
sbin
/
ldconfig
10430
N/A
%
postun
-p /
sbin
/
ldconfig
10430
N/A
10430
N/A
%
files
10430
N/A
%
defattr
(-,
root
,
root
)
10430
N/A
%{
_libdir
}/*.
so
.*
10430
N/A
10430
N/A
%
files
devel
10430
N/A
%
defattr
(-,
root
,
root
)
10430
N/A
%{
_libdir
}/*.
so
10430
N/A
10430
N/A
%
changelog
19064
N/A
*
Wed
Oct
27
2010
-
brian.cameron
@
oracle.com
19064
N/A
-
Bump
to
1.2
.
14
.
12610
N/A
*
Fri
Mar
14
2008
-
damien.carbery
@
sun.com
12610
N/A
-
Add
-
I
/
usr
/
X11
/
include
to
CFLAGS
after
update
of
SUNWwinc
.
12224
N/A
*
Thu
Jan
17
2008
-
patrick.ale
@
gmail.com
12224
N/A
-
Add
patch
to
restore
path
after
sdl
-
config
check
12220
N/A
*
Thu
Jan
17
2008
-
damien.carbery
@
sun.com
12220
N/A
-
Bump
to
1.2
.
13
.
11390
N/A
*
Fri
Oct
12
2007
-
dave.lin
@
sun.com
11390
N/A
-
Bump
to
1.2
.
12
to
fix
bug
CR6598379
10430
N/A
*
Wed
Apr
4
2007
-
laca
@
sun.com
10430
N/A
-
Create