17729
|
1 |
#
|
|
2 |
# spec file for package SUNWvala
|
|
3 |
#
|
|
4 |
# includes module(s): vala
|
|
5 |
#
|
|
6 |
%define owner jerrytan
|
|
7 |
|
17881
|
8 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
|
9 |
|
17729
|
10 |
%define src_name vala
|
17792
|
11 |
%define src_url http://download.gnome.org/sources/vala/0.8
|
17729
|
12 |
|
|
13 |
Name: vala
|
|
14 |
Summary: Vala programming language
|
|
15 |
License: LGPL v2
|
17909
|
16 |
Version: 0.8.1
|
17729
|
17 |
Distribution: Java Desktop System
|
17865
|
18 |
Vendor: Gnome Community
|
17729
|
19 |
Group: System/Libraries
|
|
20 |
|
|
21 |
Source: %{src_url}/%{src_name}-%{version}.tar.bz2
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
|
|
24 |
%package devel
|
|
25 |
Summary: %{summary} - development files
|
|
26 |
%description devel
|
|
27 |
This package contains the header files and documentation
|
|
28 |
needed to develop applications with vala.
|
|
29 |
|
|
30 |
%prep
|
|
31 |
%setup -q -n %{src_name}-%version
|
|
32 |
|
|
33 |
%build
|
|
34 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
35 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
36 |
CPUS=1
|
|
37 |
fi
|
|
38 |
|
|
39 |
export CFLAGS="%optflags"
|
|
40 |
export LDFLAGS="%_ldflags"
|
|
41 |
|
|
42 |
aclocal
|
|
43 |
libtoolize --copy --force
|
|
44 |
automake -a -f
|
|
45 |
autoconf -f
|
|
46 |
./configure --prefix=%{_prefix} \
|
|
47 |
--bindir=%{_bindir} \
|
|
48 |
--libdir=%{_libdir} \
|
|
49 |
--sysconfdir=%{_sysconfdir} \
|
|
50 |
--includedir=%{_includedir} \
|
|
51 |
--mandir=%{_mandir} \
|
|
52 |
--infodir=%{_infodir} \
|
|
53 |
--disable-static \
|
|
54 |
--enable-shared
|
|
55 |
|
|
56 |
make -j$CPUS
|
|
57 |
|
|
58 |
%install
|
|
59 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
60 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
61 |
|
|
62 |
%clean
|
|
63 |
rm -rf $RPM_BUILD_ROOT
|
|
64 |
|
|
65 |
%files
|
|
66 |
%defattr (-, root, bin)
|
|
67 |
%{_bindir}
|
|
68 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
69 |
%{_libdir}/lib*.so*
|
|
70 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
71 |
%{_datadir}/vala
|
|
72 |
%{_datadir}/devhelp
|
|
73 |
%{_mandir}
|
|
74 |
|
|
75 |
%files devel
|
|
76 |
%defattr (-, root, bin)
|
|
77 |
%{_includedir}
|
|
78 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
79 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
80 |
%{_libdir}/pkgconfig/*
|
|
81 |
|
|
82 |
%changelog
|
17909
|
83 |
* Thu Apr 22 2010 - [email protected]
|
|
84 |
- Bump to 0.8.1.
|
17792
|
85 |
* Sat Mar 3 2010 - [email protected]
|
|
86 |
- Bump to 0.8.0.
|
17729
|
87 |
* Tus Oct 20 2009 - [email protected]
|
|
88 |
- import to solaris
|
|
89 |
* Fri Jul 27 2007 - [email protected]
|
|
90 |
- Initial spec
|