Cross Reference: vala.spec
xref
: /
solaris-desktop
/
base-specs
/
vala.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
vala.spec revision 18660
18099
N/A
#
18099
N/A
# spec file for package SUNWvala
18099
N/A
#
18099
N/A
# includes module(s): vala
18099
N/A
#
18099
N/A
%
define
owner
jerrytan
18099
N/A
18099
N/A
%
define
OSR
LFI
#105446 (gnome Exec. summary):n/a
18099
N/A
18099
N/A
%
define
src_name
vala
18099
N/A
%
define
src_url
http
://
download.gnome.org
/
sources
/
vala
/
0.8
18099
N/A
Name
:
vala
Summary
:
Vala
programming
language
License
:
LGPL
v2
Version
:
0.8
.
1
Distribution
:
Java
Desktop
System
Vendor
:
Gnome
Community
Group
:
System
/
Libraries
Source
: %{
src_url
}/%{
src_name
}-%{
version
}
.tar.bz
2
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
%
package
devel
Summary
: %{
summary
} -
development
files
%
description
devel
This
package
contains
the
header
files
and
documentation
needed
to
develop
applications
with
vala
.
%
prep
%
setup
-q -n %{
src_name
}-%
version
%
build
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
CPUS
=
1
fi
export
CFLAGS
=
"%optflags"
export
LDFLAGS
=
"%_ldflags"
aclocal
libtoolize
--
copy
--
force
automake
-a -f
autoconf
-f
./
configure
--
prefix
=%{
_prefix
} \
--
bindir
=%{
_bindir
} \
--
libdir
=%{
_libdir
} \
--
sysconfdir
=%{
_sysconfdir
} \
--
includedir
=%{
_includedir
} \
--
mandir
=%{
_mandir
} \
--
infodir
=%{
_infodir
} \
--
disable
-
static
\
--
enable
-
shared
make
-j
$CPUS
%
install
make
install
DESTDIR
=
$RPM_BUILD_ROOT
find
$RPM_BUILD_ROOT
-
type
f -
name
"*.la"
-
exec
rm
-f {}
';'
%
clean
rm
-
rf
$RPM_BUILD_ROOT
%
files
%
defattr
(-,
root
,
bin
)
%{
_bindir
}
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_libdir
}
%{
_libdir
}/
lib
*.
so
*
%
dir
%
attr
(
0755
,
root
,
sys
)
%{
_datadir
}
%{
_datadir
}/
vala
%{
_datadir
}/
devhelp
%{
_mandir
}
%
files
devel
%
defattr
(-,
root
,
bin
)
%{
_includedir
}
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_libdir
}
%
dir
%
attr
(
0755
,
root
,
other
)
%{
_libdir
}/
pkgconfig
%{
_libdir
}/
pkgconfig
/*
%
changelog
*
Thu
Apr
22
2010
-
christian.kelly
@
oracle.com
-
Bump
to
0.8
.
1
.
*
Sat
Mar
3
2010
-
christian.kelly
@
sun.com
-
Bump
to
0.8
.
0
.
*
Tus
Oct
20
2009
-
jerry.tan
@
sun.com
-
import
to
solaris
*
Fri
Jul
27
2007
-
dougs
@
truemail.co.th
-
Initial
spec